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
ae765e2aa9
commit
f52a94d778
57 changed files with 144 additions and 126 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['jQuery', 'emby-icons'], function ($) {
|
||||
define(['jQuery', 'apphost'], function ($, appHost) {
|
||||
|
||||
function changeCollectionType(page, virtualFolder) {
|
||||
|
||||
|
@ -112,7 +112,7 @@
|
|||
menuItems.push({
|
||||
name: Globalize.translate('ButtonManageFolders'),
|
||||
id: 'edit',
|
||||
ironIcon: 'folder-open'
|
||||
ironIcon: 'folder_open'
|
||||
});
|
||||
|
||||
menuItems.push({
|
||||
|
@ -124,7 +124,7 @@
|
|||
menuItems.push({
|
||||
name: Globalize.translate('ButtonRename'),
|
||||
id: 'rename',
|
||||
ironIcon: 'mode-edit'
|
||||
ironIcon: 'mode_edit'
|
||||
});
|
||||
|
||||
require(['actionsheet'], function (actionsheet) {
|
||||
|
@ -180,7 +180,7 @@
|
|||
|
||||
virtualFolders.push({
|
||||
Name: Globalize.translate('ButtonAddMediaLibrary'),
|
||||
icon: 'add-circle',
|
||||
icon: 'add_circle',
|
||||
Locations: [],
|
||||
showType: false,
|
||||
showLocations: false,
|
||||
|
@ -313,7 +313,7 @@
|
|||
html += '<div class="cardImage editLibrary" style="cursor:pointer;background-image:url(\'' + imgUrl + '\');"></div>';
|
||||
} else if (!virtualFolder.showNameWithIcon) {
|
||||
html += '<div class="cardImage editLibrary iconCardImage" style="cursor:pointer;">';
|
||||
html += '<iron-icon icon="' + (virtualFolder.icon || getIcon(virtualFolder.CollectionType)) + '"></iron-icon>';
|
||||
html += '<i class="md-icon">' + (virtualFolder.icon || getIcon(virtualFolder.CollectionType)) + '</i>';
|
||||
|
||||
html += '</div>';
|
||||
}
|
||||
|
@ -328,7 +328,7 @@
|
|||
html += '<h1 class="cardImage iconCardImage addLibrary" style="position:absolute;top:0;left:0;right:0;bottom:0;cursor:pointer;">';
|
||||
|
||||
html += '<div>';
|
||||
html += '<iron-icon icon="' + (virtualFolder.icon || getIcon(virtualFolder.CollectionType)) + '" style="width:45%;height:45%;color:#888;"></iron-icon>';
|
||||
html += '<i class="md-icon" style="font-size:400%;color:#888;">' + (virtualFolder.icon || getIcon(virtualFolder.CollectionType)) + '</i>';
|
||||
|
||||
if (virtualFolder.showNameWithIcon) {
|
||||
html += '<div style="margin:1.5em 0;position:width:100%;font-weight:500;color:#444;">';
|
||||
|
@ -343,8 +343,10 @@
|
|||
html += '<div class="cardFooter">';
|
||||
|
||||
if (virtualFolder.showMenu !== false) {
|
||||
var moreIcon = appHost.moreIcon == 'dots-horiz' ? '' : '';
|
||||
|
||||
html += '<div class="cardText" style="text-align:right; float:right;padding-top:5px;">';
|
||||
html += '<button type="button" is="paper-icon-button-light" class="btnCardMenu"><iron-icon icon="' + AppInfo.moreIcon + '"></iron-icon></button>';
|
||||
html += '<button type="button" is="paper-icon-button-light" class="btnCardMenu autoSize"><i class="md-icon">' + moreIcon + '</i></button>';
|
||||
html += "</div>";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue