diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-05 08:48:44 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-05 08:48:44 +0200 |
commit | e56b20f5872bc640b59501817bc41fb0db09c253 (patch) | |
tree | 3f1ec7e29b96d72f022ed3f0e9a810f6c27edaae /client/src/app/videos/video-watch | |
parent | 1cdb5c0f582502eac4d851cecc015e81cf16316b (diff) | |
download | PeerTube-e56b20f5872bc640b59501817bc41fb0db09c253.tar.gz PeerTube-e56b20f5872bc640b59501817bc41fb0db09c253.tar.zst PeerTube-e56b20f5872bc640b59501817bc41fb0db09c253.zip |
Add loader indication when loading videos list
Diffstat (limited to 'client/src/app/videos/video-watch')
-rw-r--r-- | client/src/app/videos/video-watch/video-watch.component.html | 3 | ||||
-rw-r--r-- | client/src/app/videos/video-watch/video-watch.component.scss | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/client/src/app/videos/video-watch/video-watch.component.html b/client/src/app/videos/video-watch/video-watch.component.html index 6c36b27e2..353cb2241 100644 --- a/client/src/app/videos/video-watch/video-watch.component.html +++ b/client/src/app/videos/video-watch/video-watch.component.html | |||
@@ -1,6 +1,5 @@ | |||
1 | <my-loader [loading]="loading"></my-loader> | ||
2 | |||
3 | <div class="embed-responsive embed-responsive-19by9"> | 1 | <div class="embed-responsive embed-responsive-19by9"> |
2 | <my-loader [loading]="loading"></my-loader> | ||
4 | </div> | 3 | </div> |
5 | 4 | ||
6 | <div id="torrent-info"> | 5 | <div id="torrent-info"> |
diff --git a/client/src/app/videos/video-watch/video-watch.component.scss b/client/src/app/videos/video-watch/video-watch.component.scss index 1228d42f4..474de74d9 100644 --- a/client/src/app/videos/video-watch/video-watch.component.scss +++ b/client/src/app/videos/video-watch/video-watch.component.scss | |||
@@ -1,3 +1,10 @@ | |||
1 | my-loader { | ||
2 | display: block; | ||
3 | padding-top: 200px; | ||
4 | width: 100%; | ||
5 | text-align: center; | ||
6 | } | ||
7 | |||
1 | .embed-responsive { | 8 | .embed-responsive { |
2 | height: 500px; | 9 | height: 500px; |
3 | } | 10 | } |