mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update icons
This commit is contained in:
parent
601e6202e3
commit
b038bc1785
77786 changed files with 32 additions and 209091 deletions
|
@ -515,17 +515,21 @@
|
|||
var href = LibraryBrowser.getHrefInternal(item, context);
|
||||
|
||||
if (context) {
|
||||
href += href.indexOf('?') == -1 ? "?context=" : "&context=";
|
||||
href += context;
|
||||
if (context != 'livetv') {
|
||||
href += href.indexOf('?') == -1 ? "?context=" : "&context=";
|
||||
href += context;
|
||||
}
|
||||
}
|
||||
|
||||
if (topParentId == null && context != 'playlists') {
|
||||
topParentId = LibraryMenu.getTopParentId();
|
||||
}
|
||||
if (context != 'livetv') {
|
||||
if (topParentId == null && context != 'playlists') {
|
||||
topParentId = LibraryMenu.getTopParentId();
|
||||
}
|
||||
|
||||
if (topParentId) {
|
||||
href += href.indexOf('?') == -1 ? "?topParentId=" : "&topParentId=";
|
||||
href += topParentId;
|
||||
if (topParentId) {
|
||||
href += href.indexOf('?') == -1 ? "?topParentId=" : "&topParentId=";
|
||||
href += topParentId;
|
||||
}
|
||||
}
|
||||
|
||||
return href;
|
||||
|
@ -936,7 +940,6 @@
|
|||
html += textlines[verticalTextLines] || LibraryBrowser.getRatingHtml(item, false);
|
||||
html += '</span>';
|
||||
//html += '<button type="button" data-role="none" class="listviewMenuButton imageButton listViewMoreButton" data-icon="none">';
|
||||
//html += '<i class="material-icons">more_vert</i>';
|
||||
//html += '</button>';
|
||||
html += '<paper-icon-button icon="more-vert" class="listviewMenuButton"></paper-icon-button>';
|
||||
html += '<span class="listViewUserDataButtons">';
|
||||
|
@ -1640,7 +1643,6 @@
|
|||
|
||||
if (options.cardLayout) {
|
||||
html += '<div class="cardButtonContainer">';
|
||||
//html += '<button class="listviewMenuButton imageButton btnCardOptions" type="button" data-role="none" style="margin: 4px 0 0;"><i class="material-icons">more_vert</i></button>';
|
||||
html += '<paper-icon-button icon="more-vert" class="listviewMenuButton btnCardOptions"></paper-icon-button>';
|
||||
html += "</div>";
|
||||
}
|
||||
|
@ -1937,7 +1939,7 @@
|
|||
|
||||
if (item.Type != 'TvChannel') {
|
||||
if (item.UserData.PlayedPercentage && item.UserData.PlayedPercentage >= 100 || (item.UserData && item.UserData.Played)) {
|
||||
return '<div class="playedIndicator"><i class="fa fa-check"></i></div>';
|
||||
return '<div class="playedIndicator"><iron-icon icon="check"></iron-icon></div>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1165,7 +1165,7 @@
|
|||
|
||||
$('<div class="playedIndicator"></div>').insertAfter($('.cardOverlayTarget', card));
|
||||
}
|
||||
$('.playedIndicator', card).html('<i class="material-icons">check</i>');
|
||||
$('.playedIndicator', card).html('<iron-icon icon="check"></iron-icon>');
|
||||
$('.cardProgress', card).remove();
|
||||
}
|
||||
else if (userData.UnplayedItemCount) {
|
||||
|
|
|
@ -116,21 +116,12 @@
|
|||
// Can't use pagebeforeshow here or the loading popup won't center correctly
|
||||
var page = this;
|
||||
|
||||
var limit = LibraryBrowser.getDefaultPageSize();
|
||||
|
||||
// If the default page size has changed, the start index will have to be reset
|
||||
if (limit != query.Limit) {
|
||||
query.Limit = limit;
|
||||
query.StartIndex = 0;
|
||||
if (NavHelper.needsRefresh(page)) {
|
||||
query.UserId = Dashboard.getCurrentUserId();
|
||||
LibraryBrowser.loadSavedQueryValues('movies', query);
|
||||
reloadItems(page);
|
||||
updateFilterControls(this);
|
||||
}
|
||||
|
||||
query.UserId = Dashboard.getCurrentUserId();
|
||||
|
||||
LibraryBrowser.loadSavedQueryValues('movies', query);
|
||||
|
||||
reloadItems(page);
|
||||
|
||||
updateFilterControls(this);
|
||||
|
||||
});
|
||||
|
||||
|
|
|
@ -483,7 +483,10 @@
|
|||
}).on('pagebeforeshowready', "#liveTvGuidePage", function () {
|
||||
|
||||
var page = this;
|
||||
reloadPage(page);
|
||||
|
||||
if (NavHelper.needsRefresh(page)) {
|
||||
reloadPage(page);
|
||||
}
|
||||
});
|
||||
|
||||
})(jQuery, document);
|
|
@ -116,8 +116,9 @@
|
|||
|
||||
var page = this;
|
||||
|
||||
reload(page);
|
||||
|
||||
if (NavHelper.needsRefresh(page)) {
|
||||
reload(page);
|
||||
}
|
||||
});
|
||||
|
||||
})(jQuery, document);
|
|
@ -129,7 +129,7 @@
|
|||
html += '<div class="' + imageClass + '" style="background-image:url(\'' + imgUrl + '\');">';
|
||||
|
||||
if (user.ConnectUserId && addConnectIndicator) {
|
||||
html += '<div class="playedIndicator" title="' + Globalize.translate('TooltipLinkedToEmbyConnect') + '"><i class="material-icons">cloud</i></div>';
|
||||
html += '<div class="playedIndicator" title="' + Globalize.translate('TooltipLinkedToEmbyConnect') + '"><iron-icon icon="cloud"></iron-icon></div>';
|
||||
}
|
||||
|
||||
html += "</div>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue