mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update config pages
This commit is contained in:
parent
5ec9b4aeea
commit
c0bdf018d6
18 changed files with 27 additions and 48 deletions
|
@ -15,9 +15,9 @@
|
||||||
<a href="supporterkey.html" data-role="button" class="tabSupporterMembership">${TabEmbyPremiere}</a>
|
<a href="supporterkey.html" data-role="button" class="tabSupporterMembership">${TabEmbyPremiere}</a>
|
||||||
<a href="about.html" data-role="button" class="ui-btn-active">${TabAbout}</a>
|
<a href="about.html" data-role="button" class="ui-btn-active">${TabAbout}</a>
|
||||||
</div>
|
</div>
|
||||||
<div style="font-size:24px;">
|
<h1>
|
||||||
<img class="imgLogoIcon" src="css/images/mblogoicon.png" /><span class="logoLibraryMenuButtonText">EMBY</span>
|
<img class="imgLogoIcon" src="css/images/mblogoicon.png" /><span class="logoLibraryMenuButtonText">EMBY</span>
|
||||||
</div>
|
</h1>
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<div id="appVersionNumber">${VersionNumber}</div>
|
<div id="appVersionNumber">${VersionNumber}</div>
|
||||||
|
|
|
@ -212,7 +212,6 @@
|
||||||
padding: 10px !important;
|
padding: 10px !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-size: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.cardText {
|
.cardText {
|
||||||
|
@ -225,10 +224,6 @@
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.homeTopViews .cardText {
|
|
||||||
font-size: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cardButtonContainer {
|
.cardButtonContainer {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
float: right;
|
float: right;
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
color: #ddd;
|
color: #ddd;
|
||||||
/*font-size: 11px;*/
|
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 2px;
|
top: 2px;
|
||||||
|
|
|
@ -115,7 +115,6 @@
|
||||||
border-radius: 0 !important;
|
border-radius: 0 !important;
|
||||||
padding: 7px 0 6px 0 !important;
|
padding: 7px 0 6px 0 !important;
|
||||||
text-indent: 10px !important;
|
text-indent: 10px !important;
|
||||||
font-size: 16px;
|
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
outline: none;
|
outline: none;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
|
|
@ -1582,7 +1582,6 @@ progress {
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
border-radius: 2px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sessionNowPlayingInnerContent {
|
.sessionNowPlayingInnerContent {
|
||||||
|
@ -1594,7 +1593,6 @@ progress {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
border-radius: 2px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sessionAppInfo {
|
.sessionAppInfo {
|
||||||
|
@ -1657,7 +1655,6 @@ progress {
|
||||||
.activeSession:not(.playingSession) .sessionNowPlayingInnerContent {
|
.activeSession:not(.playingSession) .sessionNowPlayingInnerContent {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: #000;
|
color: #000;
|
||||||
border: 1px solid #ddd;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.activeSession:not(.playingSession) .sessionUserInfo, .activeSession:not(.playingSession) .sessionNowPlayingInfo {
|
.activeSession:not(.playingSession) .sessionUserInfo, .activeSession:not(.playingSession) .sessionNowPlayingInfo {
|
||||||
|
|
|
@ -41,8 +41,6 @@
|
||||||
<button type="submit" data-role="none" class="clearButton">
|
<button type="submit" data-role="none" class="clearButton">
|
||||||
<paper-button raised class="submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSave}</span></paper-button>
|
<paper-button raised class="submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSave}</span></paper-button>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<paper-button raised class="cancel block btnCancel" onclick="history.back();"><iron-icon icon="close"></iron-icon><span>${ButtonCancel}</span></paper-button>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -149,8 +149,6 @@
|
||||||
<button type="submit" data-role="none" class="clearButton">
|
<button type="submit" data-role="none" class="clearButton">
|
||||||
<paper-button raised class="submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSave}</span></paper-button>
|
<paper-button raised class="submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSave}</span></paper-button>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<paper-button raised class="cancel block btnCancel" onclick="history.back();"><iron-icon icon="close"></iron-icon><span>${ButtonCancel}</span></paper-button>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -121,8 +121,6 @@
|
||||||
<button type="submit" data-role="none" class="clearButton">
|
<button type="submit" data-role="none" class="clearButton">
|
||||||
<paper-button raised class="submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSave}</span></paper-button>
|
<paper-button raised class="submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSave}</span></paper-button>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<paper-button raised class="cancel block btnCancel" onclick="history.back();"><iron-icon icon="close"></iron-icon><span>${ButtonCancel}</span></paper-button>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title>${TitleMetadata}</title>
|
<title>${TitleMetadata}</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="metadataNfoPage" data-role="page" class="page type-interior metadataConfigurationPage" data-require="scripts/metadatanfo,jqmcheckbox">
|
<div id="metadataNfoPage" data-role="page" class="page type-interior metadataConfigurationPage" data-require="scripts/metadatanfo,paper-checkbox">
|
||||||
|
|
||||||
<div data-role="content">
|
<div data-role="content">
|
||||||
|
|
||||||
|
@ -37,22 +37,20 @@
|
||||||
<div class="fieldDescription">${LabelKodiMetadataDateFormatHelp}</div>
|
<div class="fieldDescription">${LabelKodiMetadataDateFormatHelp}</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label for="chkSaveImagePaths">${LabelKodiMetadataSaveImagePaths}</label>
|
<br/>
|
||||||
<input id="chkSaveImagePaths" type="checkbox" data-mini="true" />
|
<paper-checkbox id="chkSaveImagePaths">${LabelKodiMetadataSaveImagePaths}</paper-checkbox>
|
||||||
<div class="fieldDescription">${LabelKodiMetadataSaveImagePathsHelp}</div>
|
<div class="fieldDescription paperCheckboxFieldDescription">${LabelKodiMetadataSaveImagePathsHelp}</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label for="chkEnablePathSubstitution">${LabelKodiMetadataEnablePathSubstitution}</label>
|
<paper-checkbox id="chkEnablePathSubstitution">${LabelKodiMetadataEnablePathSubstitution}</paper-checkbox>
|
||||||
<input id="chkEnablePathSubstitution" type="checkbox" data-mini="true" />
|
<div class="fieldDescription paperCheckboxFieldDescription">
|
||||||
<div class="fieldDescription">
|
|
||||||
<div>${LabelKodiMetadataEnablePathSubstitutionHelp}</div>
|
<div>${LabelKodiMetadataEnablePathSubstitutionHelp}</div>
|
||||||
<div style="margin-top: .5em;"><a href="librarypathmapping.html">${LabelKodiMetadataEnablePathSubstitutionHelp2}</a></div>
|
<div style="margin-top: .5em;"><a href="librarypathmapping.html">${LabelKodiMetadataEnablePathSubstitutionHelp2}</a></div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label for="chkEnableExtraThumbs">${LabelKodiMetadataEnableExtraThumbs}</label>
|
<paper-checkbox id="chkEnableExtraThumbs">${LabelKodiMetadataEnableExtraThumbs}</paper-checkbox>
|
||||||
<input id="chkEnableExtraThumbs" type="checkbox" data-mini="true" />
|
<div class="fieldDescription paperCheckboxFieldDescription">${LabelKodiMetadataEnableExtraThumbsHelp}</div>
|
||||||
<div class="fieldDescription">${LabelKodiMetadataEnableExtraThumbsHelp}</div>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br />
|
<br />
|
||||||
|
@ -61,8 +59,6 @@
|
||||||
<button type="submit" data-role="none" class="clearButton">
|
<button type="submit" data-role="none" class="clearButton">
|
||||||
<paper-button raised class="submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSave}</span></paper-button>
|
<paper-button raised class="submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSave}</span></paper-button>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<paper-button raised class="cancel block btnCancel" onclick="history.back();"><iron-icon icon="close"></iron-icon><span>${ButtonCancel}</span></paper-button>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -61,8 +61,6 @@
|
||||||
<button type="submit" data-role="none" class="clearButton">
|
<button type="submit" data-role="none" class="clearButton">
|
||||||
<paper-button raised class="submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSave}</span></paper-button>
|
<paper-button raised class="submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSave}</span></paper-button>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<paper-button raised class="cancel block btnCancel" onclick="history.back();"><iron-icon icon="close"></iron-icon><span>${ButtonCancel}</span></paper-button>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -297,7 +297,7 @@
|
||||||
|
|
||||||
html += '<div class="' + className + '" id="' + rowId + '">';
|
html += '<div class="' + className + '" id="' + rowId + '">';
|
||||||
|
|
||||||
html += '<div class="cardBox">';
|
html += '<div class="cardBox" style="box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);margin:4px;">';
|
||||||
html += '<div class="cardScalable">';
|
html += '<div class="cardScalable">';
|
||||||
|
|
||||||
html += '<div class="cardPadder"></div>';
|
html += '<div class="cardPadder"></div>';
|
||||||
|
@ -1380,7 +1380,7 @@ $(document).on('pageshow', "#dashboardPage", DashboardPage.onPageShow).on('pageb
|
||||||
|
|
||||||
if (!pluginSecurityInfo.IsMBSupporter && AppInfo.enableSupporterMembership) {
|
if (!pluginSecurityInfo.IsMBSupporter && AppInfo.enableSupporterMembership) {
|
||||||
|
|
||||||
var html = '<div class="supporterPromotion"><a class="clearLink" href="http://emby.media/premiere" target="_blank" style="font-size:14px;"><paper-button raised class="block" style="text-transform:none;background-color:#52B54B;color:#fff;"><div>' + Globalize.translate('HeaderSupportTheTeam') + '</div><div style="font-weight:normal;margin-top:5px;">' + Globalize.translate('TextEnjoyBonusFeatures') + '</div></paper-button></a></div>';
|
var html = '<div class="supporterPromotion"><a class="clearLink" href="http://emby.media/premiere" target="_blank"><paper-button raised class="block" style="text-transform:none;background-color:#52B54B;color:#fff;"><div>' + Globalize.translate('HeaderSupportTheTeam') + '</div><div style="font-weight:normal;margin-top:5px;">' + Globalize.translate('TextEnjoyBonusFeatures') + '</div></paper-button></a></div>';
|
||||||
|
|
||||||
$('.content-primary', page).append(html);
|
$('.content-primary', page).append(html);
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
function loadPage(page, config) {
|
function loadPage(page, config) {
|
||||||
|
|
||||||
page.querySelector('#chkEnablePlayTo').checked = config.EnablePlayTo;
|
page.querySelector('#chkEnablePlayTo').checked = config.EnablePlayTo;
|
||||||
page.querySelector('#chkEnableDlnaDebugLogging').checked = config.EnableDebugLogging;
|
page.querySelector('#chkEnableDlnaDebugLogging').checked = config.EnableDebugLog;
|
||||||
|
|
||||||
$('#txtClientDiscoveryInterval', page).val(config.ClientDiscoveryIntervalSeconds);
|
$('#txtClientDiscoveryInterval', page).val(config.ClientDiscoveryIntervalSeconds);
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
ApiClient.getNamedConfiguration("dlna").then(function (config) {
|
ApiClient.getNamedConfiguration("dlna").then(function (config) {
|
||||||
|
|
||||||
config.EnablePlayTo = form.querySelector('#chkEnablePlayTo').checked;
|
config.EnablePlayTo = form.querySelector('#chkEnablePlayTo').checked;
|
||||||
config.EnableDebugLogging = form.querySelector('#chkEnableDlnaDebugLogging').checked;
|
config.EnableDebugLog = form.querySelector('#chkEnableDlnaDebugLogging').checked;
|
||||||
|
|
||||||
config.ClientDiscoveryIntervalSeconds = $('#txtClientDiscoveryInterval', form).val();
|
config.ClientDiscoveryIntervalSeconds = $('#txtClientDiscoveryInterval', form).val();
|
||||||
|
|
||||||
|
|
|
@ -2864,7 +2864,7 @@
|
||||||
}).join('');
|
}).join('');
|
||||||
|
|
||||||
// Add styles to defeat jquery mobile
|
// Add styles to defeat jquery mobile
|
||||||
html += '<div class="pageSizeContainer"><label style="font-size:inherit;" class="labelPageSize" for="' + id + '">' + Globalize.translate('LabelLimit') + '</label><select style="width:auto;" class="selectPageSize" id="' + id + '" data-inline="true" data-mini="true">' + optionsHtml + '</select></div>';
|
html += '<div class="pageSizeContainer"><label class="labelPageSize" for="' + id + '">' + Globalize.translate('LabelLimit') + '</label><select style="width:auto;" class="selectPageSize" id="' + id + '" data-inline="true" data-mini="true">' + optionsHtml + '</select></div>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -313,7 +313,7 @@
|
||||||
html += "</div>";
|
html += "</div>";
|
||||||
|
|
||||||
if (!imgUrl && virtualFolder.showNameWithIcon) {
|
if (!imgUrl && virtualFolder.showNameWithIcon) {
|
||||||
html += '<div class="cardImage iconCardImage addLibrary" style="position:absolute;top:0;left:0;right:0;bottom:0;font-size:140%;cursor:pointer;">';
|
html += '<h1 class="cardImage iconCardImage addLibrary" style="position:absolute;top:0;left:0;right:0;bottom:0;cursor:pointer;">';
|
||||||
|
|
||||||
html += '<div>';
|
html += '<div>';
|
||||||
html += '<iron-icon icon="' + (virtualFolder.icon || getIcon(virtualFolder.CollectionType)) + '" style="width:45%;height:45%;color:#888;"></iron-icon>';
|
html += '<iron-icon icon="' + (virtualFolder.icon || getIcon(virtualFolder.CollectionType)) + '" style="width:45%;height:45%;color:#888;"></iron-icon>';
|
||||||
|
@ -325,7 +325,7 @@
|
||||||
}
|
}
|
||||||
html += "</div>";
|
html += "</div>";
|
||||||
|
|
||||||
html += '</div>';
|
html += '</h1>';
|
||||||
}
|
}
|
||||||
|
|
||||||
html += '<div class="cardFooter">';
|
html += '<div class="cardFooter">';
|
||||||
|
|
|
@ -12,9 +12,10 @@
|
||||||
|
|
||||||
$('#selectUser', page).html(html).val(config.UserId || '');
|
$('#selectUser', page).html(html).val(config.UserId || '');
|
||||||
$('#selectReleaseDateFormat', page).val(config.ReleaseDateFormat);
|
$('#selectReleaseDateFormat', page).val(config.ReleaseDateFormat);
|
||||||
$('#chkSaveImagePaths', page).checked(config.SaveImagePathsInNfo).checkboxradio('refresh');
|
|
||||||
$('#chkEnablePathSubstitution', page).checked(config.EnablePathSubstitution).checkboxradio('refresh');
|
page.querySelector('#chkSaveImagePaths').checked = config.SaveImagePathsInNfo;
|
||||||
$('#chkEnableExtraThumbs', page).checked(config.EnableExtraThumbsDuplication).checkboxradio('refresh');
|
page.querySelector('#chkEnablePathSubstitution').checked = config.EnablePathSubstitution;
|
||||||
|
page.querySelector('#chkEnableExtraThumbs').checked = config.EnableExtraThumbsDuplication;
|
||||||
|
|
||||||
Dashboard.hideLoadingMsg();
|
Dashboard.hideLoadingMsg();
|
||||||
}
|
}
|
||||||
|
@ -28,9 +29,10 @@
|
||||||
|
|
||||||
config.UserId = $('#selectUser', form).val() || null;
|
config.UserId = $('#selectUser', form).val() || null;
|
||||||
config.ReleaseDateFormat = $('#selectReleaseDateFormat', form).val();
|
config.ReleaseDateFormat = $('#selectReleaseDateFormat', form).val();
|
||||||
config.SaveImagePathsInNfo = $('#chkSaveImagePaths', form).checked();
|
|
||||||
config.EnablePathSubstitution = $('#chkEnablePathSubstitution', form).checked();
|
config.SaveImagePathsInNfo = form.querySelector('#chkSaveImagePaths').checked;
|
||||||
config.EnableExtraThumbsDuplication = $('#chkEnableExtraThumbs', form).checked();
|
config.EnablePathSubstitution = form.querySelector('#chkEnablePathSubstitution').checked;
|
||||||
|
config.EnableExtraThumbsDuplication = form.querySelector('#chkEnableExtraThumbs').checked;
|
||||||
|
|
||||||
ApiClient.updateNamedConfiguration(metadataKey, config).then(Dashboard.processServerConfigurationUpdateResult);
|
ApiClient.updateNamedConfiguration(metadataKey, config).then(Dashboard.processServerConfigurationUpdateResult);
|
||||||
});
|
});
|
||||||
|
|
|
@ -141,7 +141,7 @@
|
||||||
html += '<a' + onclick + ' data-itemid="' + item.Id + '" class="' + cssClass + '" href="' + href + '">';
|
html += '<a' + onclick + ' data-itemid="' + item.Id + '" class="' + cssClass + '" href="' + href + '">';
|
||||||
html += '<div class="cardBox" style="background-color:' + backgroundColor + ';margin:4px;border-radius:4px;">';
|
html += '<div class="cardBox" style="background-color:' + backgroundColor + ';margin:4px;border-radius:4px;">';
|
||||||
|
|
||||||
html += "<div class='cardText' style='padding:8px 10px;color:#fff;font-size:14px;'>";
|
html += "<div class='cardText' style='padding:8px 10px;color:#fff;'>";
|
||||||
html += '<iron-icon icon="' + icon + '"></iron-icon>';
|
html += '<iron-icon icon="' + icon + '"></iron-icon>';
|
||||||
html += '<span style="margin-left:.7em;">' + item.Name + '</span>';
|
html += '<span style="margin-left:.7em;">' + item.Name + '</span>';
|
||||||
html += "</div>";
|
html += "</div>";
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
<br />
|
<br />
|
||||||
<div class="supporterPromotionContainer" style="display:none;">
|
<div class="supporterPromotionContainer" style="display:none;">
|
||||||
<div class="customSupporterPromotion supporterPromotion">
|
<div class="customSupporterPromotion supporterPromotion">
|
||||||
<a class="clearLink" href="http://emby.media/premiere" target="_blank" style="font-size:14px;">
|
<a class="clearLink" href="http://emby.media/premiere" target="_blank">
|
||||||
<paper-button raised class="block" style="text-transform:none;background-color:#52B54B;color:#fff;">
|
<paper-button raised class="block" style="text-transform:none;background-color:#52B54B;color:#fff;">
|
||||||
<div class="mainText">
|
<div class="mainText">
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -21,5 +21,4 @@
|
||||||
|
|
||||||
.voiceInputContainer {
|
.voiceInputContainer {
|
||||||
margin: 1.5em 0;
|
margin: 1.5em 0;
|
||||||
font-size: 15px;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue