aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/shared
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-05-05 16:08:43 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-05-05 16:08:43 +0200
commit1f0215a908c3b447cef03c10d4b089c0788922bd (patch)
tree2968e02707debeb91dfad0c5234da90d1e59ec38 /client/src/app/videos/shared
parentc24ac1c18e26b6a24a4d294744908fb0c53ddf3c (diff)
downloadPeerTube-1f0215a908c3b447cef03c10d4b089c0788922bd.tar.gz
PeerTube-1f0215a908c3b447cef03c10d4b089c0788922bd.tar.zst
PeerTube-1f0215a908c3b447cef03c10d4b089c0788922bd.zip
Client: little refractoring
Diffstat (limited to 'client/src/app/videos/shared')
-rw-r--r--client/src/app/videos/shared/index.ts1
-rw-r--r--client/src/app/videos/shared/loader/index.ts1
-rw-r--r--client/src/app/videos/shared/loader/loader.component.html3
-rw-r--r--client/src/app/videos/shared/loader/loader.component.scss22
-rw-r--r--client/src/app/videos/shared/loader/loader.component.ts11
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 @@
1export * from './loader';
2export * from './sort-field.type'; 1export * from './sort-field.type';
3export * from './rate-type.type'; 2export * from './rate-type.type';
4export * from './video.model'; 3export * 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 @@
1export * 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 @@
1import { Component, Input } from '@angular/core';
2
3@Component({
4 selector: 'my-loader',
5 styleUrls: [ './loader.component.scss' ],
6 templateUrl: './loader.component.html'
7})
8
9export class LoaderComponent {
10 @Input() loading: boolean;
11}