2013-02-20 18:33:05 -07:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
2015-01-18 12:53:34 -07:00
|
|
|
|
<title>${TitleScheduledTasks}</title>
|
2013-02-20 18:33:05 -07:00
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2016-02-26 10:15:06 -07:00
|
|
|
|
<div id="scheduledTaskPage" data-role="page" class="page type-interior scheduledTasksConfigurationPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Scheduled%20tasks" data-require="jqmpopup,scripts/scheduledtaskpage,paper-input">
|
2013-02-20 18:33:05 -07:00
|
|
|
|
<div data-role="content">
|
|
|
|
|
<div class="content-primary">
|
2014-07-21 18:29:06 -07:00
|
|
|
|
|
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>
|
2016-02-07 12:47:09 -07:00
|
|
|
|
<div>
|
|
|
|
|
<br />
|
|
|
|
|
<h1 style="margin: .6em 0; vertical-align: middle; display: inline-block;">
|
|
|
|
|
${HeaderTaskTriggers}
|
|
|
|
|
</h1>
|
|
|
|
|
<paper-button raised class="btnInvite submit mini" style="margin-left: 1em;" title="${ButtonAddScheduledTaskTrigger}" onclick="ScheduledTaskPage.showAddTriggerPopup();">
|
|
|
|
|
<iron-icon icon="add"></iron-icon>
|
|
|
|
|
<span>${ButtonAdd}</span>
|
|
|
|
|
</paper-button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="taskTriggers"></div>
|
2013-02-20 18:33:05 -07:00
|
|
|
|
</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">
|
2015-02-06 20:25:23 -07:00
|
|
|
|
<div class="ui-bar-a" 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">
|
2016-02-07 12:47:09 -07:00
|
|
|
|
<br />
|
2013-02-20 18:33:05 -07:00
|
|
|
|
<ul data-role="listview" class="ulForm">
|
|
|
|
|
<li>
|
2016-02-07 12:47:09 -07:00
|
|
|
|
<label for="selectTriggerType" class="selectLabel">${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">
|
2016-02-07 12:47:09 -07:00
|
|
|
|
<label for="selectDayOfWeek" class="selectLabel">${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">
|
2016-02-26 10:15:06 -07:00
|
|
|
|
<paper-input type="time" id="txtTimeOfDay" name="txtTimeOfDay" required="required" label="${LabelTime}"></paper-input>
|
|
|
|
|
<div class="fieldDescription timeFieldExample"></div>
|
2013-02-20 18:33:05 -07:00
|
|
|
|
</li>
|
|
|
|
|
<li id="fldSelectSystemEvent">
|
2016-02-07 12:47:09 -07:00
|
|
|
|
<label for="selectSystemEvent" class="selectLabel">${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">
|
2016-02-07 12:47:09 -07:00
|
|
|
|
<label for="selectInterval" class="selectLabel">${LabelEveryXMinutes}</label>
|
2015-03-05 11:54:04 -07:00
|
|
|
|
<select id="selectInterval">
|
2013-02-20 18:33:05 -07:00
|
|
|
|
<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>
|
2015-03-05 11:54:04 -07:00
|
|
|
|
<li>
|
2016-02-26 10:15:06 -07:00
|
|
|
|
<paper-input id="txtTimeLimit" type="number" pattern="[0-9]*" min="1" step=".5" label="${LabelTimeLimitHours}"></paper-input>
|
2015-03-05 11:54:04 -07:00
|
|
|
|
</li>
|
2013-02-20 18:33:05 -07:00
|
|
|
|
<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>
|
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|