66 lines
3.3 KiB
HTML
66 lines
3.3 KiB
HTML
<!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">
|
|
$('#displaySettingsForm').on('submit', DisplaySettingsPage.onSubmit);
|
|
</script>
|
|
</div>
|
|
</body>
|
|
</html>
|