mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
fix repeated guide refreshes
This commit is contained in:
parent
68b6ae9083
commit
2497dcde57
@ -1,4 +1,4 @@
|
|||||||
define(['jQuery'], function ($) {
|
define(['jQuery', 'fnchecked', 'emby-checkbox', 'emby-collapse', 'emby-textarea', 'emby-input', 'emby-select'], function ($) {
|
||||||
|
|
||||||
var brandingConfigKey = "branding";
|
var brandingConfigKey = "branding";
|
||||||
var currentBrandingOptions;
|
var currentBrandingOptions;
|
||||||
|
@ -9,9 +9,8 @@
|
|||||||
<input is="emby-input" type="text" id="txtServerName" label="${LabelFriendlyServerName}" />
|
<input is="emby-input" type="text" id="txtServerName" label="${LabelFriendlyServerName}" />
|
||||||
<div class="fieldDescription">${LabelFriendlyServerNameHelp}</div>
|
<div class="fieldDescription">${LabelFriendlyServerNameHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="selectContainer">
|
||||||
<label for="selectLocalizationLanguage" class="selectLabel">${LabelPreferredDisplayLanguage}</label>
|
<select is="emby-select" id="selectLocalizationLanguage" label="${LabelPreferredDisplayLanguage}"></select>
|
||||||
<select id="selectLocalizationLanguage" data-mini="true"></select>
|
|
||||||
<div class="fieldDescription">
|
<div class="fieldDescription">
|
||||||
<div>${LabelPreferredDisplayLanguageHelp}</div>
|
<div>${LabelPreferredDisplayLanguageHelp}</div>
|
||||||
<div style="margin-top: .25em;">
|
<div style="margin-top: .25em;">
|
||||||
@ -19,25 +18,28 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br /><br />
|
|
||||||
|
|
||||||
<div id="fldRunAtStartup" style="display: none;">
|
<div id="fldRunAtStartup" style="display: none;" class="checkboxContainer checkboxContainer-withDescription">
|
||||||
<paper-checkbox id="chkRunAtStartup">${LabelRunServerAtStartup}</paper-checkbox>
|
<label>
|
||||||
<div id="windowsStartupDescription" class="fieldDescription paperCheckboxFieldDescription" style="display: none;">
|
<input is="emby-checkbox" type="checkbox" id="chkRunAtStartup" />
|
||||||
|
<span>${LabelRunServerAtStartup}</span>
|
||||||
|
</label>
|
||||||
|
<div id="windowsStartupDescription" class="fieldDescription checkboxFieldDescription" style="display: none;">
|
||||||
${LabelRunServerAtStartupHelp}
|
${LabelRunServerAtStartupHelp}
|
||||||
</div>
|
</div>
|
||||||
<br /><br />
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||||
<paper-checkbox id="chkUsageData">${OptionEnableAnonymousUsageReporting}</paper-checkbox>
|
<label>
|
||||||
<div class="fieldDescription paperCheckboxFieldDescription">
|
<input is="emby-checkbox" type="checkbox" id="chkUsageData" />
|
||||||
|
<span>${OptionEnableAnonymousUsageReporting}</span>
|
||||||
|
</label>
|
||||||
|
<div class="fieldDescription checkboxFieldDescription">
|
||||||
${OptionEnableAnonymousUsageReportingHelp}
|
${OptionEnableAnonymousUsageReportingHelp}
|
||||||
<div style="margin-top:.5em;">
|
<div style="margin-top:.5em;">
|
||||||
<a target="_blank" href="https://emby.media/privacy">${ButtonLearnMore}</a>
|
<a target="_blank" href="https://emby.media/privacy">${ButtonLearnMore}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br /><br />
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div is="emby-collapse" title="${HeaderAdvanced}">
|
<div is="emby-collapse" title="${HeaderAdvanced}">
|
||||||
@ -59,15 +61,12 @@
|
|||||||
<div is="emby-collapse" title="${HeaderAutomaticUpdates}">
|
<div is="emby-collapse" title="${HeaderAutomaticUpdates}">
|
||||||
<div class="collapseContent">
|
<div class="collapseContent">
|
||||||
<br />
|
<br />
|
||||||
<div class="fldAutomaticUpdates">
|
<label class="fldAutomaticUpdates checkboxContainer">
|
||||||
<div data-role="controlgroup">
|
<input is="emby-checkbox" type="checkbox" id="chkEnableAutomaticServerUpdates" />
|
||||||
<input type="checkbox" id="chkEnableAutomaticServerUpdates" data-mini="true" />
|
<span>${OptionEnableAutomaticServerUpdates}</span>
|
||||||
<label for="chkEnableAutomaticServerUpdates">${OptionEnableAutomaticServerUpdates}</label>
|
</label>
|
||||||
</div>
|
<div class="selectContainer">
|
||||||
</div>
|
<select is="emby-select" id="selectAutomaticUpdateLevel" label="${LabelAutomaticUpdateLevel}">
|
||||||
<div>
|
|
||||||
<label class="lnlAutomaticUpdateLevel selectLabel" for="selectAutomaticUpdateLevel"></label>
|
|
||||||
<select name="selectAutomaticUpdateLevel" id="selectAutomaticUpdateLevel">
|
|
||||||
<option value="Release">${OptionRelease}</option>
|
<option value="Release">${OptionRelease}</option>
|
||||||
<option value="Beta">${OptionBeta}</option>
|
<option value="Beta">${OptionBeta}</option>
|
||||||
<option value="Dev">${OptionDev}</option>
|
<option value="Dev">${OptionDev}</option>
|
||||||
@ -76,11 +75,12 @@
|
|||||||
${DevBuildWarning}
|
${DevBuildWarning}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="fldEnableAutomaticRestart" style="display: none;">
|
<div id="fldEnableAutomaticRestart" style="display: none;" class="checkboxContainer checkboxContainer-withDescription">
|
||||||
<paper-checkbox id="chkEnableAutomaticRestart">${LabelAllowServerAutoRestart}</paper-checkbox>
|
<label>
|
||||||
<div class="fieldDescription paperCheckboxFieldDescription">
|
<input is="emby-checkbox" type="checkbox" id="chkEnableAutomaticRestart" />
|
||||||
${LabelAllowServerAutoRestartHelp}
|
<span>${LabelAllowServerAutoRestart}</span>
|
||||||
</div>
|
</label>
|
||||||
|
<div class="fieldDescription checkboxFieldDescription">${LabelAllowServerAutoRestartHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -104,17 +104,17 @@
|
|||||||
<div is="emby-collapse" title="${HeaderDeveloperOptions}">
|
<div is="emby-collapse" title="${HeaderDeveloperOptions}">
|
||||||
<div class="collapseContent">
|
<div class="collapseContent">
|
||||||
<br />
|
<br />
|
||||||
<div>
|
<label class="checkboxContainer">
|
||||||
<paper-checkbox id="chkEnableDashboardResponseCache">${OptionEnableWebClientResponseCache}</paper-checkbox>
|
<input is="emby-checkbox" type="checkbox" id="chkEnableDashboardResponseCache" />
|
||||||
|
<span>${OptionEnableWebClientResponseCache}</span>
|
||||||
|
</label>
|
||||||
|
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||||
|
<label>
|
||||||
|
<input is="emby-checkbox" type="checkbox" id="chkEnableMinification" />
|
||||||
|
<span>${OptionEnableWebClientResourceMinification}</span>
|
||||||
|
</label>
|
||||||
|
<div class="fieldDescription checkboxFieldDescription">${OptionDisableForDevelopmentHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
|
||||||
<div>
|
|
||||||
<paper-checkbox id="chkEnableMinification">${OptionEnableWebClientResourceMinification}</paper-checkbox>
|
|
||||||
</div>
|
|
||||||
<div class="fieldDescription paperCheckboxFieldDescription">
|
|
||||||
${OptionDisableForDevelopmentHelp}
|
|
||||||
</div>
|
|
||||||
<br /><br />
|
|
||||||
<div class="inputContainer">
|
<div class="inputContainer">
|
||||||
<div style="display: flex; align-items: center;">
|
<div style="display: flex; align-items: center;">
|
||||||
<div style="flex-grow:1;">
|
<div style="flex-grow:1;">
|
||||||
|
@ -1970,7 +1970,6 @@ var AppInfo = {};
|
|||||||
|
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: '/dashboardgeneral.html',
|
path: '/dashboardgeneral.html',
|
||||||
dependencies: ['emby-collapse', 'emby-textarea', 'emby-input', 'paper-checkbox'],
|
|
||||||
controller: 'dashboard/dashboardgeneral',
|
controller: 'dashboard/dashboardgeneral',
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: 'admin'
|
roles: 'admin'
|
||||||
|
Loading…
Reference in New Issue
Block a user