diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-12 14:57:46 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-12 14:57:46 +0100 |
commit | c893d4514e6ecbf282c7985fe5f82b8acd8a1137 (patch) | |
tree | c7e9b9d53de5a8e8826e26785ae6019131036948 /client/src/app | |
parent | 77d07d690968a9631fc0c8bafbaebd27a5ebaab6 (diff) | |
download | PeerTube-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.html | 1 | ||||
-rw-r--r-- | client/src/app/shared/shared.module.ts | 5 |
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' | |||
3 | import { NgModule } from '@angular/core' | 3 | import { NgModule } from '@angular/core' |
4 | import { FormsModule, ReactiveFormsModule } from '@angular/forms' | 4 | import { FormsModule, ReactiveFormsModule } from '@angular/forms' |
5 | import { RouterModule } from '@angular/router' | 5 | import { RouterModule } from '@angular/router' |
6 | import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client' | ||
6 | 7 | ||
7 | import { BsDropdownModule } from 'ngx-bootstrap/dropdown' | 8 | import { BsDropdownModule } from 'ngx-bootstrap/dropdown' |
8 | import { ModalModule } from 'ngx-bootstrap/modal' | 9 | import { 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, |