Ssl in mediabrowser against new listener.
This commit is contained in:
@@ -58,9 +58,24 @@
|
||||
</li>
|
||||
<li>
|
||||
<label for="txtDdns">${LabelExternalDDNS}</label>
|
||||
<input id="txtDdns" />
|
||||
<input id="txtDdns"/>
|
||||
<div class="fieldDescription">${LabelExternalDDNSHelp}</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="chkUseHttps">${LabelUseHttps}</label>
|
||||
<input type="checkbox" id="chkUseHttps" data-mini="false" />
|
||||
<div class="fieldDescription">${LabelUseHttpsHelp}</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="txtCertificatePath">${LabelCertificatePath}</label>
|
||||
<input type="text" id="txtCertificatePath" />
|
||||
<div class="fieldDescription">${LabelCertificatePathHelp}</div>
|
||||
</li>
|
||||
</ul>
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
|
||||
@@ -15,6 +15,10 @@
|
||||
$('#txtPortNumber', page).val(config.HttpServerPortNumber);
|
||||
$('#txtPublicPort', page).val(config.PublicPort);
|
||||
|
||||
$('#chkUseHttps', page).checked(config.UseHttps).checkboxradio('refresh');
|
||||
$('#txtHttpsPort', page).val(config.HttpsPortNumber);
|
||||
$('#txtCertificatePath', page).val(config.CertificatePath);
|
||||
|
||||
$('#txtDdns', page).val(config.WanDdns || '');
|
||||
|
||||
$('#chkEnableUpnp', page).checked(config.EnableUPnP).checkboxradio('refresh');
|
||||
@@ -84,6 +88,11 @@
|
||||
config.HttpServerPortNumber = $('#txtPortNumber', form).val();
|
||||
config.PublicPort = $('#txtPublicPort', form).val();
|
||||
|
||||
config.UseHttps = $('#chkUseHttps', form).checked();
|
||||
config.HttpsPortNumber = $('#txtHttpsPort', form).val();
|
||||
config.CertificatePath = $('#txtCertificatePath', form).val();
|
||||
|
||||
|
||||
config.EnableUPnP = $('#chkEnableUpnp', form).checked();
|
||||
|
||||
config.WanDdns = $('#txtDdns', form).val();
|
||||
|
||||
Reference in New Issue
Block a user