jellyfin-web/dashboard-ui/syncsettings.html
2015-04-09 13:30:18 -04:00

67 lines
3.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>${TitleSync}</title>
</head>
<body>
<div id="syncSettingsPage" data-role="page" class="page type-interior syncConfigurationPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Sync">
<div data-role="content">
<div class="content-primary">
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
<a href="syncactivity.html" data-role="button">${TabActivity}</a>
<a href="appservices.html?context=sync" data-role="button">${TabServices}</a>
<a href="#" data-role="button" class="ui-btn-active">${TabSettings}</a>
</div>
<form class="syncSettingsForm">
<ul data-role="listview" class="ulForm">
<li>
<label for="txtSyncTempPath">${LabelSyncTempPath}</label>
<div style="display: inline-block; width: 92%;">
<input type="text" id="txtSyncTempPath" />
</div>
<button id="btnSelectSyncTempPath" type="button" data-icon="search" data-iconpos="notext" data-inline="true">${ButtonSelectDirectory}</button>
<div class="fieldDescription">
${LabelSyncTempPathHelp}
</div>
</li>
<li>
<label for="txtUploadRateLimit">${LabelUploadSpeedLimit}</label>
<input type="number" id="txtUploadSpeedLimit" min="0" step=".5" required="required" />
</li>
<li>
<label for="txtCpuCoreLimit">${LabelConversionCpuCoreLimit}</label>
<input type="number" id="txtCpuCoreLimit" min="0" max="8" step="1" required="required" />
<div class="fieldDescription">
${LabelConversionCpuCoreLimitHelp}
</div>
</li>
<li>
<label for="chkEnableFullSpeedConversion">${OptionEnableFullSpeedConversion}</label>
<input type="checkbox" id="chkEnableFullSpeedConversion" />
<div class="fieldDescription">
${OptionEnableFullSpeedConversionHelp}
</div>
</li>
</ul>
<ul data-role="listview" class="ulForm">
<li>
<button type="submit" data-theme="b" data-icon="check">
${ButtonSave}
</button>
</li>
</ul>
</form>
</div>
</div>
<script type="text/javascript">
$('.syncSettingsForm').off('submit', SyncSettingsPage.onSubmit).on('submit', SyncSettingsPage.onSubmit);
</script>
</div>
</body>
</html>