jellyfin-web/dashboard-ui/scheduledtask.html

102 lines
5.6 KiB
HTML
Raw Normal View History

2013-02-20 18:33:05 -07:00
<!DOCTYPE html>
<html>
<head>
2014-07-21 18:29:06 -07:00
<title>${TitleAdvanced}</title>
2013-02-20 18:33:05 -07:00
</head>
<body>
2014-07-21 18:29:06 -07:00
<div id="scheduledTaskPage" data-role="page" class="page type-interior advancedConfigurationPage">
2013-02-20 18:33:05 -07:00
<div data-role="content">
<div class="content-primary">
2014-07-21 18:29:06 -07:00
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
<a href="advanced.html" data-role="button">${TabGeneral}</a>
<a href="notificationsettings.html" data-role="button">${TabNotifications}</a>
<a href="scheduledtasks.html" data-role="button" class="ui-btn-active">${TabScheduledTasks}</a>
</div>
2013-02-20 18:33:05 -07:00
<div class="readOnlyContent">
2014-07-21 18:29:06 -07:00
<h2 class="taskName"></h2>
2013-02-20 18:33:05 -07:00
<p id="pTaskDescription"></p>
<p>
<button type="button" data-icon="plus" onclick="ScheduledTaskPage.showAddTriggerPopup();">
2014-04-07 21:17:18 -07:00
${ButtonAddScheduledTaskTrigger}
2013-02-20 18:33:05 -07:00
</button>
</p>
<ul id="ulTaskTriggers" data-role="listview" data-inset="true" data-auto-enhanced="false" data-split-icon="minus"></ul>
</div>
</div>
</div>
2013-12-24 11:37:29 -07:00
<div data-role="popup" id="popupAddTrigger" class="popup" style="min-width: 300px;">
2014-03-26 08:06:48 -07:00
<form class="addTriggerForm">
2013-12-24 11:37:29 -07:00
<div class="ui-bar-b" style="text-align: center; padding: 0 20px;">
2014-04-07 21:17:18 -07:00
<h3>${HeaderAddScheduledTaskTrigger}</h3>
2013-02-20 18:33:05 -07:00
</div>
2013-12-24 11:37:29 -07:00
<div data-role="content">
2013-02-20 18:33:05 -07:00
<ul data-role="listview" class="ulForm">
<li>
2014-04-07 21:17:18 -07:00
<label for="selectTriggerType">${LabelTriggerType}</label>
2013-02-20 18:33:05 -07:00
<select id="selectTriggerType" name="selectTriggerType" onchange="ScheduledTaskPage.refreshTriggerFields(this.value);">
2014-04-07 21:17:18 -07:00
<option value="DailyTrigger">${OptionDaily}</option>
<option value="WeeklyTrigger">${OptionWeekly}</option>
<option value="IntervalTrigger">${OptionOnInterval}</option>
<option value="StartupTrigger">${OptionOnAppStartup}</option>
<option value="SystemEventTrigger">${OptionAfterSystemEvent}</option>
2013-02-20 18:33:05 -07:00
</select>
</li>
<li id="fldDayOfWeek">
2014-04-07 21:17:18 -07:00
<label for="selectDayOfWeek">${LabelDay}</label>
2013-02-20 18:33:05 -07:00
<select id="selectDayOfWeek" name="selectDayOfWeek">
2014-04-07 21:17:18 -07:00
<option value="Sunday">${OptionSunday}</option>
<option value="Monday">${OptionMonday}</option>
<option value="Tuesday">${OptionTuesday}</option>
<option value="Wednesday">${OptionWednesday}</option>
<option value="Thursday">${OptionThursday}</option>
<option value="Friday">${OptionFriday}</option>
<option value="Saturday">${OptionSaturday}</option>
2013-02-20 18:33:05 -07:00
</select>
</li>
<li id="fldTimeOfDay">
2014-04-07 21:17:18 -07:00
<label for="txtTimeOfDay">${LabelTime}</label>
2013-02-20 18:33:05 -07:00
<input type="time" id="txtTimeOfDay" name="txtTimeOfDay" required="required" />
</li>
<li id="fldSelectSystemEvent">
2014-04-07 21:17:18 -07:00
<label for="selectSystemEvent">${LabelEvent}</label>
2013-02-20 18:33:05 -07:00
<select id="selectSystemEvent" name="selectSystemEvent">
2014-04-07 21:17:18 -07:00
<option value="WakeFromSleep">${OptionWakeFromSleep}</option>
2013-02-20 18:33:05 -07:00
</select>
</li>
<li id="fldSelectInterval">
2014-04-07 21:17:18 -07:00
<label for="selectInterval">${LabelEveryXMinutes}</label>
2013-02-20 18:33:05 -07:00
<select id="selectInterval" name="selectInterval">
<option value="9000000000">15 minutes</option>
<option value="18000000000">30 minutes</option>
<option value="27000000000">45 minutes</option>
<option value="36000000000">1 hour</option>
<option value="72000000000">2 hours</option>
<option value="108000000000">3 hours</option>
<option value="144000000000">4 hours</option>
<option value="216000000000">6 hours</option>
<option value="288000000000">8 hours</option>
<option value="432000000000">12 hours</option>
</select>
</li>
<li>
2013-12-24 11:37:29 -07:00
<button type="submit" data-theme="b" data-icon="check">
2014-04-07 21:17:18 -07:00
${ButtonAdd}
2013-02-20 18:33:05 -07:00
</button>
<button type="button" data-icon="delete" onclick="$(this).parents('.popup').popup('close');">
2014-04-07 21:17:18 -07:00
${ButtonCancel}
2013-02-20 18:33:05 -07:00
</button>
</li>
</ul>
</div>
</form>
</div>
2014-03-26 08:06:48 -07:00
<script type="text/javascript">
$('.addTriggerForm').off('submit', ScheduledTaskPage.onSubmit).on('submit', ScheduledTaskPage.onSubmit);
</script>
2013-02-20 18:33:05 -07:00
</div>
</body>
</html>