2013-02-20 18:33:05 -07:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
2013-04-16 21:58:32 -07:00
|
|
|
|
<title>Client Settings</title>
|
2013-02-20 18:33:05 -07:00
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2013-04-16 21:58:32 -07:00
|
|
|
|
<div id="clientSettingsPage" data-role="page" class="page type-interior">
|
2013-02-20 18:33:05 -07:00
|
|
|
|
|
|
|
|
|
<div data-role="content">
|
|
|
|
|
<div class="content-primary">
|
2013-04-16 21:58:32 -07:00
|
|
|
|
<form id="clientSettingsForm">
|
2013-02-20 18:33:05 -07:00
|
|
|
|
|
|
|
|
|
<ul data-role="listview" class="ulForm">
|
2013-06-24 07:06:25 -07:00
|
|
|
|
<li>
|
|
|
|
|
<label for="txtWeatherLocation">Weather location: </label>
|
|
|
|
|
<input id="txtWeatherLocation" name="txtWeatherLocation" type="text" />
|
|
|
|
|
<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">
|
|
|
|
|
<option value="Celsius">Celsius</option>
|
|
|
|
|
<option value="Fahrenheit">Fahrenheit</option>
|
|
|
|
|
</select>
|
|
|
|
|
</li>
|
2013-02-20 18:33:05 -07:00
|
|
|
|
<li>
|
|
|
|
|
<label for="txtMinResumePct">Min resume percentage: </label>
|
2013-04-16 21:58:32 -07:00
|
|
|
|
<input type="number" id="txtMinResumePct" name="txtMinResumePct" pattern="[0-9]*" required="required" min="0" max="100" />
|
2013-02-20 18:33:05 -07:00
|
|
|
|
<div class="fieldDescription">
|
|
|
|
|
Titles are assumed unplayed before this time
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label for="txtMaxResumePct">Max resume percentage: </label>
|
2013-04-16 21:58:32 -07:00
|
|
|
|
<input type="number" id="txtMaxResumePct" name="txtMaxResumePct" pattern="[0-9]*" required="required" min="1" max="100" />
|
2013-02-20 18:33:05 -07:00
|
|
|
|
<div class="fieldDescription">
|
|
|
|
|
Titles are assumed fully played after this time
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label for="txtMinResumeDuration">Min resume duration (seconds): </label>
|
2013-04-16 21:58:32 -07:00
|
|
|
|
<input type="number" id="txtMinResumeDuration" name="txtMinResumeDuration" pattern="[0-9]*" required="required" min="0" />
|
2013-02-20 18:33:05 -07:00
|
|
|
|
<div class="fieldDescription">
|
|
|
|
|
Titles shorter than this will not be resumable
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
2013-04-16 21:58:32 -07:00
|
|
|
|
<li>
|
|
|
|
|
<button type="submit" data-theme="b" data-icon="ok">
|
2013-02-20 18:33:05 -07:00
|
|
|
|
Save
|
|
|
|
|
</button>
|
2013-04-16 21:58:32 -07:00
|
|
|
|
<button type="button" onclick="Dashboard.navigate('dashboard.html');" data-icon="delete">
|
|
|
|
|
Cancel
|
|
|
|
|
</button>
|
2013-02-20 18:33:05 -07:00
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
2013-04-16 21:58:32 -07:00
|
|
|
|
$(function () {
|
|
|
|
|
$('#clientSettingsForm').on('submit', ClientSettingsPage.onSubmit);
|
2013-03-28 20:50:46 -07:00
|
|
|
|
});
|
2013-02-20 18:33:05 -07:00
|
|
|
|
</script>
|
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|