mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update dialogs
This commit is contained in:
parent
0491ae9a7c
commit
325d331160
26 changed files with 104 additions and 162 deletions
|
@ -32,14 +32,14 @@
|
||||||
"web-component-tester": "^4.0.0",
|
"web-component-tester": "^4.0.0",
|
||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/PolymerElements/iron-icon",
|
"homepage": "https://github.com/polymerelements/iron-icon",
|
||||||
"_release": "1.0.8",
|
"_release": "1.0.8",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.8",
|
"tag": "v1.0.8",
|
||||||
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
|
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/iron-icon.git",
|
"_source": "git://github.com/polymerelements/iron-icon.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "PolymerElements/iron-icon"
|
"_originalSource": "polymerelements/iron-icon"
|
||||||
}
|
}
|
|
@ -36,7 +36,7 @@
|
||||||
"tag": "v1.2.4",
|
"tag": "v1.2.4",
|
||||||
"commit": "1ee4e2e11a9e5118320987d93fc2c03ae9a489f4"
|
"commit": "1ee4e2e11a9e5118320987d93fc2c03ae9a489f4"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/iron-selector.git",
|
"_source": "git://github.com/polymerelements/iron-selector.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "PolymerElements/iron-selector"
|
"_originalSource": "polymerelements/iron-selector"
|
||||||
}
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
define(['paperdialoghelper', 'paper-input', 'paper-button', 'jqmcollapsible', 'paper-checkbox'], function (paperDialogHelper) {
|
define(['paperdialoghelper', 'paper-input', 'paper-button', 'emby-collapsible', 'paper-checkbox'], function (paperDialogHelper) {
|
||||||
|
|
||||||
function renderLibrarySharingList(context, result) {
|
function renderLibrarySharingList(context, result) {
|
||||||
|
|
||||||
|
@ -110,8 +110,6 @@
|
||||||
|
|
||||||
dlg.innerHTML = html;
|
dlg.innerHTML = html;
|
||||||
document.body.appendChild(dlg);
|
document.body.appendChild(dlg);
|
||||||
// needed for the collapsible
|
|
||||||
$(dlg.querySelector('form')).trigger('create');
|
|
||||||
|
|
||||||
paperDialogHelper.open(dlg);
|
paperDialogHelper.open(dlg);
|
||||||
|
|
||||||
|
|
|
@ -15,14 +15,11 @@
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<div data-role="collapsible">
|
<emby-collapsible title="${HeaderShareMediaFolders}">
|
||||||
<h2>${HeaderShareMediaFolders}</h2>
|
<div class="librarySharingList">
|
||||||
<div>
|
|
||||||
<div class="librarySharingList" style="margin-top:1em;">
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</emby-collapsible>
|
||||||
</div>
|
|
||||||
<p class="fieldDescription" style="margin-top:.5em;">${MessageGuestSharingPermissionsHelp}</p>
|
<p class="fieldDescription" style="margin-top:.5em;">${MessageGuestSharingPermissionsHelp}</p>
|
||||||
<br />
|
<br />
|
||||||
<button type="submit" data-role="none" class="clearButton">
|
<button type="submit" data-role="none" class="clearButton">
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function renderRemoteImages(page, imagesResult, imageType, startIndex, limit) {
|
function renderRemoteImages(page, imagesResult, imageType, startIndex, limit) {
|
||||||
$('.availableImagesPaging', page).html(getPagingHtml(startIndex, limit, imagesResult.TotalRecordCount)).trigger('create');
|
$('.availableImagesPaging', page).html(getPagingHtml(startIndex, limit, imagesResult.TotalRecordCount));
|
||||||
|
|
||||||
var html = '';
|
var html = '';
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
html += getSearchResultHtml(result, i);
|
html += getSearchResultHtml(result, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
var elem = $('.identificationSearchResultList', page).html(html).trigger('create');
|
var elem = $('.identificationSearchResultList', page).html(html);
|
||||||
|
|
||||||
$('.searchImage', elem).on('click', function () {
|
$('.searchImage', elem).on('click', function () {
|
||||||
|
|
||||||
|
@ -266,7 +266,7 @@
|
||||||
$('#txtLookupYear', page).val(item.ProductionYear);
|
$('#txtLookupYear', page).val(item.ProductionYear);
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.identifyProviderIds', page).html(html).trigger('create');
|
$('.identifyProviderIds', page).html(html);
|
||||||
|
|
||||||
page.querySelector('.dialogHeaderTitle').innerHTML = Globalize.translate('HeaderIdentify');
|
page.querySelector('.dialogHeaderTitle').innerHTML = Globalize.translate('HeaderIdentify');
|
||||||
});
|
});
|
||||||
|
|
|
@ -8,8 +8,11 @@
|
||||||
function onSubmit() {
|
function onSubmit() {
|
||||||
|
|
||||||
if (paths.length == 0) {
|
if (paths.length == 0) {
|
||||||
Dashboard.alert({
|
require(['alert'], function (alert) {
|
||||||
message: Globalize.translate('PleaseAddAtLeastOneFolder')
|
alert({
|
||||||
|
text: Globalize.translate('PleaseAddAtLeastOneFolder'),
|
||||||
|
type: 'error'
|
||||||
|
});
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -89,7 +92,7 @@
|
||||||
|
|
||||||
function onAddButtonClick() {
|
function onAddButtonClick() {
|
||||||
|
|
||||||
var page = $(this).parents('.editorContent')[0];
|
var page = $(this).parents('.popupEditor')[0];
|
||||||
|
|
||||||
require(['directorybrowser'], function (directoryBrowser) {
|
require(['directorybrowser'], function (directoryBrowser) {
|
||||||
|
|
||||||
|
@ -165,13 +168,12 @@
|
||||||
|
|
||||||
return p.toLowerCase() != location.toLowerCase();
|
return p.toLowerCase() != location.toLowerCase();
|
||||||
});
|
});
|
||||||
var page = $(this).parents('.editorContent')[0];
|
var page = $(this).parents('.popupEditor')[0];
|
||||||
renderPaths(page);
|
renderPaths(page);
|
||||||
}
|
}
|
||||||
|
|
||||||
function onDialogClosed() {
|
function onDialogClosed() {
|
||||||
|
|
||||||
$(this).remove();
|
|
||||||
Dashboard.hideLoadingMsg();
|
Dashboard.hideLoadingMsg();
|
||||||
currentDeferred.resolveWith(null, [hasChanges]);
|
currentDeferred.resolveWith(null, [hasChanges]);
|
||||||
}
|
}
|
||||||
|
@ -198,43 +200,31 @@
|
||||||
size: 'small',
|
size: 'small',
|
||||||
|
|
||||||
// In (at least) chrome this is causing the text field to not be editable
|
// In (at least) chrome this is causing the text field to not be editable
|
||||||
modal: false
|
modal: false,
|
||||||
|
|
||||||
|
removeOnClose: true
|
||||||
});
|
});
|
||||||
|
|
||||||
dlg.classList.add('ui-body-a');
|
dlg.classList.add('ui-body-a');
|
||||||
dlg.classList.add('background-theme-a');
|
dlg.classList.add('background-theme-a');
|
||||||
dlg.classList.add('popupEditor');
|
dlg.classList.add('popupEditor');
|
||||||
|
|
||||||
var html = '';
|
dlg.innerHTML = Globalize.translateDocument(template);
|
||||||
html += '<h2 class="dialogHeader">';
|
|
||||||
html += '<paper-fab icon="arrow-back" mini class="btnCloseDialog" tabindex="-1"></paper-fab>';
|
|
||||||
|
|
||||||
var title = Globalize.translate('ButtonAddMediaLibrary');
|
|
||||||
|
|
||||||
html += '<div style="display:inline-block;margin-left:.6em;vertical-align:middle;">' + title + '</div>';
|
|
||||||
html += '</h2>';
|
|
||||||
|
|
||||||
html += '<div class="editorContent" style="max-width:800px;margin:auto;">';
|
|
||||||
html += Globalize.translateDocument(template);
|
|
||||||
html += '</div>';
|
|
||||||
|
|
||||||
dlg.innerHTML = html;
|
|
||||||
document.body.appendChild(dlg);
|
document.body.appendChild(dlg);
|
||||||
|
|
||||||
var editorContent = dlg.querySelector('.editorContent');
|
initEditor(dlg, options.collectionTypeOptions);
|
||||||
initEditor(editorContent, options.collectionTypeOptions);
|
|
||||||
|
|
||||||
$(dlg).on('iron-overlay-closed', onDialogClosed);
|
dlg.addEventListener('iron-overlay-closed', onDialogClosed);
|
||||||
|
|
||||||
paperDialogHelper.open(dlg);
|
paperDialogHelper.open(dlg);
|
||||||
|
|
||||||
$('.btnCloseDialog', dlg).on('click', function () {
|
dlg.querySelector('.btnCancel').addEventListener('click', function () {
|
||||||
|
|
||||||
paperDialogHelper.close(dlg);
|
paperDialogHelper.close(dlg);
|
||||||
});
|
});
|
||||||
|
|
||||||
paths = [];
|
paths = [];
|
||||||
renderPaths(editorContent);
|
renderPaths(dlg);
|
||||||
}
|
}
|
||||||
|
|
||||||
xhr.send();
|
xhr.send();
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
<form style="max-width:100%;">
|
<div class="dialogHeader">
|
||||||
<br />
|
<paper-icon-button icon="arrow-back" class="btnCancel" tabindex="-1"></paper-icon-button>
|
||||||
|
<div class="dialogHeaderTitle">
|
||||||
|
${ButtonAddMediaLibrary}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<form style="margin:auto;">
|
||||||
<div id="fldCollectionType">
|
<div id="fldCollectionType">
|
||||||
<label for="selectCollectionType">${LabelContentType}</label>
|
<label for="selectCollectionType">${LabelContentType}</label>
|
||||||
<select id="selectCollectionType" data-mini="true" required="required"></select>
|
<select id="selectCollectionType" data-mini="true" required="required"></select>
|
||||||
|
|
|
@ -575,7 +575,7 @@
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
var elem = $('.externalIds', context).html(html).trigger('create');
|
var elem = $('.externalIds', context).html(html);
|
||||||
|
|
||||||
$('.txtExternalId', elem).on('change', onExternalIdChange).trigger('change');
|
$('.txtExternalId', elem).on('change', onExternalIdChange).trigger('change');
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,7 +157,7 @@
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
var elem = $('.subtitleList', page).html(html).trigger('create');
|
var elem = $('.subtitleList', page).html(html);
|
||||||
|
|
||||||
$('.btnViewSubtitles', elem).on('click', function () {
|
$('.btnViewSubtitles', elem).on('click', function () {
|
||||||
|
|
||||||
|
@ -267,7 +267,7 @@
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
var elem = $('.subtitleResults', page).html(html).trigger('create');
|
var elem = $('.subtitleResults', page).html(html);
|
||||||
|
|
||||||
$('.btnViewSubtitle', elem).on('click', function () {
|
$('.btnViewSubtitle', elem).on('click', function () {
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.background-theme-b, paper-dialog.background-theme-b {
|
.background-theme-b, paper-dialog.background-theme-b {
|
||||||
background-color: #1A1A1A;
|
background-color: #212121;
|
||||||
/*background: radial-gradient(circle, #282828, #141414);*/
|
/*background: radial-gradient(circle, #282828, #141414);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,15 +55,16 @@
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.libraryPage > .ui-content {
|
.pageWithAbsoluteTabs .pageTabContent, .libraryPage > .ui-content {
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pageWithAbsoluteTabs .pageTabContent {
|
/*.pageWithAbsoluteTabs .pageTabContent {
|
||||||
padding-top: 10px;
|
padding-left: .5em !important;
|
||||||
}
|
padding-right: .5em !important;
|
||||||
|
}*/
|
||||||
|
|
||||||
@media all and (max-width: 1200px) {
|
@media all and (max-width: 600px) {
|
||||||
|
|
||||||
.libraryPage > .ui-content {
|
.libraryPage > .ui-content {
|
||||||
padding-left: .5em !important;
|
padding-left: .5em !important;
|
||||||
|
|
|
@ -61,8 +61,9 @@
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dragging .mainDrawerPanel #drawer {
|
/*.mainDrawerPanel #drawer, .mainDrawerPanel #scrim {
|
||||||
}
|
top: 50px !important;
|
||||||
|
}*/
|
||||||
|
|
||||||
.mainDrawerPanel #main {
|
.mainDrawerPanel #main {
|
||||||
left: 0 !important;
|
left: 0 !important;
|
||||||
|
@ -74,7 +75,7 @@
|
||||||
/* Give it at least something to make it visible */
|
/* Give it at least something to make it visible */
|
||||||
z-index: 1098;
|
z-index: 1098;
|
||||||
/* It defaults to absolute, not visible after scrolling */
|
/* It defaults to absolute, not visible after scrolling */
|
||||||
position: fixed;
|
position: fixed!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mainDrawer {
|
.mainDrawer {
|
||||||
|
@ -200,7 +201,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.viewMenuBar, .libraryViewNav {
|
.viewMenuBar, .libraryViewNav {
|
||||||
background-color: #080808;
|
background-color: #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
.viewMenuBar.semiTransparent {
|
.viewMenuBar.semiTransparent {
|
||||||
|
@ -397,8 +398,7 @@ body:not(.dashboardDocument) .btnNotifications {
|
||||||
}
|
}
|
||||||
|
|
||||||
.darkDrawer {
|
.darkDrawer {
|
||||||
background-color: rgba(30,30,30,1) !important;
|
background-color: #212121 !important;
|
||||||
backdrop-filter: brightness(1.5) blur(4px);
|
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -420,9 +420,9 @@ body:not(.dashboardDocument) .btnNotifications {
|
||||||
}
|
}
|
||||||
|
|
||||||
.darkDrawer .sidebarLink:hover {
|
.darkDrawer .sidebarLink:hover {
|
||||||
background: #444;
|
background: #4d4d4d;
|
||||||
}
|
}
|
||||||
|
|
||||||
.darkDrawer .sidebarLink.selectedSidebarLink, .darkDrawer .selectedMediaFolder {
|
.darkDrawer .sidebarLink.selectedSidebarLink, .darkDrawer .selectedMediaFolder {
|
||||||
background: #444 !important;
|
background: #4d4d4d !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,7 +93,7 @@
|
||||||
html += "</div>";
|
html += "</div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.divMatchInfos', page).html(html).trigger('create');
|
$('.divMatchInfos', page).html(html);
|
||||||
}
|
}
|
||||||
|
|
||||||
function onApiFailure(e) {
|
function onApiFailure(e) {
|
||||||
|
|
|
@ -171,7 +171,7 @@
|
||||||
|
|
||||||
html = html.join('') + pagingHtml;
|
html = html.join('') + pagingHtml;
|
||||||
|
|
||||||
var elem = $('.latestNewsItems', page).html(html).trigger('create');
|
var elem = $('.latestNewsItems', page).html(html);
|
||||||
|
|
||||||
$('.btnNextPage', elem).on('click', function () {
|
$('.btnNextPage', elem).on('click', function () {
|
||||||
DashboardPage.newsStartIndex += query.Limit;
|
DashboardPage.newsStartIndex += query.Limit;
|
||||||
|
@ -769,7 +769,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$('#divRunningTasks', page).html(html).trigger('create');
|
$('#divRunningTasks', page).html(html);
|
||||||
},
|
},
|
||||||
|
|
||||||
renderUrls: function (page, systemInfo) {
|
renderUrls: function (page, systemInfo) {
|
||||||
|
@ -912,7 +912,7 @@
|
||||||
html += '<button type="button" data-icon="arrow-d" data-theme="b" onclick="DashboardPage.installPluginUpdate(this);" data-name="' + update.name + '" data-guid="' + update.guid + '" data-version="' + update.versionStr + '" data-classification="' + update.classification + '">' + Globalize.translate('ButtonUpdateNow') + '</button>';
|
html += '<button type="button" data-icon="arrow-d" data-theme="b" onclick="DashboardPage.installPluginUpdate(this);" data-name="' + update.name + '" data-guid="' + update.guid + '" data-version="' + update.versionStr + '" data-classification="' + update.classification + '">' + Globalize.translate('ButtonUpdateNow') + '</button>';
|
||||||
}
|
}
|
||||||
|
|
||||||
elem.html(html).trigger('create');
|
elem.html(html);
|
||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -1060,7 +1060,7 @@ $(document).on('pageshow', "#dashboardPage", DashboardPage.onPageShow).on('pageb
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
$(elem).html(html).trigger('create');
|
$(elem).html(html);
|
||||||
|
|
||||||
$('.btnNextPage', elem).on('click', function () {
|
$('.btnNextPage', elem).on('click', function () {
|
||||||
reloadData(elem, startIndex + limit, limit);
|
reloadData(elem, startIndex + limit, limit);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
(function (window, document, $, devicePixelRatio) {
|
define(['imageLoader', 'paper-icon-button', 'paper-button', 'emby-icons'], function (imageLoader) {
|
||||||
|
|
||||||
function renderHeader() {
|
function renderHeader() {
|
||||||
|
|
||||||
|
@ -48,9 +48,7 @@
|
||||||
|
|
||||||
document.body.appendChild(viewMenuBar);
|
document.body.appendChild(viewMenuBar);
|
||||||
|
|
||||||
require(['imageLoader'], function (imageLoader) {
|
|
||||||
imageLoader.lazyChildren(document.querySelector('.viewMenuBar'));
|
imageLoader.lazyChildren(document.querySelector('.viewMenuBar'));
|
||||||
});
|
|
||||||
|
|
||||||
document.dispatchEvent(new CustomEvent("headercreated", {}));
|
document.dispatchEvent(new CustomEvent("headercreated", {}));
|
||||||
bindMenuEvents();
|
bindMenuEvents();
|
||||||
|
@ -81,7 +79,7 @@
|
||||||
var url = user.imageUrl;
|
var url = user.imageUrl;
|
||||||
|
|
||||||
if (user.supportsImageParams) {
|
if (user.supportsImageParams) {
|
||||||
url += "&height=" + (userButtonHeight * Math.max(devicePixelRatio || 1, 2));
|
url += "&height=" + (userButtonHeight * Math.max(window.devicePixelRatio || 1, 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (headerUserButton) {
|
if (headerUserButton) {
|
||||||
|
@ -168,7 +166,7 @@
|
||||||
var mainDrawerButton = document.querySelector('.mainDrawerButton');
|
var mainDrawerButton = document.querySelector('.mainDrawerButton');
|
||||||
|
|
||||||
if (mainDrawerButton) {
|
if (mainDrawerButton) {
|
||||||
mainDrawerButton.addEventListener('click', openMainDrawer);
|
mainDrawerButton.addEventListener('click', toggleMainDrawer);
|
||||||
}
|
}
|
||||||
|
|
||||||
var headerBackButton = document.querySelector('.headerBackButton');
|
var headerBackButton = document.querySelector('.headerBackButton');
|
||||||
|
@ -199,9 +197,19 @@
|
||||||
var requiresUserRefresh = true;
|
var requiresUserRefresh = true;
|
||||||
var lastOpenTime = new Date().getTime();
|
var lastOpenTime = new Date().getTime();
|
||||||
|
|
||||||
function openMainDrawer() {
|
function toggleMainDrawer() {
|
||||||
|
|
||||||
var drawerPanel = document.querySelector('.mainDrawerPanel');
|
var drawerPanel = document.querySelector('.mainDrawerPanel');
|
||||||
|
if (drawerPanel.selected == 'drawer') {
|
||||||
|
closeMainDrawer(drawerPanel);
|
||||||
|
} else {
|
||||||
|
openMainDrawer(drawerPanel);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function openMainDrawer(drawerPanel) {
|
||||||
|
|
||||||
|
drawerPanel = drawerPanel || document.querySelector('.mainDrawerPanel');
|
||||||
drawerPanel.openDrawer();
|
drawerPanel.openDrawer();
|
||||||
lastOpenTime = new Date().getTime();
|
lastOpenTime = new Date().getTime();
|
||||||
}
|
}
|
||||||
|
@ -244,9 +252,10 @@
|
||||||
|
|
||||||
document.querySelector('.mainDrawerPanel #drawer').classList.add('verticalScrollingDrawer');
|
document.querySelector('.mainDrawerPanel #drawer').classList.add('verticalScrollingDrawer');
|
||||||
}
|
}
|
||||||
function closeMainDrawer() {
|
function closeMainDrawer(drawerPanel) {
|
||||||
|
|
||||||
document.querySelector('.mainDrawerPanel').closeDrawer();
|
drawerPanel = drawerPanel || document.querySelector('.mainDrawerPanel');
|
||||||
|
drawerPanel.closeDrawer();
|
||||||
}
|
}
|
||||||
function onMainDrawerSelect(e) {
|
function onMainDrawerSelect(e) {
|
||||||
|
|
||||||
|
@ -590,7 +599,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
onHardwareMenuButtonClick: function () {
|
onHardwareMenuButtonClick: function () {
|
||||||
openMainDrawer();
|
toggleMainDrawer();
|
||||||
},
|
},
|
||||||
|
|
||||||
onSettingsClicked: function (event) {
|
onSettingsClicked: function (event) {
|
||||||
|
@ -943,7 +952,7 @@
|
||||||
|
|
||||||
setDrawerClass();
|
setDrawerClass();
|
||||||
|
|
||||||
})(window, document, jQuery, window.devicePixelRatio);
|
});
|
||||||
|
|
||||||
(function () {
|
(function () {
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
var html = this.response;
|
var html = this.response;
|
||||||
var elem = page.querySelector('.providerTemplate');
|
var elem = page.querySelector('.providerTemplate');
|
||||||
elem.innerHTML = Globalize.translateDocument(html);
|
elem.innerHTML = Globalize.translateDocument(html);
|
||||||
$(elem).trigger('create');
|
|
||||||
|
|
||||||
init(page, type, providerId);
|
init(page, type, providerId);
|
||||||
}
|
}
|
||||||
|
|
|
@ -160,7 +160,7 @@
|
||||||
$('.servicesSection', page).hide();
|
$('.servicesSection', page).hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.servicesList', page).html(servicesToDisplay.map(getServiceHtml).join('')).trigger('create');
|
$('.servicesList', page).html(servicesToDisplay.map(getServiceHtml).join(''));
|
||||||
|
|
||||||
var tuners = [];
|
var tuners = [];
|
||||||
for (var i = 0, length = liveTvInfo.Services.length; i < length; i++) {
|
for (var i = 0, length = liveTvInfo.Services.length; i < length; i++) {
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
|
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
|
|
||||||
$('.serverLogs', page).html(html).trigger('create');
|
$('.serverLogs', page).html(html);
|
||||||
Dashboard.hideLoadingMsg();
|
Dashboard.hideLoadingMsg();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
html += '<paper-checkbox class="chkLang" data-lang="' + culture.ThreeLetterISOLanguageName.toLowerCase() + '">' + culture.DisplayName + '</paper-checkbox>';
|
html += '<paper-checkbox class="chkLang" data-lang="' + culture.ThreeLetterISOLanguageName.toLowerCase() + '">' + culture.DisplayName + '</paper-checkbox>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.downloadLanguages', page).html(html).trigger('create');
|
$('.downloadLanguages', page).html(html);
|
||||||
|
|
||||||
var langs = config.DownloadLanguages || [];
|
var langs = config.DownloadLanguages || [];
|
||||||
|
|
||||||
|
|
|
@ -146,10 +146,10 @@
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.installedPlugins', page).html(html).trigger('create');
|
$('.installedPlugins', page).html(html);
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
var elem = $('.installedPlugins', page).html(html).trigger('create');
|
var elem = $('.installedPlugins', page).html(html);
|
||||||
|
|
||||||
$('.noConfigPluginCard', elem).on('click', function () {
|
$('.noConfigPluginCard', elem).on('click', function () {
|
||||||
showNoConfigurationMessage();
|
showNoConfigurationMessage();
|
||||||
|
|
|
@ -1846,7 +1846,9 @@ var AppInfo = {};
|
||||||
|
|
||||||
define("jstree", [bowerPath + "/jstree/dist/jstree", "css!thirdparty/jstree/themes/default/style.min.css"]);
|
define("jstree", [bowerPath + "/jstree/dist/jstree", "css!thirdparty/jstree/themes/default/style.min.css"]);
|
||||||
|
|
||||||
define('jqm', ['thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js']);
|
define('jqm', ['thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js'], function() {
|
||||||
|
$.mobile.filterHtml = Dashboard.filterHtml;
|
||||||
|
});
|
||||||
define("jqmbase", ['css!thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.theme.css']);
|
define("jqmbase", ['css!thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.theme.css']);
|
||||||
define("jqmicons", ['jqmbase', 'css!thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.icons.css']);
|
define("jqmicons", ['jqmbase', 'css!thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.icons.css']);
|
||||||
define("jqmtable", ['jqmbase', "thirdparty/jquerymobile-1.4.5/jqm.table", 'css!thirdparty/jquerymobile-1.4.5/jqm.table.css']);
|
define("jqmtable", ['jqmbase', "thirdparty/jquerymobile-1.4.5/jqm.table", 'css!thirdparty/jquerymobile-1.4.5/jqm.table.css']);
|
||||||
|
@ -2039,10 +2041,6 @@ var AppInfo = {};
|
||||||
var deps = [];
|
var deps = [];
|
||||||
deps.push('events');
|
deps.push('events');
|
||||||
|
|
||||||
if (!window.fetch) {
|
|
||||||
deps.push('fetch');
|
|
||||||
}
|
|
||||||
|
|
||||||
deps.push('scripts/mediacontroller');
|
deps.push('scripts/mediacontroller');
|
||||||
|
|
||||||
deps.push('paper-drawer-panel');
|
deps.push('paper-drawer-panel');
|
||||||
|
@ -2090,6 +2088,10 @@ var AppInfo = {};
|
||||||
|
|
||||||
deps.push('scripts/extensions');
|
deps.push('scripts/extensions');
|
||||||
|
|
||||||
|
if (!window.fetch) {
|
||||||
|
deps.push('fetch');
|
||||||
|
}
|
||||||
|
|
||||||
require(deps, function (connectionManagerExports, credentialProviderFactory) {
|
require(deps, function (connectionManagerExports, credentialProviderFactory) {
|
||||||
|
|
||||||
window.MediaBrowser = window.MediaBrowser || {};
|
window.MediaBrowser = window.MediaBrowser || {};
|
||||||
|
@ -2099,9 +2101,6 @@ var AppInfo = {};
|
||||||
|
|
||||||
var promises = [];
|
var promises = [];
|
||||||
deps = [];
|
deps = [];
|
||||||
deps.push('emby-icons');
|
|
||||||
deps.push('paper-icon-button');
|
|
||||||
deps.push('paper-button');
|
|
||||||
deps.push('jQuery');
|
deps.push('jQuery');
|
||||||
|
|
||||||
promises.push(getRequirePromise(deps));
|
promises.push(getRequirePromise(deps));
|
||||||
|
@ -2247,8 +2246,6 @@ var AppInfo = {};
|
||||||
imageLoader.enableFade = browserInfo.animate && !browserInfo.mobile;
|
imageLoader.enableFade = browserInfo.animate && !browserInfo.mobile;
|
||||||
window.ImageLoader = imageLoader;
|
window.ImageLoader = imageLoader;
|
||||||
|
|
||||||
$.mobile.filterHtml = Dashboard.filterHtml;
|
|
||||||
|
|
||||||
$.mobile.initializePage();
|
$.mobile.initializePage();
|
||||||
|
|
||||||
var postInitDependencies = [];
|
var postInitDependencies = [];
|
||||||
|
@ -2422,9 +2419,7 @@ var AppInfo = {};
|
||||||
setAppInfo();
|
setAppInfo();
|
||||||
setDocumentClasses();
|
setDocumentClasses();
|
||||||
|
|
||||||
getHostingAppInfo().then(function (hostingAppInfo) {
|
getHostingAppInfo().then(init);
|
||||||
init(hostingAppInfo);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -172,7 +172,7 @@
|
||||||
|
|
||||||
var html = getUserSectionHtml(users, addConnectIndicator);
|
var html = getUserSectionHtml(users, addConnectIndicator);
|
||||||
|
|
||||||
elem.html(html).trigger('create');
|
elem.html(html);
|
||||||
|
|
||||||
$('.btnUserMenu', elem).on('click', function () {
|
$('.btnUserMenu', elem).on('click', function () {
|
||||||
showUserMenu(this);
|
showUserMenu(this);
|
||||||
|
@ -284,7 +284,7 @@
|
||||||
|
|
||||||
var html = users.map(getPendingUserHtml).join('');
|
var html = users.map(getPendingUserHtml).join('');
|
||||||
|
|
||||||
var elem = $('.pending', page).html(html).trigger('create');
|
var elem = $('.pending', page).html(html);
|
||||||
|
|
||||||
$('.btnUserMenu', elem).on('click', function () {
|
$('.btnUserMenu', elem).on('click', function () {
|
||||||
showPendingUserMenu(this);
|
showPendingUserMenu(this);
|
||||||
|
|
|
@ -164,7 +164,6 @@
|
||||||
"LabelSelectUsers": "Select users:",
|
"LabelSelectUsers": "Select users:",
|
||||||
"ButtonUpload": "Upload",
|
"ButtonUpload": "Upload",
|
||||||
"HeaderUploadNewImage": "Upload New Image",
|
"HeaderUploadNewImage": "Upload New Image",
|
||||||
"LabelDropImageHere": "Drop Image Here",
|
|
||||||
"ImageUploadAspectRatioHelp": "1:1 Aspect Ratio Recommended. JPG/PNG only.",
|
"ImageUploadAspectRatioHelp": "1:1 Aspect Ratio Recommended. JPG/PNG only.",
|
||||||
"MessageNothingHere": "Nothing here.",
|
"MessageNothingHere": "Nothing here.",
|
||||||
"MessagePleaseEnsureInternetMetadata": "Please ensure downloading of internet metadata is enabled.",
|
"MessagePleaseEnsureInternetMetadata": "Please ensure downloading of internet metadata is enabled.",
|
||||||
|
@ -199,8 +198,6 @@
|
||||||
"TabAlbumArtists": "Album Artists",
|
"TabAlbumArtists": "Album Artists",
|
||||||
"TabMusicVideos": "Music Videos",
|
"TabMusicVideos": "Music Videos",
|
||||||
"ButtonSort": "Sort",
|
"ButtonSort": "Sort",
|
||||||
"HeaderSortBy": "Sort By:",
|
|
||||||
"HeaderSortOrder": "Sort Order:",
|
|
||||||
"OptionPlayed": "Played",
|
"OptionPlayed": "Played",
|
||||||
"OptionUnplayed": "Unplayed",
|
"OptionUnplayed": "Unplayed",
|
||||||
"OptionAscending": "Ascending",
|
"OptionAscending": "Ascending",
|
||||||
|
@ -375,8 +372,6 @@
|
||||||
"ButtonAutoScroll": "Auto-scroll",
|
"ButtonAutoScroll": "Auto-scroll",
|
||||||
"LabelImageSavingConvention": "Image saving convention:",
|
"LabelImageSavingConvention": "Image saving convention:",
|
||||||
"LabelImageSavingConventionHelp": "Emby recognizes images from most major media applications. Choosing your downloading convention is useful if you also use other products.",
|
"LabelImageSavingConventionHelp": "Emby recognizes images from most major media applications. Choosing your downloading convention is useful if you also use other products.",
|
||||||
"OptionImageSavingCompatible": "Compatible - Emby/Kodi/Plex",
|
|
||||||
"OptionImageSavingStandard": "Standard - MB2",
|
|
||||||
"ButtonSignIn": "Sign In",
|
"ButtonSignIn": "Sign In",
|
||||||
"TitleSignIn": "Sign In",
|
"TitleSignIn": "Sign In",
|
||||||
"HeaderPleaseSignIn": "Please sign in",
|
"HeaderPleaseSignIn": "Please sign in",
|
||||||
|
@ -394,7 +389,6 @@
|
||||||
"TabFavorites": "Favorites",
|
"TabFavorites": "Favorites",
|
||||||
"TabMyLibrary": "My Library",
|
"TabMyLibrary": "My Library",
|
||||||
"ButtonCancelRecording": "Cancel Recording",
|
"ButtonCancelRecording": "Cancel Recording",
|
||||||
"HeaderPrePostPadding": "Pre/Post Padding",
|
|
||||||
"LabelPrePaddingMinutes": "Pre-padding minutes:",
|
"LabelPrePaddingMinutes": "Pre-padding minutes:",
|
||||||
"OptionPrePaddingRequired": "Pre-padding is required in order to record.",
|
"OptionPrePaddingRequired": "Pre-padding is required in order to record.",
|
||||||
"LabelPostPaddingMinutes": "Post-padding minutes:",
|
"LabelPostPaddingMinutes": "Post-padding minutes:",
|
||||||
|
@ -422,7 +416,6 @@
|
||||||
"ButtonRemove": "Remove",
|
"ButtonRemove": "Remove",
|
||||||
"OptionRecordSeries": "Record Series",
|
"OptionRecordSeries": "Record Series",
|
||||||
"HeaderDetails": "Details",
|
"HeaderDetails": "Details",
|
||||||
"ButtonCancelRecording": "Cancel Recording",
|
|
||||||
"TitleLiveTV": "Live TV",
|
"TitleLiveTV": "Live TV",
|
||||||
"LabelNumberOfGuideDays": "Number of days of guide data to download:",
|
"LabelNumberOfGuideDays": "Number of days of guide data to download:",
|
||||||
"LabelNumberOfGuideDaysHelp": "Downloading more days worth of guide data provides the ability to schedule out further in advance and view more listings, but it will also take longer to download. Auto will choose based on the number of channels.",
|
"LabelNumberOfGuideDaysHelp": "Downloading more days worth of guide data provides the ability to schedule out further in advance and view more listings, but it will also take longer to download. Auto will choose based on the number of channels.",
|
||||||
|
@ -516,7 +509,6 @@
|
||||||
"OptionMaxQualityTranscoding": "Max quality",
|
"OptionMaxQualityTranscoding": "Max quality",
|
||||||
"OptionEnableDebugTranscodingLogging": "Enable debug transcoding logging",
|
"OptionEnableDebugTranscodingLogging": "Enable debug transcoding logging",
|
||||||
"OptionEnableDebugTranscodingLoggingHelp": "This will create very large log files and is only recommended as needed for troubleshooting purposes.",
|
"OptionEnableDebugTranscodingLoggingHelp": "This will create very large log files and is only recommended as needed for troubleshooting purposes.",
|
||||||
"OptionEnableDebugTranscodingLogging": "Enable debug transcoding logging",
|
|
||||||
"EditCollectionItemsHelp": "Add or remove any movies, series, albums, books or games you wish to group within this collection.",
|
"EditCollectionItemsHelp": "Add or remove any movies, series, albums, books or games you wish to group within this collection.",
|
||||||
"HeaderAddTitles": "Add Titles",
|
"HeaderAddTitles": "Add Titles",
|
||||||
"LabelEnableDlnaPlayTo": "Enable DLNA Play To",
|
"LabelEnableDlnaPlayTo": "Enable DLNA Play To",
|
||||||
|
@ -670,11 +662,6 @@
|
||||||
"TitleDlna": "DLNA",
|
"TitleDlna": "DLNA",
|
||||||
"TitleChannels": "Channels",
|
"TitleChannels": "Channels",
|
||||||
"HeaderServerSettings": "Server Settings",
|
"HeaderServerSettings": "Server Settings",
|
||||||
"LabelWeatherDisplayLocation": "Weather display location:",
|
|
||||||
"LabelWeatherDisplayLocationHelp": "US zip code / City, State, Country / City, Country",
|
|
||||||
"LabelWeatherDisplayUnit": "Weather display unit:",
|
|
||||||
"OptionCelsius": "Celsius",
|
|
||||||
"OptionFahrenheit": "Fahrenheit",
|
|
||||||
"HeaderRequireManualLogin": "Require manual username entry for:",
|
"HeaderRequireManualLogin": "Require manual username entry for:",
|
||||||
"HeaderRequireManualLoginHelp": "When disabled clients may present a login screen with a visual selection of users.",
|
"HeaderRequireManualLoginHelp": "When disabled clients may present a login screen with a visual selection of users.",
|
||||||
"OptionOtherApps": "Other apps",
|
"OptionOtherApps": "Other apps",
|
||||||
|
@ -766,9 +753,7 @@
|
||||||
"HeaderDirectPlayProfile": "Direct Play Profile",
|
"HeaderDirectPlayProfile": "Direct Play Profile",
|
||||||
"HeaderTranscodingProfile": "Transcoding Profile",
|
"HeaderTranscodingProfile": "Transcoding Profile",
|
||||||
"HeaderCodecProfile": "Codec Profile",
|
"HeaderCodecProfile": "Codec Profile",
|
||||||
"HeaderCodecProfileHelp": "Define additional conditions that must be met in order for a codec to be direct played.",
|
|
||||||
"HeaderContainerProfile": "Container Profile",
|
"HeaderContainerProfile": "Container Profile",
|
||||||
"HeaderContainerProfileHelp": "Define additional conditions that must be met in order for a file to be direct played.",
|
|
||||||
"OptionProfileVideo": "Video",
|
"OptionProfileVideo": "Video",
|
||||||
"OptionProfileAudio": "Audio",
|
"OptionProfileAudio": "Audio",
|
||||||
"OptionProfileVideoAudio": "Video Audio",
|
"OptionProfileVideoAudio": "Video Audio",
|
||||||
|
@ -1076,7 +1061,6 @@
|
||||||
"LabelImageType": "Image type:",
|
"LabelImageType": "Image type:",
|
||||||
"OptionPrimary": "Primary",
|
"OptionPrimary": "Primary",
|
||||||
"OptionArt": "Art",
|
"OptionArt": "Art",
|
||||||
"OptionBackdrop": "Backdrop",
|
|
||||||
"OptionBox": "Box",
|
"OptionBox": "Box",
|
||||||
"OptionBoxRear": "Box rear",
|
"OptionBoxRear": "Box rear",
|
||||||
"OptionDisc": "Disc",
|
"OptionDisc": "Disc",
|
||||||
|
@ -1517,7 +1501,6 @@
|
||||||
"HeaderCameraUpload": "Camera Upload",
|
"HeaderCameraUpload": "Camera Upload",
|
||||||
"SelectCameraUploadServers": "Upload camera photos to the following servers:",
|
"SelectCameraUploadServers": "Upload camera photos to the following servers:",
|
||||||
"ButtonClear": "Clear",
|
"ButtonClear": "Clear",
|
||||||
"ButtonEditImages": "Edit Images",
|
|
||||||
"LabelFolder": "Folder:",
|
"LabelFolder": "Folder:",
|
||||||
"HeadersFolders": "Folders",
|
"HeadersFolders": "Folders",
|
||||||
"LabelDisplayName": "Display name:",
|
"LabelDisplayName": "Display name:",
|
||||||
|
@ -1555,9 +1538,6 @@
|
||||||
"HeaderPinCodeReset": "Reset Pin Code",
|
"HeaderPinCodeReset": "Reset Pin Code",
|
||||||
"PasswordSaved": "Password saved.",
|
"PasswordSaved": "Password saved.",
|
||||||
"PasswordMatchError": "Password and password confirmation must match.",
|
"PasswordMatchError": "Password and password confirmation must match.",
|
||||||
"OptionRelease": "Official Release",
|
|
||||||
"OptionBeta": "Beta",
|
|
||||||
"OptionDev": "Dev (Unstable)",
|
|
||||||
"UninstallPluginHeader": "Uninstall Plugin",
|
"UninstallPluginHeader": "Uninstall Plugin",
|
||||||
"UninstallPluginConfirmation": "Are you sure you wish to uninstall {0}?",
|
"UninstallPluginConfirmation": "Are you sure you wish to uninstall {0}?",
|
||||||
"NoPluginConfigurationMessage": "This plugin has nothing to configure.",
|
"NoPluginConfigurationMessage": "This plugin has nothing to configure.",
|
||||||
|
@ -1572,7 +1552,6 @@
|
||||||
"HeaderConfirmation": "Confirmation",
|
"HeaderConfirmation": "Confirmation",
|
||||||
"MessageKeyUpdated": "Thank you. Your Emby Premiere key has been updated.",
|
"MessageKeyUpdated": "Thank you. Your Emby Premiere key has been updated.",
|
||||||
"MessageKeyRemoved": "Thank you. Your Emby Premiere key has been removed.",
|
"MessageKeyRemoved": "Thank you. Your Emby Premiere key has been removed.",
|
||||||
"HeaderSupportTheTeam": "Support the Emby Team",
|
|
||||||
"TextEnjoyBonusFeatures": "Enjoy Bonus Features",
|
"TextEnjoyBonusFeatures": "Enjoy Bonus Features",
|
||||||
"TitleLiveTV": "Live TV",
|
"TitleLiveTV": "Live TV",
|
||||||
"ButtonCancelSyncJob": "Cancel sync",
|
"ButtonCancelSyncJob": "Cancel sync",
|
||||||
|
@ -1725,14 +1704,6 @@
|
||||||
"MessageRecordingDeleted": "Recording deleted.",
|
"MessageRecordingDeleted": "Recording deleted.",
|
||||||
"ButonCancelRecording": "Cancel Recording",
|
"ButonCancelRecording": "Cancel Recording",
|
||||||
"MessageRecordingSaved": "Recording saved.",
|
"MessageRecordingSaved": "Recording saved.",
|
||||||
"OptionSunday": "Sunday",
|
|
||||||
"OptionMonday": "Monday",
|
|
||||||
"OptionTuesday": "Tuesday",
|
|
||||||
"OptionWednesday": "Wednesday",
|
|
||||||
"OptionThursday": "Thursday",
|
|
||||||
"OptionFriday": "Friday",
|
|
||||||
"OptionSaturday": "Saturday",
|
|
||||||
"OptionEveryday": "Every day",
|
|
||||||
"OptionWeekend": "Weekends",
|
"OptionWeekend": "Weekends",
|
||||||
"OptionWeekday": "Weekdays",
|
"OptionWeekday": "Weekdays",
|
||||||
"HeaderConfirmDeletion": "Confirm Deletion",
|
"HeaderConfirmDeletion": "Confirm Deletion",
|
||||||
|
@ -1840,7 +1811,7 @@
|
||||||
"ButtonNetwork": "Network",
|
"ButtonNetwork": "Network",
|
||||||
"MessageDirectoryPickerInstruction": "Network paths can be entered manually in the event the Network button fails to locate your devices. For example, {0} or {1}.",
|
"MessageDirectoryPickerInstruction": "Network paths can be entered manually in the event the Network button fails to locate your devices. For example, {0} or {1}.",
|
||||||
"MessageDirectoryPickerBSDInstruction": "For BSD, you may need to configure storage within your FreeNAS Jail in order to allow Emby to access it.",
|
"MessageDirectoryPickerBSDInstruction": "For BSD, you may need to configure storage within your FreeNAS Jail in order to allow Emby to access it.",
|
||||||
"MessageDirectoryPickerLinuxInstruction": "For Linux, you must grant the Emby system user at least read access to your storage locations.",
|
"MessageDirectoryPickerLinuxInstruction": "For Linux on Arch Linux, CentOS, Debian, Fedora, OpenSuse, or Ubuntu, you must grant the Emby system user at least read access to your storage locations.",
|
||||||
"HeaderMenu": "Menu",
|
"HeaderMenu": "Menu",
|
||||||
"ButtonOpen": "Open",
|
"ButtonOpen": "Open",
|
||||||
"ButtonOpenInNewTab": "Open in new tab",
|
"ButtonOpenInNewTab": "Open in new tab",
|
||||||
|
@ -1946,7 +1917,6 @@
|
||||||
"MessagePleaseRefreshPage": "Please refresh this page to receive new updates from Emby Server.",
|
"MessagePleaseRefreshPage": "Please refresh this page to receive new updates from Emby Server.",
|
||||||
"ButtonHide": "Hide",
|
"ButtonHide": "Hide",
|
||||||
"MessageSettingsSaved": "Settings saved.",
|
"MessageSettingsSaved": "Settings saved.",
|
||||||
"ButtonSignOut": "Sign Out",
|
|
||||||
"ButtonMyProfile": "My Profile",
|
"ButtonMyProfile": "My Profile",
|
||||||
"ButtonMyPreferences": "My Preferences",
|
"ButtonMyPreferences": "My Preferences",
|
||||||
"MessageBrowserDoesNotSupportWebSockets": "This browser does not support web sockets. For a better experience, try a newer browser such as Chrome, Firefox, IE10+, Safari (iOS) or Opera.",
|
"MessageBrowserDoesNotSupportWebSockets": "This browser does not support web sockets. For a better experience, try a newer browser such as Chrome, Firefox, IE10+, Safari (iOS) or Opera.",
|
||||||
|
@ -2062,7 +2032,7 @@
|
||||||
"HeaderAddMediaFolder": "Add Media Folder",
|
"HeaderAddMediaFolder": "Add Media Folder",
|
||||||
"HeaderAddMediaFolderHelp": "Name (Movies, Music, TV, etc):",
|
"HeaderAddMediaFolderHelp": "Name (Movies, Music, TV, etc):",
|
||||||
"HeaderRemoveMediaFolder": "Remove Media Folder",
|
"HeaderRemoveMediaFolder": "Remove Media Folder",
|
||||||
"MessageTheFollowingLocationWillBeRemovedFromLibrary": "The following media locations will be removed from your library:",
|
"MessageTheFollowingLocationWillBeRemovedFromLibrary": "The following media locations will be removed from your Emby library:",
|
||||||
"MessageAreYouSureYouWishToRemoveMediaFolder": "Are you sure you wish to remove this media folder?",
|
"MessageAreYouSureYouWishToRemoveMediaFolder": "Are you sure you wish to remove this media folder?",
|
||||||
"ButtonRename": "Rename",
|
"ButtonRename": "Rename",
|
||||||
"ButtonChangeContentType": "Change content type",
|
"ButtonChangeContentType": "Change content type",
|
||||||
|
|
|
@ -164,7 +164,6 @@
|
||||||
"LabelSelectUsers": "Select users:",
|
"LabelSelectUsers": "Select users:",
|
||||||
"ButtonUpload": "Upload",
|
"ButtonUpload": "Upload",
|
||||||
"HeaderUploadNewImage": "Upload New Image",
|
"HeaderUploadNewImage": "Upload New Image",
|
||||||
"LabelDropImageHere": "Drop Image Here",
|
|
||||||
"ImageUploadAspectRatioHelp": "1:1 Aspect Ratio Recommended. JPG/PNG only.",
|
"ImageUploadAspectRatioHelp": "1:1 Aspect Ratio Recommended. JPG/PNG only.",
|
||||||
"MessageNothingHere": "Nothing here.",
|
"MessageNothingHere": "Nothing here.",
|
||||||
"MessagePleaseEnsureInternetMetadata": "Please ensure downloading of internet metadata is enabled.",
|
"MessagePleaseEnsureInternetMetadata": "Please ensure downloading of internet metadata is enabled.",
|
||||||
|
@ -199,8 +198,6 @@
|
||||||
"TabAlbumArtists": "Album Artists",
|
"TabAlbumArtists": "Album Artists",
|
||||||
"TabMusicVideos": "Music Videos",
|
"TabMusicVideos": "Music Videos",
|
||||||
"ButtonSort": "Sort",
|
"ButtonSort": "Sort",
|
||||||
"HeaderSortBy": "Sort By:",
|
|
||||||
"HeaderSortOrder": "Sort Order:",
|
|
||||||
"OptionPlayed": "Played",
|
"OptionPlayed": "Played",
|
||||||
"OptionUnplayed": "Unplayed",
|
"OptionUnplayed": "Unplayed",
|
||||||
"OptionAscending": "Ascending",
|
"OptionAscending": "Ascending",
|
||||||
|
@ -375,8 +372,6 @@
|
||||||
"ButtonAutoScroll": "Auto-scroll",
|
"ButtonAutoScroll": "Auto-scroll",
|
||||||
"LabelImageSavingConvention": "Image saving convention:",
|
"LabelImageSavingConvention": "Image saving convention:",
|
||||||
"LabelImageSavingConventionHelp": "Emby recognizes images from most major media applications. Choosing your downloading convention is useful if you also use other products.",
|
"LabelImageSavingConventionHelp": "Emby recognizes images from most major media applications. Choosing your downloading convention is useful if you also use other products.",
|
||||||
"OptionImageSavingCompatible": "Compatible - Emby/Kodi/Plex",
|
|
||||||
"OptionImageSavingStandard": "Standard - MB2",
|
|
||||||
"ButtonSignIn": "Sign In",
|
"ButtonSignIn": "Sign In",
|
||||||
"TitleSignIn": "Sign In",
|
"TitleSignIn": "Sign In",
|
||||||
"HeaderPleaseSignIn": "Please sign in",
|
"HeaderPleaseSignIn": "Please sign in",
|
||||||
|
@ -394,7 +389,6 @@
|
||||||
"TabFavorites": "Favorites",
|
"TabFavorites": "Favorites",
|
||||||
"TabMyLibrary": "My Library",
|
"TabMyLibrary": "My Library",
|
||||||
"ButtonCancelRecording": "Cancel Recording",
|
"ButtonCancelRecording": "Cancel Recording",
|
||||||
"HeaderPrePostPadding": "Pre/Post Padding",
|
|
||||||
"LabelPrePaddingMinutes": "Pre-padding minutes:",
|
"LabelPrePaddingMinutes": "Pre-padding minutes:",
|
||||||
"OptionPrePaddingRequired": "Pre-padding is required in order to record.",
|
"OptionPrePaddingRequired": "Pre-padding is required in order to record.",
|
||||||
"LabelPostPaddingMinutes": "Post-padding minutes:",
|
"LabelPostPaddingMinutes": "Post-padding minutes:",
|
||||||
|
@ -422,7 +416,6 @@
|
||||||
"ButtonRemove": "Remove",
|
"ButtonRemove": "Remove",
|
||||||
"OptionRecordSeries": "Record Series",
|
"OptionRecordSeries": "Record Series",
|
||||||
"HeaderDetails": "Details",
|
"HeaderDetails": "Details",
|
||||||
"ButtonCancelRecording": "Cancel Recording",
|
|
||||||
"TitleLiveTV": "Live TV",
|
"TitleLiveTV": "Live TV",
|
||||||
"LabelNumberOfGuideDays": "Number of days of guide data to download:",
|
"LabelNumberOfGuideDays": "Number of days of guide data to download:",
|
||||||
"LabelNumberOfGuideDaysHelp": "Downloading more days worth of guide data provides the ability to schedule out further in advance and view more listings, but it will also take longer to download. Auto will choose based on the number of channels.",
|
"LabelNumberOfGuideDaysHelp": "Downloading more days worth of guide data provides the ability to schedule out further in advance and view more listings, but it will also take longer to download. Auto will choose based on the number of channels.",
|
||||||
|
@ -516,7 +509,6 @@
|
||||||
"OptionMaxQualityTranscoding": "Max quality",
|
"OptionMaxQualityTranscoding": "Max quality",
|
||||||
"OptionEnableDebugTranscodingLogging": "Enable debug transcoding logging",
|
"OptionEnableDebugTranscodingLogging": "Enable debug transcoding logging",
|
||||||
"OptionEnableDebugTranscodingLoggingHelp": "This will create very large log files and is only recommended as needed for troubleshooting purposes.",
|
"OptionEnableDebugTranscodingLoggingHelp": "This will create very large log files and is only recommended as needed for troubleshooting purposes.",
|
||||||
"OptionEnableDebugTranscodingLogging": "Enable debug transcoding logging",
|
|
||||||
"EditCollectionItemsHelp": "Add or remove any movies, series, albums, books or games you wish to group within this collection.",
|
"EditCollectionItemsHelp": "Add or remove any movies, series, albums, books or games you wish to group within this collection.",
|
||||||
"HeaderAddTitles": "Add Titles",
|
"HeaderAddTitles": "Add Titles",
|
||||||
"LabelEnableDlnaPlayTo": "Enable DLNA Play To",
|
"LabelEnableDlnaPlayTo": "Enable DLNA Play To",
|
||||||
|
@ -670,11 +662,6 @@
|
||||||
"TitleDlna": "DLNA",
|
"TitleDlna": "DLNA",
|
||||||
"TitleChannels": "Channels",
|
"TitleChannels": "Channels",
|
||||||
"HeaderServerSettings": "Server Settings",
|
"HeaderServerSettings": "Server Settings",
|
||||||
"LabelWeatherDisplayLocation": "Weather display location:",
|
|
||||||
"LabelWeatherDisplayLocationHelp": "US zip code / City, State, Country / City, Country",
|
|
||||||
"LabelWeatherDisplayUnit": "Weather display unit:",
|
|
||||||
"OptionCelsius": "Celsius",
|
|
||||||
"OptionFahrenheit": "Fahrenheit",
|
|
||||||
"HeaderRequireManualLogin": "Require manual username entry for:",
|
"HeaderRequireManualLogin": "Require manual username entry for:",
|
||||||
"HeaderRequireManualLoginHelp": "When disabled clients may present a login screen with a visual selection of users.",
|
"HeaderRequireManualLoginHelp": "When disabled clients may present a login screen with a visual selection of users.",
|
||||||
"OptionOtherApps": "Other apps",
|
"OptionOtherApps": "Other apps",
|
||||||
|
@ -766,9 +753,7 @@
|
||||||
"HeaderDirectPlayProfile": "Direct Play Profile",
|
"HeaderDirectPlayProfile": "Direct Play Profile",
|
||||||
"HeaderTranscodingProfile": "Transcoding Profile",
|
"HeaderTranscodingProfile": "Transcoding Profile",
|
||||||
"HeaderCodecProfile": "Codec Profile",
|
"HeaderCodecProfile": "Codec Profile",
|
||||||
"HeaderCodecProfileHelp": "Define additional conditions that must be met in order for a codec to be direct played.",
|
|
||||||
"HeaderContainerProfile": "Container Profile",
|
"HeaderContainerProfile": "Container Profile",
|
||||||
"HeaderContainerProfileHelp": "Define additional conditions that must be met in order for a file to be direct played.",
|
|
||||||
"OptionProfileVideo": "Video",
|
"OptionProfileVideo": "Video",
|
||||||
"OptionProfileAudio": "Audio",
|
"OptionProfileAudio": "Audio",
|
||||||
"OptionProfileVideoAudio": "Video Audio",
|
"OptionProfileVideoAudio": "Video Audio",
|
||||||
|
@ -1076,7 +1061,6 @@
|
||||||
"LabelImageType": "Image type:",
|
"LabelImageType": "Image type:",
|
||||||
"OptionPrimary": "Primary",
|
"OptionPrimary": "Primary",
|
||||||
"OptionArt": "Art",
|
"OptionArt": "Art",
|
||||||
"OptionBackdrop": "Backdrop",
|
|
||||||
"OptionBox": "Box",
|
"OptionBox": "Box",
|
||||||
"OptionBoxRear": "Box rear",
|
"OptionBoxRear": "Box rear",
|
||||||
"OptionDisc": "Disc",
|
"OptionDisc": "Disc",
|
||||||
|
@ -1517,7 +1501,6 @@
|
||||||
"HeaderCameraUpload": "Camera Upload",
|
"HeaderCameraUpload": "Camera Upload",
|
||||||
"SelectCameraUploadServers": "Upload camera photos to the following servers:",
|
"SelectCameraUploadServers": "Upload camera photos to the following servers:",
|
||||||
"ButtonClear": "Clear",
|
"ButtonClear": "Clear",
|
||||||
"ButtonEditImages": "Edit Images",
|
|
||||||
"LabelFolder": "Folder:",
|
"LabelFolder": "Folder:",
|
||||||
"HeadersFolders": "Folders",
|
"HeadersFolders": "Folders",
|
||||||
"LabelDisplayName": "Display name:",
|
"LabelDisplayName": "Display name:",
|
||||||
|
@ -1555,9 +1538,6 @@
|
||||||
"HeaderPinCodeReset": "Reset Pin Code",
|
"HeaderPinCodeReset": "Reset Pin Code",
|
||||||
"PasswordSaved": "Password saved.",
|
"PasswordSaved": "Password saved.",
|
||||||
"PasswordMatchError": "Password and password confirmation must match.",
|
"PasswordMatchError": "Password and password confirmation must match.",
|
||||||
"OptionRelease": "Official Release",
|
|
||||||
"OptionBeta": "Beta",
|
|
||||||
"OptionDev": "Dev (Unstable)",
|
|
||||||
"UninstallPluginHeader": "Uninstall Plugin",
|
"UninstallPluginHeader": "Uninstall Plugin",
|
||||||
"UninstallPluginConfirmation": "Are you sure you wish to uninstall {0}?",
|
"UninstallPluginConfirmation": "Are you sure you wish to uninstall {0}?",
|
||||||
"NoPluginConfigurationMessage": "This plugin has nothing to configure.",
|
"NoPluginConfigurationMessage": "This plugin has nothing to configure.",
|
||||||
|
@ -1572,7 +1552,6 @@
|
||||||
"HeaderConfirmation": "Confirmation",
|
"HeaderConfirmation": "Confirmation",
|
||||||
"MessageKeyUpdated": "Thank you. Your Emby Premiere key has been updated.",
|
"MessageKeyUpdated": "Thank you. Your Emby Premiere key has been updated.",
|
||||||
"MessageKeyRemoved": "Thank you. Your Emby Premiere key has been removed.",
|
"MessageKeyRemoved": "Thank you. Your Emby Premiere key has been removed.",
|
||||||
"HeaderSupportTheTeam": "Support the Emby Team",
|
|
||||||
"TextEnjoyBonusFeatures": "Enjoy Bonus Features",
|
"TextEnjoyBonusFeatures": "Enjoy Bonus Features",
|
||||||
"TitleLiveTV": "Live TV",
|
"TitleLiveTV": "Live TV",
|
||||||
"ButtonCancelSyncJob": "Cancel sync",
|
"ButtonCancelSyncJob": "Cancel sync",
|
||||||
|
@ -1725,14 +1704,6 @@
|
||||||
"MessageRecordingDeleted": "Recording deleted.",
|
"MessageRecordingDeleted": "Recording deleted.",
|
||||||
"ButonCancelRecording": "Cancel Recording",
|
"ButonCancelRecording": "Cancel Recording",
|
||||||
"MessageRecordingSaved": "Recording saved.",
|
"MessageRecordingSaved": "Recording saved.",
|
||||||
"OptionSunday": "Sunday",
|
|
||||||
"OptionMonday": "Monday",
|
|
||||||
"OptionTuesday": "Tuesday",
|
|
||||||
"OptionWednesday": "Wednesday",
|
|
||||||
"OptionThursday": "Thursday",
|
|
||||||
"OptionFriday": "Friday",
|
|
||||||
"OptionSaturday": "Saturday",
|
|
||||||
"OptionEveryday": "Every day",
|
|
||||||
"OptionWeekend": "Weekends",
|
"OptionWeekend": "Weekends",
|
||||||
"OptionWeekday": "Weekdays",
|
"OptionWeekday": "Weekdays",
|
||||||
"HeaderConfirmDeletion": "Confirm Deletion",
|
"HeaderConfirmDeletion": "Confirm Deletion",
|
||||||
|
@ -1946,7 +1917,6 @@
|
||||||
"MessagePleaseRefreshPage": "Please refresh this page to receive new updates from Emby Server.",
|
"MessagePleaseRefreshPage": "Please refresh this page to receive new updates from Emby Server.",
|
||||||
"ButtonHide": "Hide",
|
"ButtonHide": "Hide",
|
||||||
"MessageSettingsSaved": "Settings saved.",
|
"MessageSettingsSaved": "Settings saved.",
|
||||||
"ButtonSignOut": "Sign Out",
|
|
||||||
"ButtonMyProfile": "My Profile",
|
"ButtonMyProfile": "My Profile",
|
||||||
"ButtonMyPreferences": "My Preferences",
|
"ButtonMyPreferences": "My Preferences",
|
||||||
"MessageBrowserDoesNotSupportWebSockets": "This browser does not support web sockets. For a better experience, try a newer browser such as Chrome, Firefox, IE10+, Safari (iOS) or Opera.",
|
"MessageBrowserDoesNotSupportWebSockets": "This browser does not support web sockets. For a better experience, try a newer browser such as Chrome, Firefox, IE10+, Safari (iOS) or Opera.",
|
||||||
|
|
|
@ -961,7 +961,14 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
self._enhance();
|
self._enhance();
|
||||||
|
|
||||||
|
var requireValues = pageElem.getAttribute('data-require');
|
||||||
|
if (requireValues && requireValues.indexOf('jqm') != -1) {
|
||||||
self.element.enhanceWithin();
|
self.element.enhanceWithin();
|
||||||
|
}
|
||||||
|
else if ((pageElem.getAttribute('data-url') || '').toLowerCase().indexOf('/configurationpage?') != -1) {
|
||||||
|
self.element.enhanceWithin();
|
||||||
|
}
|
||||||
|
|
||||||
pageElem.dispatchEvent(new CustomEvent("pageinit", {
|
pageElem.dispatchEvent(new CustomEvent("pageinit", {
|
||||||
bubbles: true
|
bubbles: true
|
||||||
|
|
|
@ -484,7 +484,7 @@ paper-textarea.mono textarea {
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-body-b .paperList {
|
.ui-body-b .paperList {
|
||||||
background-color: #2b2b2b;
|
background-color: #323232;
|
||||||
}
|
}
|
||||||
|
|
||||||
paper-dropdown-menu {
|
paper-dropdown-menu {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue