aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-12 14:57:46 +0100
committerChocobozzz <me@florianbigard.com>2017-12-12 14:57:46 +0100
commitc893d4514e6ecbf282c7985fe5f82b8acd8a1137 (patch)
treec7e9b9d53de5a8e8826e26785ae6019131036948 /client/src/app
parent77d07d690968a9631fc0c8bafbaebd27a5ebaab6 (diff)
downloadPeerTube-c893d4514e6ecbf282c7985fe5f82b8acd8a1137.tar.gz
PeerTube-c893d4514e6ecbf282c7985fe5f82b8acd8a1137.tar.zst
PeerTube-c893d4514e6ecbf282c7985fe5f82b8acd8a1137.zip
Add beautiful loading bar
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/app.component.html1
-rw-r--r--client/src/app/shared/shared.module.ts5
2 files changed, 6 insertions, 0 deletions
diff --git a/client/src/app/app.component.html b/client/src/app/app.component.html
index da4273dda..1a808b397 100644
--- a/client/src/app/app.component.html
+++ b/client/src/app/app.component.html
@@ -34,5 +34,6 @@
34 </div> 34 </div>
35</div> 35</div>
36 36
37<ngx-loading-bar [includeSpinner]="false" color="#F1680D"></ngx-loading-bar>
37<my-confirm></my-confirm> 38<my-confirm></my-confirm>
38<simple-notifications [options]="notificationOptions"></simple-notifications> 39<simple-notifications [options]="notificationOptions"></simple-notifications>
diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts
index d0e163f69..5af118c98 100644
--- a/client/src/app/shared/shared.module.ts
+++ b/client/src/app/shared/shared.module.ts
@@ -3,6 +3,7 @@ import { HttpClientModule } from '@angular/common/http'
3import { NgModule } from '@angular/core' 3import { NgModule } from '@angular/core'
4import { FormsModule, ReactiveFormsModule } from '@angular/forms' 4import { FormsModule, ReactiveFormsModule } from '@angular/forms'
5import { RouterModule } from '@angular/router' 5import { RouterModule } from '@angular/router'
6import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client'
6 7
7import { BsDropdownModule } from 'ngx-bootstrap/dropdown' 8import { BsDropdownModule } from 'ngx-bootstrap/dropdown'
8import { ModalModule } from 'ngx-bootstrap/modal' 9import { ModalModule } from 'ngx-bootstrap/modal'
@@ -33,6 +34,8 @@ import { VideoService } from './video/video.service'
33 RouterModule, 34 RouterModule,
34 HttpClientModule, 35 HttpClientModule,
35 36
37 LoadingBarHttpClientModule,
38
36 BsDropdownModule.forRoot(), 39 BsDropdownModule.forRoot(),
37 ModalModule.forRoot(), 40 ModalModule.forRoot(),
38 41
@@ -59,6 +62,8 @@ import { VideoService } from './video/video.service'
59 RouterModule, 62 RouterModule,
60 HttpClientModule, 63 HttpClientModule,
61 64
65 LoadingBarHttpClientModule,
66
62 BsDropdownModule, 67 BsDropdownModule,
63 ModalModule, 68 ModalModule,
64 DataTableModule, 69 DataTableModule,