2015-01-18 21:29:57 -07:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<title>${TitleAdvanced}</title>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2015-01-25 12:13:04 -07:00
|
|
|
|
<div id="dashboardHostingPage" data-role="page" class="page type-interior advancedConfigurationPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Hosting%20Settings">
|
2015-01-18 21:29:57 -07:00
|
|
|
|
|
|
|
|
|
<div data-role="content">
|
|
|
|
|
<div class="content-primary">
|
|
|
|
|
|
|
|
|
|
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
|
|
|
|
<a href="advanced.html" data-role="button">${TabGeneral}</a>
|
|
|
|
|
<a href="#" data-role="button" class="ui-btn-active">${TabHosting}</a>
|
|
|
|
|
<a href="serversecurity.html" data-role="button">${TabSecurity}</a>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<form class="dashboardHostingForm">
|
|
|
|
|
|
|
|
|
|
<ul data-role="listview" class="ulForm">
|
|
|
|
|
<li>
|
|
|
|
|
<label for="txtPortNumber">${LabelLocalHttpServerPortNumber}</label>
|
|
|
|
|
<input type="number" id="txtPortNumber" name="txtPortNumber" pattern="[0-9]*" required="required" min="1" />
|
|
|
|
|
<div class="fieldDescription">${LabelLocalHttpServerPortNumberHelp}</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
2015-01-18 21:53:28 -07:00
|
|
|
|
<label for="txtPublicPort">${LabelPublicHttpPort}</label>
|
2015-01-18 21:29:57 -07:00
|
|
|
|
<input type="number" id="txtPublicPort" pattern="[0-9]*" required="required" min="1" />
|
2015-01-18 21:53:28 -07:00
|
|
|
|
<div class="fieldDescription">${LabelPublicHttpPortHelp}</div>
|
2015-01-18 21:29:57 -07:00
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label for="txtDdns">${LabelExternalDDNS}</label>
|
|
|
|
|
<input id="txtDdns" />
|
|
|
|
|
<div class="fieldDescription">${LabelExternalDDNSHelp}</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label for="txtHttpsPort">${LabelHttpsPort}</label>
|
|
|
|
|
<input type="number" id="txtHttpsPort" pattern="[0-9]*" required="required" min="1" />
|
|
|
|
|
<div class="fieldDescription">${LabelHttpsPortHelp}</div>
|
|
|
|
|
</li>
|
2015-01-18 21:53:28 -07:00
|
|
|
|
<li>
|
|
|
|
|
<label for="txtPublicHttpsPort">${LabelPublicHttpsPort}</label>
|
|
|
|
|
<input type="number" id="txtPublicHttpsPort" pattern="[0-9]*" required="required" min="1" />
|
|
|
|
|
<div class="fieldDescription">${LabelPublicHttpsPortHelp}</div>
|
|
|
|
|
</li>
|
2015-01-22 23:15:15 -07:00
|
|
|
|
<li>
|
|
|
|
|
<label for="txtCertificatePath">${LabelCustomCertificatePath}</label>
|
|
|
|
|
<div style="display: inline-block; width: 92%;">
|
2015-01-31 13:28:18 -07:00
|
|
|
|
<input type="text" id="txtCertificatePath" />
|
2015-01-22 23:15:15 -07:00
|
|
|
|
</div>
|
|
|
|
|
<button id="btnSelectCertPath" type="button" data-icon="search" data-iconpos="notext" data-inline="true">${ButtonSelectDirectory}</button>
|
|
|
|
|
<div class="fieldDescription">${LabelCustomCertificatePathHelp}</div>
|
|
|
|
|
</li>
|
2015-01-25 12:13:04 -07:00
|
|
|
|
<li>
|
|
|
|
|
<label for="chkEnableHttps" data-mini="true">${LabelEnableHttps}</label>
|
|
|
|
|
<input type="checkbox" id="chkEnableHttps" data-mini="true" />
|
|
|
|
|
<div class="fieldDescription">${LabelEnableHttpsHelp}</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label for="chkEnableUpnp">${LabelEnableAutomaticPortMap}</label>
|
|
|
|
|
<input type="checkbox" id="chkEnableUpnp" data-mini="true" />
|
|
|
|
|
<div class="fieldDescription">${LabelEnableAutomaticPortMapHelp}</div>
|
|
|
|
|
</li>
|
2015-01-18 21:29:57 -07:00
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<ul data-role="listview" class="ulForm">
|
|
|
|
|
<li>
|
|
|
|
|
<button type="submit" data-theme="b" data-icon="check" data-mini="true">
|
|
|
|
|
${ButtonSave}
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" onclick="Dashboard.navigate('dashboard.html');" data-icon="delete" data-mini="true">
|
|
|
|
|
${ButtonCancel}
|
|
|
|
|
</button>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$('.dashboardHostingForm').off('submit', DashboardHostingPage.onSubmit).on('submit', DashboardHostingPage.onSubmit);
|
|
|
|
|
</script>
|
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|