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

add advanced setting

This commit is contained in:
Luke Pulverenti 2016-03-03 00:17:00 -05:00
parent 982dae32cf
commit 0c55a975f9
6 changed files with 161 additions and 153 deletions

View file

@ -4,7 +4,7 @@
<title>${TitleAdvanced}</title>
</head>
<body>
<div id="advancedConfigurationPage" data-role="page" class="page type-interior advancedConfigurationPage" data-require="jqmcollapsible,scripts/advancedconfigurationpage,paper-input,paper-checkbox">
<div id="advancedConfigurationPage" data-role="page" class="page type-interior advancedConfigurationPage" data-require="emby-collapsible,scripts/advancedconfigurationpage,paper-input,paper-checkbox">
<div data-role="content">
<div class="content-primary">
@ -26,11 +26,18 @@
<li>
<paper-checkbox id="chkDebugLog">${LabelEnableDebugLogging}</paper-checkbox>
</li>
<li>
<paper-checkbox id="chkUsageData">${OptionEnableAnonymousUsageReporting}</paper-checkbox>
<div class="fieldDescription paperCheckboxFieldDescription">
${OptionEnableAnonymousUsageReportingHelp}
<div style="margin-top:.5em;">
<a target="_blank" href="https://emby.media/privacy">${ButtonLearnMore}</a>
</div>
</div>
</li>
</ul>
<div data-role="collapsible">
<h2>${HeaderAutomaticUpdates}</h2>
<div>
<emby-collapsible title="${HeaderAutomaticUpdates}">
<br />
<ul data-role="listview" class="ulForm">
<li class="fldAutomaticUpdates">
@ -57,11 +64,9 @@
</div>
</li>
</ul>
</div>
</div>
<div data-role="collapsible">
<h2>${HeaderDeveloperOptions}</h2>
<div>
</emby-collapsible>
<emby-collapsible title="${HeaderDeveloperOptions}">
<br />
<div>
<paper-checkbox id="chkEnableDashboardResponseCache">${OptionEnableWebClientResponseCache}</paper-checkbox>
@ -81,8 +86,8 @@
<div class="fieldDescription">${LabelDashboardSourcePathHelp}</div>
</li>
</ul>
</div>
</div>
</emby-collapsible>
<br />
<ul data-role="listview" class="ulForm">
<li>

View file

@ -4,7 +4,7 @@
<title>${TitleAutoOrganize}</title>
</head>
<body>
<div id="libraryFileOrganizerPage" data-role="page" class="page type-interior organizePage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Auto-Organize" data-require="jqmcollapsible,jqmtable,scripts/autoorganizetv,paper-input,paper-checkbox">
<div id="libraryFileOrganizerPage" data-role="page" class="page type-interior organizePage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Auto-Organize" data-require="emby-collapsible,jqmtable,scripts/autoorganizetv,paper-input,paper-checkbox">
<div data-role="content">
<div class="content-primary">
@ -43,9 +43,8 @@
<paper-input type="text" id="txtSeasonZeroName" name="txtSeasonZeroName" label="${LabelSeasonZeroFolderName}" required></paper-input>
</li>
</ul><br />
<div data-role="collapsible" data-mini="true">
<h3>${HeaderEpisodeFilePattern}</h3>
<div>
<emby-collapsible title="${HeaderEpisodeFilePattern}">
<br />
<div>
<paper-input type="text" id="txtEpisodePattern" name="txtEpisodePattern" label="${LabelEpisodePattern}" required></paper-input>
@ -136,9 +135,7 @@
</tr>
</tbody>
</table>
</div>
</div>
</emby-collapsible>
<br /><br />
<ul data-role="listview" class="ulForm">
<li>

View file

@ -1892,7 +1892,7 @@ emby-collapsible>.style-scope {
.ui-body-a .emby-collapsible-title {
margin: .25em 0;
color: #000;
padding: 0 0 0 .25em;
padding: 0 0 0 .5em;
font-weight: 500;
}

View file

@ -26,6 +26,7 @@
$('#chkEnableAutomaticServerUpdates', page).checked(config.EnableAutoUpdate);
$('#chkEnableAutomaticRestart', page).checked(config.EnableAutomaticRestart);
$('#chkUsageData', page).checked(config.EnableAnonymousUsageReporting);
if (systemInfo.CanSelfRestart) {
$('#fldEnableAutomaticRestart', page).show();
@ -58,6 +59,7 @@
config.SystemUpdateLevel = $('#selectAutomaticUpdateLevel', form).val();
config.EnableAutomaticRestart = $('#chkEnableAutomaticRestart', form).checked();
config.EnableAutoUpdate = $('#chkEnableAutomaticServerUpdates', form).checked();
config.EnableAnonymousUsageReporting = $('#chkUsageData', form).checked();
config.EnableDashboardResourceMinification = $('#chkEnableMinification', form).checked();
config.EnableDashboardResponseCaching = $('#chkEnableDashboardResponseCache', form).checked();

View file

@ -2505,5 +2505,7 @@
"ButtonAddMissingData": "Add missing data only",
"ButtonFullRefresh": "Full refresh",
"ValueExample": "1:00 PM",
"ButtonGotIt": "Got It"
"ButtonGotIt": "Got It",
"OptionEnableAnonymousUsageReporting": "Enable anonymous usage reporting",
"OptionEnableAnonymousUsageReportingHelp": "Allow Emby to collect anonymous data such as installed plugins, the version numbers of your Emby apps, etc. This information is only used for the purpose of improving the software."
}

View file

@ -40,9 +40,9 @@
"ButtonPrivacyPolicy": "Privacy policy",
"ButtonTermsOfService": "Terms of Service",
"HeaderDeveloperOptions": "Developer Options",
"OptionEnableWebClientResponseCache": "Enable web client response caching",
"OptionDisableForDevelopmentHelp": "Configure these as needed for web client development purposes.",
"OptionEnableWebClientResourceMinification": "Enable web client resource minification",
"OptionEnableWebClientResponseCache": "Enable web response caching",
"OptionDisableForDevelopmentHelp": "Configure these as needed for web development purposes.",
"OptionEnableWebClientResourceMinification": "Enable web resource minification",
"LabelDashboardSourcePath": "Web client source path:",
"LabelDashboardSourcePathHelp": "If running the server from source, specify the path to the dashboard-ui folder. All web client files will be served from this location.",
"ButtonConvertMedia": "Convert media",
@ -2505,5 +2505,7 @@
"ButtonAddMissingData": "Add missing data only",
"ButtonFullRefresh": "Full refresh",
"ValueExample": "1:00 PM",
"ButtonGotIt": "Got It"
"ButtonGotIt": "Got It",
"OptionEnableAnonymousUsageReporting": "Enable anonymous usage reporting",
"OptionEnableAnonymousUsageReportingHelp": "Allow Emby to collect anonymous data such as installed plugins, the version numbers of your Emby apps, etc. This information is only used for the purpose of improving the software."
}