jellyfin-web/dashboard-ui/appsplayback.html
2013-12-25 22:44:26 -05:00

59 lines
2.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>App Settings</title>
</head>
<body>
<div id="appsPlaybackPage" data-role="page" class="page appsPage type-interior">
<div data-role="content">
<div class="content-primary">
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
<a href="appsplayback.html" data-role="button" class="ui-btn-active">Playback</a>
<a href="appsweather.html" data-role="button">Weather</a>
</div>
<form class="appsPlaybackForm">
<ul data-role="listview" class="ulForm">
<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 if stopped 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 if stopped 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="check">
Save
</button>
<button type="button" onclick="Dashboard.navigate('dashboard.html');" data-icon="delete">
Cancel
</button>
</li>
</ul>
</form>
</div>
</div>
<script type="text/javascript">
$('.appsPlaybackForm').off('submit', AppsPlaybackPage.onSubmit).on('submit', AppsPlaybackPage.onSubmit);
</script>
</div>
</body>
</html>