diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-09 14:55:06 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-09 14:55:06 +0200 |
commit | 63347a0ff966c7863e5b7431effa1cb0668df893 (patch) | |
tree | 8f89d9b4a73f7157103574c05832eff21e338272 /client/src/app/shared/shared.module.ts | |
parent | b34a444e291c8ec90b4c2c965f7d0d6904d1faa7 (diff) | |
download | PeerTube-63347a0ff966c7863e5b7431effa1cb0668df893.tar.gz PeerTube-63347a0ff966c7863e5b7431effa1cb0668df893.tar.zst PeerTube-63347a0ff966c7863e5b7431effa1cb0668df893.zip |
Migrate to bootstrap 4 and ng-bootstrap
Diffstat (limited to 'client/src/app/shared/shared.module.ts')
-rw-r--r-- | client/src/app/shared/shared.module.ts | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index 94de3af9f..ea7f2c887 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts | |||
@@ -8,11 +8,6 @@ import { HelpComponent } from '@app/shared/misc/help.component' | |||
8 | import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive' | 8 | import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive' |
9 | import { MarkdownService } from '@app/videos/shared' | 9 | import { MarkdownService } from '@app/videos/shared' |
10 | 10 | ||
11 | import { BsDropdownModule } from 'ngx-bootstrap/dropdown' | ||
12 | import { ModalModule } from 'ngx-bootstrap/modal' | ||
13 | import { PopoverModule } from 'ngx-bootstrap/popover' | ||
14 | import { TabsModule } from 'ngx-bootstrap/tabs' | ||
15 | import { TooltipModule } from 'ngx-bootstrap/tooltip' | ||
16 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' | 11 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' |
17 | import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' | 12 | import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' |
18 | 13 | ||
@@ -53,6 +48,7 @@ import { VideoCaptionService } from '@app/shared/video-caption' | |||
53 | import { PeertubeCheckboxComponent } from '@app/shared/forms/peertube-checkbox.component' | 48 | import { PeertubeCheckboxComponent } from '@app/shared/forms/peertube-checkbox.component' |
54 | import { VideoImportService } from '@app/shared/video-import/video-import.service' | 49 | import { VideoImportService } from '@app/shared/video-import/video-import.service' |
55 | import { ActionDropdownComponent } from '@app/shared/buttons/action-dropdown.component' | 50 | import { ActionDropdownComponent } from '@app/shared/buttons/action-dropdown.component' |
51 | import { NgbDropdownModule, NgbModalModule, NgbPopoverModule, NgbTabsetModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap' | ||
56 | 52 | ||
57 | @NgModule({ | 53 | @NgModule({ |
58 | imports: [ | 54 | imports: [ |
@@ -62,11 +58,11 @@ import { ActionDropdownComponent } from '@app/shared/buttons/action-dropdown.com | |||
62 | RouterModule, | 58 | RouterModule, |
63 | HttpClientModule, | 59 | HttpClientModule, |
64 | 60 | ||
65 | BsDropdownModule.forRoot(), | 61 | NgbDropdownModule.forRoot(), |
66 | ModalModule.forRoot(), | 62 | NgbModalModule.forRoot(), |
67 | PopoverModule.forRoot(), | 63 | NgbPopoverModule.forRoot(), |
68 | TabsModule.forRoot(), | 64 | NgbTabsetModule.forRoot(), |
69 | TooltipModule.forRoot(), | 65 | NgbTooltipModule.forRoot(), |
70 | 66 | ||
71 | PrimeSharedModule, | 67 | PrimeSharedModule, |
72 | NgPipesModule | 68 | NgPipesModule |
@@ -97,11 +93,12 @@ import { ActionDropdownComponent } from '@app/shared/buttons/action-dropdown.com | |||
97 | RouterModule, | 93 | RouterModule, |
98 | HttpClientModule, | 94 | HttpClientModule, |
99 | 95 | ||
100 | BsDropdownModule, | 96 | NgbDropdownModule, |
101 | ModalModule, | 97 | NgbModalModule, |
102 | PopoverModule, | 98 | NgbPopoverModule, |
103 | TabsModule, | 99 | NgbTabsetModule, |
104 | TooltipModule, | 100 | NgbTooltipModule, |
101 | |||
105 | PrimeSharedModule, | 102 | PrimeSharedModule, |
106 | BytesPipe, | 103 | BytesPipe, |
107 | KeysPipe, | 104 | KeysPipe, |