diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-button/emby-button.css b/dashboard-ui/bower_components/emby-webcomponents/emby-button/emby-button.css
index 50f0c0d6b5..cbe032f37c 100644
--- a/dashboard-ui/bower_components/emby-webcomponents/emby-button/emby-button.css
+++ b/dashboard-ui/bower_components/emby-webcomponents/emby-button/emby-button.css
@@ -52,10 +52,10 @@
}
[is="emby-button"].fab i {
- height: 4.4vh;
- width: 4.4vh;
+ height: 40px;
+ width: 40px;
vertical-align: middle;
- font-size: 4.4vh;
+ font-size: 40px;
}
[is="emby-button"].noflex {
@@ -110,6 +110,12 @@
margin-left: .5em;
}
+ [is="emby-button"]:not(.autoSize) i {
+ font-size: 24px;
+ width: 24px;
+ height: 24px;
+ }
+
[is=emby-button].autoSize {
width: auto !important;
height: auto !important;
diff --git a/dashboard-ui/components/channelmapper/channelmapper.js b/dashboard-ui/components/channelmapper/channelmapper.js
index 4b0936ecd8..37c8fc1db5 100644
--- a/dashboard-ui/components/channelmapper/channelmapper.js
+++ b/dashboard-ui/components/channelmapper/channelmapper.js
@@ -110,7 +110,7 @@ function (dialogHelper, loading, connectionManager, globalize, actionsheet) {
html += '';
- html += '';
+ html += '';
html += '';
diff --git a/dashboard-ui/components/imageeditor/imageeditor.js b/dashboard-ui/components/imageeditor/imageeditor.js
index c452615b16..6b429f87b3 100644
--- a/dashboard-ui/components/imageeditor/imageeditor.js
+++ b/dashboard-ui/components/imageeditor/imageeditor.js
@@ -94,24 +94,24 @@
if (image.ImageType == "Backdrop" || image.ImageType == "Screenshot") {
if (i > 0) {
- html += '';
+ html += '';
} else {
- html += '';
+ html += '';
}
if (i < length - 1) {
- html += '';
+ html += '';
} else {
- html += '';
+ html += '';
}
}
else {
if (imageProviders.length) {
- html += '';
+ html += '';
}
}
- html += '';
+ html += '';
html += '';
@@ -269,7 +269,7 @@
var html = '';
html += '
';
diff --git a/dashboard-ui/components/imageuploader/imageuploader.js b/dashboard-ui/components/imageuploader/imageuploader.js
index cfbab4ed06..35fb93459f 100644
--- a/dashboard-ui/components/imageuploader/imageuploader.js
+++ b/dashboard-ui/components/imageuploader/imageuploader.js
@@ -149,7 +149,7 @@
var html = '';
html += '';
diff --git a/dashboard-ui/components/remotecontrol.js b/dashboard-ui/components/remotecontrol.js
index a40e1363cf..93b4977d46 100644
--- a/dashboard-ui/components/remotecontrol.js
+++ b/dashboard-ui/components/remotecontrol.js
@@ -97,7 +97,7 @@
menuItems.unshift({
id: -1,
name: Globalize.translate('ButtonOff'),
- ironIcon: currentIndex == null ? 'check' : null
+ selected: currentIndex == null
});
require(['actionsheet'], function (actionsheet) {
diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css
index 86d2d3a139..5b9713c69f 100644
--- a/dashboard-ui/css/librarybrowser.css
+++ b/dashboard-ui/css/librarybrowser.css
@@ -324,7 +324,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
@media all and (min-width: 540px) {
.detailUserDataIcons {
- margin-left: 1em;
+ margin-left: .5em;
}
}
@@ -900,6 +900,10 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
font-weight: 500;
}
+ .playedIndicator i, .syncIndicator i {
+ font-size: 180%;
+ }
+
.mediaSourceIndicator {
display: block;
position: absolute;
diff --git a/dashboard-ui/css/librarymenu.css b/dashboard-ui/css/librarymenu.css
index 9be47f1f7a..34c497f692 100644
--- a/dashboard-ui/css/librarymenu.css
+++ b/dashboard-ui/css/librarymenu.css
@@ -471,6 +471,16 @@ body:not(.dashboardDocument) .btnNotifications {
margin-left: 1.6em;
}
+i.sidebarLinkIcon {
+ font-size: 24px;
+ height: 24px;
+ width: 24px;
+}
+
+.darkDrawerPanel i.sidebarLinkIcon {
+ margin-left: 1em;
+}
+
.darkDrawerPanel .sidebarLinkText, .darkDrawerPanel .sidebarLink {
color: #fff !important;
font-weight: normal !important;
diff --git a/dashboard-ui/css/site.css b/dashboard-ui/css/site.css
index 9a24528977..b9242bd8ce 100644
--- a/dashboard-ui/css/site.css
+++ b/dashboard-ui/css/site.css
@@ -416,7 +416,7 @@ paper-input + .fieldDescription {
.sidebarLinkIcon {
text-align: center;
vertical-align: middle;
- margin-right: 2em;
+ margin-right: 1.2em;
}
.sidebarLinkIcon + span {
diff --git a/dashboard-ui/itemdetails.html b/dashboard-ui/itemdetails.html
index a20044ffa6..85b3f66b07 100644
--- a/dashboard-ui/itemdetails.html
+++ b/dashboard-ui/itemdetails.html
@@ -3,14 +3,14 @@
-
-
+
+
@@ -27,12 +27,12 @@
@@ -45,12 +45,12 @@
@@ -146,7 +146,7 @@
${HeaderScenes}
diff --git a/dashboard-ui/scripts/itemdetailpage.js b/dashboard-ui/scripts/itemdetailpage.js
index db920bb6ea..1268c08a8e 100644
--- a/dashboard-ui/scripts/itemdetailpage.js
+++ b/dashboard-ui/scripts/itemdetailpage.js
@@ -1075,7 +1075,7 @@
html += '' + type.name + '';
html += '';
- html += '';
+ html += '';
html += '';
html += '';
diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js
index 4818ff1b80..b5f92fa1c2 100644
--- a/dashboard-ui/scripts/librarybrowser.js
+++ b/dashboard-ui/scripts/librarybrowser.js
@@ -1406,15 +1406,6 @@
html += '
';
}
- //html += LibraryBrowser.getSyncIndicator(item);
-
- //if (item.Type == 'Series' || item.Type == 'Season' || item.Type == 'BoxSet' || item.MediaType == 'Video') {
- // if (item.UserData.UnplayedItemCount) {
- // //html += '' + item.UserData.UnplayedItemCount + '';
- // } else if (item.UserData.Played && item.Type != 'TvChannel') {
- // html += '
';
- // }
- //}
html += '';
html += '';
@@ -2101,14 +2092,14 @@
} else if (item.MediaType == "Audio" || item.Type == "MusicAlbum" || item.Type == "MusicArtist") {
if (item.Name && showTitle) {
- icon = 'library-music';
+ icon = 'library_music';
}
cssClass += " defaultBackground";
} else if (item.Type == "Recording" || item.Type == "Program" || item.Type == "TvChannel") {
if (item.Name && showTitle) {
- icon = 'folder-open';
+ icon = 'folder_open';
}
cssClass += " defaultBackground";
@@ -2126,7 +2117,7 @@
cssClass += " defaultBackground";
} else {
if (item.Name && showTitle) {
- icon = 'folder-open';
+ icon = 'folder_open';
}
cssClass += " defaultBackground";
}
@@ -2211,7 +2202,7 @@
html += '';
html += '';
if (icon) {
- html += '';
+ html += '' + icon + '';
}
html += '
';
@@ -2226,7 +2217,7 @@
}
if (item.SeriesTimerId) {
- html += '';
+ html += 'fiber_smart_record';
}
html += LibraryBrowser.getSyncIndicator(item);
@@ -2289,7 +2280,7 @@
if (options.cardLayout) {
html += '';
- html += '';
+ html += '';
html += "
";
}
@@ -2586,7 +2577,7 @@
if (item.Type != 'TvChannel') {
if (item.UserData.PlayedPercentage && item.UserData.PlayedPercentage >= 100 || (item.UserData && item.UserData.Played)) {
- return '
';
+ return 'check
';
}
}
}
@@ -2607,17 +2598,17 @@
if (item.SyncStatus == 'Synced') {
- return '
';
+ return 'sync
';
}
var syncPercent = item.SyncPercent;
if (syncPercent) {
- return '
';
+ return 'sync
';
}
if (item.SyncStatus == 'Queued' || item.SyncStatus == 'Converting' || item.SyncStatus == 'ReadyToTransfer' || item.SyncStatus == 'Transferring') {
- return '
';
+ return 'sync
';
}
return '';
@@ -3030,7 +3021,7 @@
return '<' + tagName + ' title="' + tooltip + '" data-itemid="' + itemId + '" icon="' + icon + '" class="' + btnCssClass + '" onclick="LibraryBrowser.' + method + '(this);return false;">' + tagName + '>';
}
- return '';
+ return '';
},
getUserDataIconsHtml: function (item, includePlayed, style) {
diff --git a/dashboard-ui/scripts/librarylist.js b/dashboard-ui/scripts/librarylist.js
index 8c2c72b9e6..445d4dd809 100644
--- a/dashboard-ui/scripts/librarylist.js
+++ b/dashboard-ui/scripts/librarylist.js
@@ -149,16 +149,16 @@
var resumePosition = (item.UserData || {}).PlaybackPositionTicks || 0;
- html += '';
+ html += '';
buttonCount++;
}
if (commands.indexOf('trailer') != -1) {
- html += '';
+ html += '';
buttonCount++;
}
- html += '';
+ html += '';
buttonCount++;
html += '';
@@ -1097,11 +1097,11 @@
var html = '';
html += '';
- html += '';
+ html += '';
html += '';
html += '
';
- html += '';
+ html += '';
selectionCommandsPanel.innerHTML = html;
@@ -1544,7 +1544,7 @@
playedIndicator.classList.add('playedIndicator');
card.querySelector('.cardContent').appendChild(playedIndicator);
}
- playedIndicator.innerHTML = '';
+ playedIndicator.innerHTML = 'check';
}
else if (userData.UnplayedItemCount) {
diff --git a/dashboard-ui/scripts/librarymenu.js b/dashboard-ui/scripts/librarymenu.js
index fe1175b41a..f2cd3668af 100644
--- a/dashboard-ui/scripts/librarymenu.js
+++ b/dashboard-ui/scripts/librarymenu.js
@@ -7,38 +7,38 @@
var html = '';
html += '';
- var backIcon = browserInfo.safari ? 'chevron-left' : 'arrow-back';
+ var backIcon = browserInfo.safari ? 'chevron_left' : 'arrow_back';
- html += '';
+ html += '';
- html += '
';
- html += '';
+ html += '
';
+ html += '';
html += '';
html += '';
@@ -112,11 +112,14 @@
if (src) {
headerUserButton.classList.add('headerUserButtonRound');
+ headerUserButton.classList.remove('autoSize');
headerUserButton.innerHTML = '

';
} else if (icon) {
headerUserButton.classList.remove('headerUserButtonRound');
- headerUserButton.innerHTML = '
';
+ headerUserButton.classList.add('autoSize');
+ headerUserButton.innerHTML = '
';
}
@@ -358,17 +361,17 @@
html += '';
if (user.localUser && (AppInfo.isNativeApp && browserInfo.android)) {
- html += '';
+ html += '';
}
- html += '';
+ html += '';
if (Dashboard.isConnectMode()) {
- html += '';
+ html += '';
}
if (user.localUser) {
- html += '';
+ html += '';
}
html += '';
@@ -428,6 +431,7 @@
var title = '';
+ link = link.querySelector('span') || link;
var secondaryTitle = (link.innerText || link.textContent).trim();
title += secondaryTitle;
@@ -481,7 +485,7 @@
if (view.CollectionType == 'livetv') {
view.ImageTags = {};
- view.icon = 'live-tv';
+ view.icon = 'live_tv';
view.onclick = "LibraryBrowser.showTab('livetv.html', 0);";
var guideView = Object.assign({}, view);
@@ -558,19 +562,19 @@
}
if (i.CollectionType == "photos") {
- icon = 'photo-library';
+ icon = 'photo_library';
color = "#009688";
}
else if (i.CollectionType == "music" || i.CollectionType == "musicvideos") {
- icon = 'library-music';
+ icon = 'library_music';
color = '#FB8521';
}
else if (i.CollectionType == "books") {
- icon = 'library-books';
+ icon = 'library_books';
color = "#1AA1E1";
}
else if (i.CollectionType == "playlists") {
- icon = 'view-list';
+ icon = 'view_list';
color = "#795548";
}
else if (i.CollectionType == "games") {
@@ -578,7 +582,7 @@
color = "#F44336";
}
else if (i.CollectionType == "movies") {
- icon = 'video-library';
+ icon = 'video_library';
color = '#CE5043';
}
else if (i.CollectionType == "channels" || i.Type == 'Channel') {
@@ -590,14 +594,14 @@
color = "#4CAF50";
}
else if (i.CollectionType == "livetv") {
- icon = 'live-tv';
+ icon = 'live_tv';
color = "#293AAE";
}
icon = i.icon || icon;
var onclick = i.onclick ? ' function(){' + i.onclick + '}' : 'null';
- return '';
+ return '';
}).join('');
@@ -742,7 +746,7 @@
var helpUrl = page.getAttribute('data-helpurl');
if (helpUrl) {
- html += '';
+ html += '';
}
}
@@ -805,14 +809,14 @@
if (info.isLocalPlayer) {
- btnCast.querySelector('iron-icon').icon = 'cast';
+ btnCast.querySelector('i').innerHTML = 'cast';
btnCast.classList.remove('btnActiveCast');
context.querySelector('.headerSelectedPlayer').innerHTML = '';
} else {
- btnCast.querySelector('iron-icon').icon = 'cast-connected';
+ btnCast.querySelector('i').icon = 'cast_connected';
btnCast.classList.add('btnActiveCast');
context.querySelector('.headerSelectedPlayer').innerHTML = info.deviceName || info.name;
}
@@ -1108,7 +1112,7 @@
var headerCreated;
var userRequiresUpdateAfterHeader;
- require(['paper-icon-button-light', 'emby-icons'], function () {
+ require(['paper-icon-button-light', 'material-icons'], function () {
renderHeader();
headerCreated = true;
diff --git a/dashboard-ui/scripts/mypreferenceshome.js b/dashboard-ui/scripts/mypreferenceshome.js
index 2928ad085d..0c4251ba8d 100644
--- a/dashboard-ui/scripts/mypreferenceshome.js
+++ b/dashboard-ui/scripts/mypreferenceshome.js
@@ -82,11 +82,11 @@
if (index > 0) {
- currentHtml += '';
+ currentHtml += '';
}
else if (result.Items.length > 1) {
- currentHtml += '';
+ currentHtml += '';
}
diff --git a/dashboard-ui/scripts/selectserver.js b/dashboard-ui/scripts/selectserver.js
index ade5e8aaf5..df19ad5e7d 100644
--- a/dashboard-ui/scripts/selectserver.js
+++ b/dashboard-ui/scripts/selectserver.js
@@ -44,7 +44,7 @@
html += '';
if (server.Id) {
- html += '';
+ html += '';
}
html += '';
@@ -198,8 +198,7 @@
menuItems.push({
name: Globalize.translate('ButtonDelete'),
- id: 'delete',
- ironIcon: 'delete'
+ id: 'delete'
});
require(['actionsheet'], function (actionsheet) {
@@ -233,14 +232,12 @@
menuItems.push({
name: Globalize.translate('ButtonAccept'),
- id: 'accept',
- ironIcon: 'add'
+ id: 'accept'
});
menuItems.push({
name: Globalize.translate('ButtonReject'),
- id: 'reject',
- ironIcon: 'cancel'
+ id: 'reject'
});
require(['actionsheet'], function (actionsheet) {
@@ -283,7 +280,7 @@
html += '';
- html += '';
+ html += '';
html += '';
@@ -361,7 +358,7 @@
return s.Id == id;
})[0];
- connectToServer(page, server);
+ connectToServer(view, server);
}
var btnServerMenu = parentWithClass(e.target, 'btnServerMenu');
diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js
index 2091e74ef6..ba8ead5930 100644
--- a/dashboard-ui/scripts/site.js
+++ b/dashboard-ui/scripts/site.js
@@ -255,7 +255,7 @@ var Dashboard = {
var html = '' + Globalize.translate('MessagePleaseRestart') + '';
if (systemInfo.CanSelfRestart) {
- html += '';
+ html += '';
}
Dashboard.showFooterNotification({ id: "serverRestartWarning", html: html, forceShow: true, allowHide: false });
@@ -277,7 +277,7 @@ var Dashboard = {
var html = '' + Globalize.translate('MessagePleaseRefreshPage') + '';
- html += '';
+ html += '';
Dashboard.showFooterNotification({ id: "dashboardVersionWarning", html: html, forceShow: true, allowHide: false });
},
@@ -639,7 +639,7 @@ var Dashboard = {
if (icon) {
var style = item.color ? ' style="color:' + item.color + '"' : '';
- menuHtml += '';
+ menuHtml += '';
}
menuHtml += '