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

update icons

This commit is contained in:
Luke Pulverenti 2015-05-29 21:07:54 -04:00
parent 69a57de928
commit e103daf46c
28 changed files with 849 additions and 40 deletions

View file

@ -147,7 +147,7 @@
var html = '';
var cardLayout = AppInfo.hasLowImageBandwidth;
var cardLayout = false;
if (items.length) {
html += '<div>';

View file

@ -856,7 +856,7 @@
html += '</a>';
html += '<button type="button" data-role="none" class="listviewMenuButton imageButton listViewMoreButton" data-icon="none">';
html += '<i class="fa fa-ellipsis-v"></i>';
html += '<i class="material-icons">more_vert</i>';
html += '</button>';
html += '</li>';
@ -1536,7 +1536,7 @@
if (options.cardLayout) {
html += '<div class="cardText" style="text-align:right; float:right;">';
html += '<button class="listviewMenuButton imageButton btnCardOptions" type="button" data-role="none" style="margin: 4px 0 0;"><i class="fa fa-ellipsis-v"></i></button>';
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 += "</div>";
}
@ -2223,7 +2223,7 @@
btnCssClass += " imageButton";
return '<button data-itemid="' + itemId + '" class="' + btnCssClass + '" type="button" onclick="LibraryBrowser.' + method + '(this);return false;" title="' + tooltip + '"><div class="fa ' + icon + '"></div></button>';
return '<button data-itemid="' + itemId + '" class="' + btnCssClass + '" type="button" onclick="LibraryBrowser.' + method + '(this);return false;" title="' + tooltip + '"><i class="fa ' + icon + '"></i></button>';
},

View file

@ -20,9 +20,9 @@
html += '<div class="viewMenuSecondary">';
html += '<button id="btnCast" class="btnCast btnDefaultCast headerButton headerButtonRight" type="button" data-role="none" style="display:none;"><div class="headerSelectedPlayer"></div><div class="btnCastImage"></div></button>';
html += '<button id="btnCast" class="btnCast btnDefaultCast headerButton headerButtonRight" type="button" data-role="none" style="display:none;"><div class="headerSelectedPlayer"></div><i class="material-icons btnCastImageDefault">cast</i><i class="material-icons btnCastImageActive">cast_connected</i></button>';
html += '<button onclick="Search.showSearchPanel();" type="button" data-role="none" class="headerButton headerButtonRight headerSearchButton" style="display:none;"><div class="fa fa-search"></div></button>';
html += '<button onclick="Search.showSearchPanel();" type="button" data-role="none" class="headerButton headerButtonRight headerSearchButton" style="display:none;"><i class="material-icons">search</i></button>';
html += '<div class="viewMenuSearch hide">';
html += '<form class="viewMenuSearchForm">';
html += '<input type="text" data-role="none" data-type="search" class="headerSearchInput" autocomplete="off" spellcheck="off" />';
@ -31,7 +31,7 @@
html += '</form>';
html += '</div>';
html += '<a href="dashboard.html" class="headerButton headerButtonRight dashboardEntryHeaderButton" style="display:none;"><div class="fa fa-cog"></div></a>';
html += '<a href="dashboard.html" class="headerButton headerButtonRight dashboardEntryHeaderButton" style="display:none;"><i class="material-icons">settings</i></a>';
html += '</div>';

View file

@ -823,7 +823,7 @@
$(document).on('headercreated', function () {
$('.btnCast').on('click', function () {
$('.btnCast').off('.mediacontroller').on('click.mediacontroller', function () {
showPlayerSelection($.mobile.activePage);
});

View file

@ -226,9 +226,9 @@
$(document).on('headercreated', function (e) {
if (window.ApiClient) {
$('<button class="headerButton headerButtonRight btnNotifications" data-role="none" type="button" title="Notifications"><div class="btnNotificationsInner">0</div></button>').insertAfter($('.headerSearchButton')).on('click', Notifications.showNotificationsFlyout);
//$('<button class="headerButton headerButtonRight btnNotifications" data-role="none" type="button" title="Notifications"><div class="btnNotificationsInner">0</div></button>').insertAfter($('.headerSearchButton')).on('click', Notifications.showNotificationsFlyout);
Notifications.updateNotificationCount();
//Notifications.updateNotificationCount();
}
});

View file

@ -83,7 +83,7 @@
if (server.showOptions !== false) {
html += '<div class="cardText" style="text-align:right; float:right;">';
html += '<button class="listviewMenuButton imageButton btnCardOptions btnServerMenu" type="button" data-role="none" style="margin: 4px 0 0;"><i class="fa fa-ellipsis-v"></i></button>';
html += '<button class="listviewMenuButton imageButton btnCardOptions btnServerMenu" type="button" data-role="none" style="margin: 4px 0 0;"><i class="material-icons">more_vert</i></button>';
html += "</div>";
}
@ -306,7 +306,7 @@
html += '<div class="cardFooter outerCardFooter">';
html += '<div class="cardText" style="text-align:right; float:right;">';
html += '<button class="listviewMenuButton imageButton btnCardOptions btnInviteMenu" type="button" data-role="none" style="margin: 4px 0 0;"><i class="fa fa-ellipsis-v"></i></button>';
html += '<button class="listviewMenuButton imageButton btnCardOptions btnInviteMenu" type="button" data-role="none" style="margin: 4px 0 0;"><i class="material-icons">more_vert</i></button>';
html += "</div>";
html += '<div class="cardText">';

View file

@ -1485,11 +1485,11 @@ var AppInfo = {};
AppInfo.enableAppStorePolicy = isCordova;
var isSafari = $.browser.safari;
var isIOS = $.browser.safari || $.browser.ipad || $.browser.iphone;
var isAndroid = $.browser.android;
var isMobile = $.browser.mobile;
if (isSafari) {
if (isIOS) {
if (isMobile) {
AppInfo.hasLowImageBandwidth = true;
@ -1533,7 +1533,7 @@ var AppInfo = {};
AppInfo.enableFooterNotifications = true;
AppInfo.enableSupporterMembership = true;
if (!isAndroid && !isSafari) {
if (!isAndroid && !isIOS) {
AppInfo.enableAppLayouts = true;
}
}
@ -1541,7 +1541,7 @@ var AppInfo = {};
AppInfo.enableUserImage = true;
AppInfo.hasPhysicalVolumeButtons = isCordova || isMobile;
AppInfo.enableBackButton = (isSafari && window.navigator.standalone) || (isCordova && isSafari);
AppInfo.enableBackButton = (isIOS && window.navigator.standalone) || (isCordova && isIOS);
AppInfo.supportsFullScreen = isCordova && isAndroid;
}