mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07:00
71 lines
3.3 KiB
HTML
71 lines
3.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Client Settings</title>
|
|
</head>
|
|
<body>
|
|
<div id="clientSettingsPage" data-role="page" class="page type-interior">
|
|
|
|
<div data-role="content">
|
|
<div class="content-primary">
|
|
<form id="clientSettingsForm">
|
|
|
|
<ul data-role="listview" class="ulForm">
|
|
<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>
|
|
<li>
|
|
<label for="txtMinResumePct">Min resume percentage: </label>
|
|
<input type="number" id="txtMinResumePct" name="txtMinResumePct" pattern="[0-9]*" required="required" min="0" max="100" />
|
|
<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" />
|
|
<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" />
|
|
<div class="fieldDescription">
|
|
Titles shorter than this will not be resumable
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<button type="submit" data-theme="b" data-icon="ok">
|
|
Save
|
|
</button>
|
|
<button type="button" onclick="Dashboard.navigate('dashboard.html');" data-icon="delete">
|
|
Cancel
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
$('#clientSettingsForm').on('submit', ClientSettingsPage.onSubmit);
|
|
});
|
|
</script>
|
|
</div>
|
|
</body>
|
|
</html>
|