jellyfin-web/dashboard-ui/clientsettings.html

71 lines
3.3 KiB
HTML
Raw Normal View History

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">
<li>
<label for="txtWeatherLocation">Weather location: </label>
2013-04-16 21:58:32 -07:00
<input id="txtWeatherLocation" name="txtWeatherLocation" type="text" />
2013-02-20 18:33:05 -07:00
<div class="fieldDescription">
US zip code / City, State, Country / City, Country
</div>
</li>
<li>
<label for="selectWeatherUnit">Weather display unit: </label>
2013-04-16 21:58:32 -07:00
<select id="selectWeatherUnit" name="selectWeatherUnit">
2013-02-20 18:33:05 -07:00
<option value="Celsius">Celsius</option>
<option value="Fahrenheit">Fahrenheit</option>
</select>
</li>
<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>