mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update sync display
This commit is contained in:
parent
89dfdfb110
commit
4f2ce200aa
8 changed files with 354 additions and 27 deletions
|
@ -72,14 +72,5 @@
|
|||
}
|
||||
|
||||
.fullSyncIndicator {
|
||||
color: #673AB7;
|
||||
padding: 0;
|
||||
border: 4px solid #673AB7;
|
||||
background: #fff;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.fullSyncIndicatorIcon {
|
||||
margin: -3px;
|
||||
}
|
||||
background: rgba(82,181,75,1);
|
||||
}
|
|
@ -111,7 +111,7 @@ define(['css!./indicators.css', 'material-icons'], function () {
|
|||
function getSyncIndicator(item) {
|
||||
|
||||
if (item.SyncPercent == 100) {
|
||||
return '<div class="syncIndicator indicator fullSyncIndicator"><i class="md-icon indicatorIcon fullSyncIndicatorIcon">offline_pin</i></div>';
|
||||
return '<div class="syncIndicator indicator fullSyncIndicator"><i class="md-icon indicatorIcon">file_download</i></div>';
|
||||
} else if (item.SyncPercent != null) {
|
||||
return '<div class="syncIndicator indicator emptySyncIndicator"><i class="md-icon indicatorIcon">file_download</i></div>';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue