1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add mic to header

This commit is contained in:
Luke Pulverenti 2015-06-02 01:46:06 -04:00
parent 962908d145
commit 99f5167804
36 changed files with 715 additions and 106 deletions

View file

@ -1480,6 +1480,8 @@
html += LibraryBrowser.getGroupCountIndicator(item);
}
html += LibraryBrowser.getSyncIndicator(item);
if (mediaSourceCount > 1) {
html += '<div class="mediaSourceIndicator">' + mediaSourceCount + '</div>';
}
@ -1848,6 +1850,23 @@
return '';
},
getSyncIndicator: function (item) {
if (item.SyncStatus) {
if (item.SyncStatus == 'Queued' || item.SyncStatus == 'Converting' || item.SyncStatus == 'ReadyToTransfer' || item.SyncStatus == 'Transferring') {
return '<div class="syncIndicator syncWorkingIndicator"><i class="fa fa-refresh"></i></div>';
}
if (item.SyncStatus == 'Synced') {
return '<div class="syncIndicator"><i class="fa fa-refresh"></i></div>';
}
}
return '';
},
getAveragePrimaryImageAspectRatio: function (items) {
var values = [];