mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
made saving consistent
This commit is contained in:
parent
dcea852799
commit
a6767f5cbc
10 changed files with 121 additions and 118 deletions
|
@ -1,68 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Display Settings</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="displaySettingsPage" data-role="page" class="page type-interior">
|
||||
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
<form id="displaySettingsForm">
|
||||
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<label for="txtWeatherLocation">Weather location: </label>
|
||||
<input id="txtWeatherLocation" name="txtWeatherLocation" type="text" onchange="DisplaySettingsPage.submit();" />
|
||||
<div class="fieldDescription">
|
||||
US zip code / City, State, Country / City, Country
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="selectWeatherUnit">Weather display unit: </label>
|
||||
<select id="selectWeatherUnit" name="selectWeatherUnit" onchange="DisplaySettingsPage.submit();">
|
||||
<option value="Celsius">Celsius</option>
|
||||
<option value="Fahrenheit">Fahrenheit</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<label for="txtMinResumePct">Min resume percentage: </label>
|
||||
<input type="number" id="txtMinResumePct" name="txtMinResumePct" pattern="[0-9]*" required="required" min="0" max="100" onchange="DisplaySettingsPage.submit();" />
|
||||
<div class="fieldDescription">
|
||||
Titles are assumed unplayed before this time
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="txtMaxResumePct">Max resume percentage: </label>
|
||||
<input type="number" id="txtMaxResumePct" name="txtMaxResumePct" pattern="[0-9]*" required="required" min="1" max="100" onchange="DisplaySettingsPage.submit();" />
|
||||
<div class="fieldDescription">
|
||||
Titles are assumed fully played after this time
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="txtMinResumeDuration">Min resume duration (seconds): </label>
|
||||
<input type="number" id="txtMinResumeDuration" name="txtMinResumeDuration" pattern="[0-9]*" required="required" min="0" onchange="DisplaySettingsPage.submit();" />
|
||||
<div class="fieldDescription">
|
||||
Titles shorter than this will not be resumable
|
||||
</div>
|
||||
</li>
|
||||
<li style="display: none;">
|
||||
<button type="submit" data-theme="b" data-icon="ok" class="btnSubmit">
|
||||
Save
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$('#displaySettingsForm input:first').focus();
|
||||
$('#displaySettingsForm').on('submit', DisplaySettingsPage.onSubmit);
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue