mirror of https://github.com/Chocobozzz/PeerTube
Add loader indication when loading videos list
parent
1cdb5c0f58
commit
e56b20f587
|
@ -1,3 +1,3 @@
|
||||||
<div id="video-loading" class="col-md-12 text-center" *ngIf="loading">
|
<div id="video-loading" *ngIf="loading">
|
||||||
<div class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></div>
|
<div class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
div {
|
|
||||||
margin-top: 150px;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d
|
// Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d
|
||||||
.glyphicon-refresh-animate {
|
.glyphicon-refresh-animate {
|
||||||
-animation: spin .7s infinite linear;
|
-animation: spin .7s infinite linear;
|
||||||
|
|
|
@ -16,6 +16,11 @@
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my-loader {
|
||||||
|
display: inline-block;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.videos-miniatures {
|
.videos-miniatures {
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<my-loader [loading]="loading"></my-loader>
|
|
||||||
|
|
||||||
<div class="embed-responsive embed-responsive-19by9">
|
<div class="embed-responsive embed-responsive-19by9">
|
||||||
|
<my-loader [loading]="loading"></my-loader>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="torrent-info">
|
<div id="torrent-info">
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
my-loader {
|
||||||
|
display: block;
|
||||||
|
padding-top: 200px;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.embed-responsive {
|
.embed-responsive {
|
||||||
height: 500px;
|
height: 500px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue