jellyfin-web/dashboard-ui/dashboardgeneral.html

113 lines
5.6 KiB
HTML
Raw Normal View History

2014-03-30 19:33:10 -07:00
<!DOCTYPE html>
<html>
<head>
2014-07-10 21:27:46 -07:00
<title>${TitleServer}</title>
2014-03-30 19:33:10 -07:00
</head>
<body>
2014-04-24 10:30:59 -07:00
<div id="dashboardGeneralPage" data-role="page" class="page type-interior dashboardHomePage">
2014-03-30 19:33:10 -07:00
<div data-role="content">
<div class="content-primary">
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
2014-07-10 21:27:46 -07:00
<a href="dashboard.html" data-role="button">${TabDashboard}</a>
2014-07-19 21:46:29 -07:00
<a href="#" data-role="button" class="ui-btn-active">${TabSettings}</a>
2014-07-10 21:27:46 -07:00
<a href="serversecurity.html" data-role="button">${TabSecurity}</a>
2014-07-29 20:31:35 -07:00
<!--<a href="dashboardsync.html" data-role="button">${TabSync}</a>-->
2014-03-30 19:33:10 -07:00
</div>
<form class="dashboardGeneralForm">
<ul data-role="listview" class="ulForm">
<li>
2014-04-08 19:12:17 -07:00
<label for="txtServerName">${LabelFriendlyServerName}</label>
2014-03-30 19:33:10 -07:00
<input id="txtServerName" data-mini="true" />
2014-04-08 19:12:17 -07:00
<div class="fieldDescription">${LabelFriendlyServerNameHelp}</div>
2014-03-30 19:33:10 -07:00
</li>
<li>
2014-04-08 19:12:17 -07:00
<label for="selectLocalizationLanguage">${LabelPreferredDisplayLanguage}</label>
2014-07-19 21:46:29 -07:00
<select id="selectLocalizationLanguage" data-mini="true"></select>
2014-04-08 19:12:17 -07:00
<div class="fieldDescription">
<div>${LabelPreferredDisplayLanguageHelp}</div>
2014-04-26 21:35:04 -07:00
<div style="margin-top: .25em;">
2014-05-08 14:23:24 -07:00
<a href="http://mediabrowser.tv/community/index.php?/topic/5727-join-our-translation-team/" target="_blank">${LabelReadHowYouCanContribute}</a>
2014-04-08 19:12:17 -07:00
</div>
</div>
2014-03-30 19:33:10 -07:00
</li>
</ul>
2014-07-10 21:27:46 -07:00
2014-07-19 21:46:29 -07:00
<div data-role="collapsible">
<h2>${HeaderAdvanced}</h2>
<div>
<br />
<ul data-role="listview" class="ulForm">
<li>
<label for="txtPortNumber">${LabelHttpServerPortNumber}</label>
<input type="number" id="txtPortNumber" name="txtPortNumber" pattern="[0-9]*" required="required" min="1" data-mini="true" />
</li>
<li>
<label for="chkEnableUpnp">${LabelEnableAutomaticPortMapping}</label>
<input type="checkbox" id="chkEnableUpnp" data-mini="true" />
<div class="fieldDescription">${LabelEnableAutomaticPortHelp}</div>
</li>
<li>
<label for="txtDdns">${LabelExternalDDNS}</label>
<input id="txtDdns" data-mini="true" />
<div class="fieldDescription">${LabelExternalDDNSHelp}</div>
</li>
</ul>
<ul data-role="listview" class="ulForm">
<li>
<label for="txtCachePath">${LabelCachePath}</label>
<div style="display: inline-block; width: 92%;">
<input type="text" id="txtCachePath" name="txtCachePath" data-mini="true" />
</div>
<button id="btnSelectCachePath" type="button" data-icon="search" data-iconpos="notext" data-inline="true">${ButtonSelectDirectory}</button>
<div class="fieldDescription">${LabelCachePathHelp}</div>
</li>
</ul>
</div>
</div>
2014-07-10 21:27:46 -07:00
<div data-role="collapsible">
<h2>${HeaderBranding}</h2>
<div>
<p>${HeaderBrandingHelp}</p>
<br />
<ul data-role="listview" class="ulForm">
<li>
<label for="txtLoginDisclaimer">${LabelLoginDisclaimer}</label>
<input id="txtLoginDisclaimer" data-mini="true" />
<div class="fieldDescription">${LabelLoginDisclaimerHelp}</div>
</li>
</ul>
</div>
</div>
<br />
2014-03-30 19:33:10 -07:00
<ul data-role="listview" class="ulForm">
<li>
<button type="submit" data-theme="b" data-icon="check" data-mini="true">
2014-04-08 19:12:17 -07:00
${ButtonSave}
2014-03-30 19:33:10 -07:00
</button>
<button type="button" onclick="Dashboard.navigate('dashboard.html');" data-icon="delete" data-mini="true">
2014-04-08 19:12:17 -07:00
${ButtonCancel}
2014-03-30 19:33:10 -07:00
</button>
</li>
</ul>
</form>
</div>
</div>
<script type="text/javascript">
$('.dashboardGeneralForm').off('submit', DashboardGeneralPage.onSubmit).on('submit', DashboardGeneralPage.onSubmit);
</script>
</div>
</body>
</html>