jellyfin-web/dashboard-ui/dashboardhosting.html
2015-06-25 21:10:56 -04:00

83 lines
4.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>${TitleAdvanced}</title>
</head>
<body>
<div id="dashboardHostingPage" data-role="page" class="page type-interior advancedConfigurationPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Hosting%20Settings" data-require="scripts/dashboardhosting">
<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>
<label for="txtPublicPort">${LabelPublicHttpPort}</label>
<input type="number" id="txtPublicPort" pattern="[0-9]*" required="required" min="1" />
<div class="fieldDescription">${LabelPublicHttpPortHelp}</div>
</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>
<li>
<label for="txtPublicHttpsPort">${LabelPublicHttpsPort}</label>
<input type="number" id="txtPublicHttpsPort" pattern="[0-9]*" required="required" min="1" />
<div class="fieldDescription">${LabelPublicHttpsPortHelp}</div>
</li>
<li>
<label for="txtCertificatePath">${LabelCustomCertificatePath}</label>
<div style="display: inline-block; width: 85%;">
<input type="text" id="txtCertificatePath" />
</div>
<button id="btnSelectCertPath" type="button" data-icon="search" data-iconpos="notext" data-inline="true">${ButtonSelectDirectory}</button>
<div class="fieldDescription">${LabelCustomCertificatePathHelp}</div>
</li>
<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>
</ul>
<ul data-role="listview" class="ulForm">
<li>
<button type="submit" data-role="none" class="clearButton">
<paper-button raised class="submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSave}</span></paper-button>
</button>
<paper-button raised class="cancel block btnCancel" onclick="history.back();"><iron-icon icon="close"></iron-icon><span>${ButtonCancel}</span></paper-button>
</li>
</ul>
</form>
</div>
</div>
</div>
</body>
</html>