mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
fixes #797 - Determine mpeg2ts timestamp info
This commit is contained in:
parent
d96a3f1074
commit
30ebe3858b
@ -16,18 +16,18 @@
|
||||
|
||||
<form id="allUserSettingsForm">
|
||||
|
||||
<p>Require manual username entry for:</p>
|
||||
<p>${HeaderRequireManualLogin}</p>
|
||||
|
||||
<div data-role="controlgroup">
|
||||
<input type="checkbox" data-mini="true" id="chkMobileClients" name="chkMobileClients" />
|
||||
<label for="chkMobileClients">Mobile Clients</label>
|
||||
<input type="checkbox" data-mini="true" id="chkMobileClients" />
|
||||
<label for="chkMobileClients">${OptionMobileApps}</label>
|
||||
|
||||
<input type="checkbox" data-mini="true" id="chkMBT" name="chkMBT" />
|
||||
<label for="chkMBT">Media Browser Theater</label>
|
||||
<input type="checkbox" data-mini="true" id="chkOtherApps" />
|
||||
<label for="chkOtherApps">${OptionOtherApps}</label>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="fieldDescription">When disabled clients may present a login screen with a visual selection of users.</div>
|
||||
<div class="fieldDescription">${HeaderRequireManualLoginHelp}</div>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
|
@ -16,17 +16,17 @@
|
||||
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<label for="txtWeatherLocation">Weather display location: </label>
|
||||
<label for="txtWeatherLocation">${LabelWeatherDisplayLocation}</label>
|
||||
<input id="txtWeatherLocation" name="txtWeatherLocation" type="text" />
|
||||
<div class="fieldDescription">
|
||||
US zip code / City, State, Country / City, Country
|
||||
${LabelWeatherDisplayLocationHelp}
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="selectWeatherUnit">Weather display unit: </label>
|
||||
<label for="selectWeatherUnit">${LabelWeatherDisplayUnit}</label>
|
||||
<select id="selectWeatherUnit" name="selectWeatherUnit">
|
||||
<option value="Celsius">Celsius</option>
|
||||
<option value="Fahrenheit">Fahrenheit</option>
|
||||
<option value="Celsius">${OptionCelsius}</option>
|
||||
<option value="Fahrenheit">${OptionFahrenheit}</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
|
@ -2,19 +2,8 @@
|
||||
|
||||
function loadPage(page, config) {
|
||||
|
||||
var clients = config.ManualLoginClients;
|
||||
|
||||
$('#chkMobileClients', page).checked(clients.filter(function (i) {
|
||||
|
||||
return i == "Mobile";
|
||||
|
||||
}).length > 0).checkboxradio("refresh");
|
||||
|
||||
$('#chkMBT', page).checked(clients.filter(function (i) {
|
||||
|
||||
return i == "MediaBrowserTheater";
|
||||
|
||||
}).length > 0).checkboxradio("refresh");
|
||||
$('#chkMobileClients', page).checked(config.RequireManualLoginForMobileApps).checkboxradio("refresh");
|
||||
$('#chkOtherApps', page).checked(config.RequireManualLoginForOtherApps).checkboxradio("refresh");
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
}
|
||||
@ -43,17 +32,8 @@
|
||||
|
||||
ApiClient.getServerConfiguration().done(function (config) {
|
||||
|
||||
var clients = [];
|
||||
|
||||
if ($('#chkMobileClients', form).checked()) {
|
||||
clients.push("Mobile");
|
||||
}
|
||||
|
||||
if ($('#chkMBT', form).checked()) {
|
||||
clients.push("MediaBrowserTheater");
|
||||
}
|
||||
|
||||
config.ManualLoginClients = clients;
|
||||
config.RequireManualLoginForMobileApps = $('#chkMobileClients', form).checked();
|
||||
config.RequireManualLoginForOtherApps = $('#chkOtherApps', form).checked();
|
||||
|
||||
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
|
||||
});
|
||||
|
@ -752,6 +752,7 @@ var Dashboard = {
|
||||
selected: page.hasClass("organizePage")
|
||||
}, {
|
||||
name: "DLNA",
|
||||
divider: true,
|
||||
href: "dlnasettings.html",
|
||||
selected: page.hasClass("dlnaPage")
|
||||
}, {
|
||||
|
Loading…
Reference in New Issue
Block a user