diff options
Diffstat (limited to 'client/src/app/videos/shared')
5 files changed, 0 insertions, 38 deletions
diff --git a/client/src/app/videos/shared/index.ts b/client/src/app/videos/shared/index.ts index beaa528c0..a68491022 100644 --- a/client/src/app/videos/shared/index.ts +++ b/client/src/app/videos/shared/index.ts | |||
@@ -1,4 +1,3 @@ | |||
1 | export * from './loader'; | ||
2 | export * from './sort-field.type'; | 1 | export * from './sort-field.type'; |
3 | export * from './rate-type.type'; | 2 | export * from './rate-type.type'; |
4 | export * from './video.model'; | 3 | export * from './video.model'; |
diff --git a/client/src/app/videos/shared/loader/index.ts b/client/src/app/videos/shared/loader/index.ts deleted file mode 100644 index ab22584e4..000000000 --- a/client/src/app/videos/shared/loader/index.ts +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | export * from './loader.component'; | ||
diff --git a/client/src/app/videos/shared/loader/loader.component.html b/client/src/app/videos/shared/loader/loader.component.html deleted file mode 100644 index 38d06950e..000000000 --- a/client/src/app/videos/shared/loader/loader.component.html +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | <div id="video-loading" *ngIf="loading"> | ||
2 | <div class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></div> | ||
3 | </div> | ||
diff --git a/client/src/app/videos/shared/loader/loader.component.scss b/client/src/app/videos/shared/loader/loader.component.scss deleted file mode 100644 index 44cf1f9da..000000000 --- a/client/src/app/videos/shared/loader/loader.component.scss +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | // Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d | ||
2 | .glyphicon-refresh-animate { | ||
3 | -animation: spin .7s infinite linear; | ||
4 | -ms-animation: spin .7s infinite linear; | ||
5 | -webkit-animation: spinw .7s infinite linear; | ||
6 | -moz-animation: spinm .7s infinite linear; | ||
7 | } | ||
8 | |||
9 | @keyframes spin { | ||
10 | from { transform: scale(1) rotate(0deg);} | ||
11 | to { transform: scale(1) rotate(360deg);} | ||
12 | } | ||
13 | |||
14 | @-webkit-keyframes spinw { | ||
15 | from { -webkit-transform: rotate(0deg);} | ||
16 | to { -webkit-transform: rotate(360deg);} | ||
17 | } | ||
18 | |||
19 | @-moz-keyframes spinm { | ||
20 | from { -moz-transform: rotate(0deg);} | ||
21 | to { -moz-transform: rotate(360deg);} | ||
22 | } | ||
diff --git a/client/src/app/videos/shared/loader/loader.component.ts b/client/src/app/videos/shared/loader/loader.component.ts deleted file mode 100644 index e72d2f3f3..000000000 --- a/client/src/app/videos/shared/loader/loader.component.ts +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | import { Component, Input } from '@angular/core'; | ||
2 | |||
3 | @Component({ | ||
4 | selector: 'my-loader', | ||
5 | styleUrls: [ './loader.component.scss' ], | ||
6 | templateUrl: './loader.component.html' | ||
7 | }) | ||
8 | |||
9 | export class LoaderComponent { | ||
10 | @Input() loading: boolean; | ||
11 | } | ||