mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 12:28:19 +02:00
90 lines
4.8 KiB
HTML
90 lines
4.8 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title></title>
|
|
</head>
|
|
<body>
|
|
<div id="scheduledTaskPage" data-role="page" class="page type-interior">
|
|
<div data-role="content">
|
|
<div class="content-primary">
|
|
<div class="readOnlyContent">
|
|
<p id="pTaskDescription"></p>
|
|
<p>
|
|
<button type="button" data-icon="plus" onclick="ScheduledTaskPage.showAddTriggerPopup();">
|
|
Add Task Trigger
|
|
</button>
|
|
</p>
|
|
<ul id="ulTaskTriggers" data-role="listview" data-inset="true" data-auto-enhanced="false" data-split-icon="minus"></ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div data-role="popup" id="popupAddTrigger" class="ui-corner-all popup" style="min-width: 300px;">
|
|
<form id="addTriggerForm">
|
|
<div class="ui-corner-top ui-bar-a" style="text-align: center; padding: 0 20px;">
|
|
<h3>Add Task Trigger</h3>
|
|
</div>
|
|
<div data-role="content" class="ui-corner-bottom ui-content">
|
|
|
|
<ul data-role="listview" class="ulForm">
|
|
<li>
|
|
<label for="selectTriggerType">Trigger Type:</label>
|
|
<select id="selectTriggerType" name="selectTriggerType" onchange="ScheduledTaskPage.refreshTriggerFields(this.value);">
|
|
<option value="DailyTrigger">Daily</option>
|
|
<option value="WeeklyTrigger">Weekly</option>
|
|
<option value="IntervalTrigger">On an interval</option>
|
|
<option value="StartupTrigger">On application startup</option>
|
|
<option value="SystemEventTrigger">After a system event</option>
|
|
</select>
|
|
</li>
|
|
<li id="fldDayOfWeek">
|
|
<label for="selectDayOfWeek">Day:</label>
|
|
<select id="selectDayOfWeek" name="selectDayOfWeek">
|
|
<option value="Sunday">Sunday</option>
|
|
<option value="Monday">Monday</option>
|
|
<option value="Tuesday">Tuesday</option>
|
|
<option value="Wednesday">Wednesday</option>
|
|
<option value="Thursday">Thursday</option>
|
|
<option value="Friday">Friday</option>
|
|
<option value="Saturday">Saturday</option>
|
|
</select>
|
|
</li>
|
|
<li id="fldTimeOfDay">
|
|
<label for="txtTimeOfDay">Time:</label>
|
|
<input type="time" id="txtTimeOfDay" name="txtTimeOfDay" required="required" />
|
|
</li>
|
|
<li id="fldSelectSystemEvent">
|
|
<label for="selectSystemEvent">Event:</label>
|
|
<select id="selectSystemEvent" name="selectSystemEvent">
|
|
<option value="WakeFromSleep">Wake from sleep</option>
|
|
</select>
|
|
</li>
|
|
<li id="fldSelectInterval">
|
|
<label for="selectInterval">Every:</label>
|
|
<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>
|
|
<button type="submit" data-theme="b" data-icon="ok">
|
|
Add
|
|
</button>
|
|
<button type="button" data-icon="delete" onclick="$(this).parents('.popup').popup('close');">
|
|
Cancel
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|