2019-01-23 04:33:34 -07:00
|
|
|
<div id="scheduledTaskPage" data-role="page" class="page type-interior scheduledTasksConfigurationPage">
|
2017-05-06 12:42:17 -07:00
|
|
|
<div>
|
2016-03-15 22:33:31 -07:00
|
|
|
<div class="content-primary">
|
2014-07-21 18:29:06 -07:00
|
|
|
|
2018-09-12 10:26:21 -07:00
|
|
|
<div class="verticalSection">
|
|
|
|
<div class="sectionTitleContainer flex align-items-center">
|
|
|
|
<h2 class="sectionTitle taskName"></h2>
|
2019-10-02 14:31:30 -07:00
|
|
|
<a is="emby-linkbutton" class="raised button-alt headerHelpButton" target="_blank" href="https://jellyfin.org/docs/general/server/tasks.html">${Help}</a>
|
2018-09-12 10:26:21 -07:00
|
|
|
</div>
|
2016-03-15 22:33:31 -07:00
|
|
|
<p id="pTaskDescription"></p>
|
2018-09-12 10:26:21 -07:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="readOnlyContent">
|
2016-03-15 22:33:31 -07:00
|
|
|
<div>
|
2018-09-12 10:26:21 -07:00
|
|
|
<h2 style="vertical-align: middle; display: inline-block;">
|
2016-03-15 22:33:31 -07:00
|
|
|
${HeaderTaskTriggers}
|
2017-06-18 00:09:29 -07:00
|
|
|
</h2>
|
2018-09-12 10:26:21 -07:00
|
|
|
<button is="emby-button" type="button" class="fab fab-mini btnAddTrigger submit" style="margin-left: 1em;" title="${ButtonAddScheduledTaskTrigger}">
|
|
|
|
<i class="md-icon"></i>
|
2016-06-04 20:50:07 -07:00
|
|
|
</button>
|
2013-02-20 18:33:05 -07:00
|
|
|
</div>
|
2016-03-15 22:33:31 -07:00
|
|
|
<div class="taskTriggers"></div>
|
|
|
|
</div>
|
2013-02-20 18:33:05 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-06-05 15:17:56 -07:00
|
|
|
<div data-role="popup" id="popupAddTrigger" class="dialog dialog-fixedSize dialog-medium-tall hide" style="position: fixed; top: 10%;">
|
2018-09-12 10:26:21 -07:00
|
|
|
<form class="addTriggerForm" style="padding:1em;">
|
2019-06-05 15:17:56 -07:00
|
|
|
<div class="ui-bar-a">
|
2016-03-15 22:33:31 -07:00
|
|
|
<h3>${HeaderAddScheduledTaskTrigger}</h3>
|
|
|
|
</div>
|
|
|
|
<div data-role="content">
|
2016-08-21 12:18:58 -07:00
|
|
|
<div class="selectContainer">
|
2017-07-03 10:15:46 -07:00
|
|
|
<select is="emby-select" id="selectTriggerType" class="selectTriggerType" label="${LabelTriggerType}">
|
2016-08-21 12:18:58 -07:00
|
|
|
<option value="DailyTrigger">${OptionDaily}</option>
|
|
|
|
<option value="WeeklyTrigger">${OptionWeekly}</option>
|
|
|
|
<option value="IntervalTrigger">${OptionOnInterval}</option>
|
|
|
|
<option value="StartupTrigger">${OptionOnAppStartup}</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div id="fldDayOfWeek" class="selectContainer">
|
|
|
|
<select is="emby-select" id="selectDayOfWeek" name="selectDayOfWeek" label="${LabelDay}">
|
|
|
|
<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>
|
|
|
|
</select>
|
|
|
|
</div>
|
2017-05-16 11:56:15 -07:00
|
|
|
<div id="fldTimeOfDay" class="selectContainer">
|
2018-09-12 10:26:21 -07:00
|
|
|
<select is="emby-select" id="selectTimeOfDay" label="${LabelTime}"></select>
|
2016-08-21 12:18:58 -07:00
|
|
|
</div>
|
|
|
|
<div id="fldSelectSystemEvent" class="selectContainer">
|
|
|
|
<select is="emby-select" id="selectSystemEvent" name="selectSystemEvent" label="${LabelEvent}">
|
|
|
|
<option value="WakeFromSleep">${OptionWakeFromSleep}</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div id="fldSelectInterval" class="selectContainer">
|
|
|
|
<select is="emby-select" id="selectInterval" label="${LabelEveryXMinutes}">
|
|
|
|
<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>
|
2018-09-12 10:26:21 -07:00
|
|
|
<option value="864000000000">24 hours</option>
|
2016-08-21 12:18:58 -07:00
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="inputContainer">
|
2018-09-12 10:26:21 -07:00
|
|
|
<input is="emby-input" id="txtTimeLimit" type="number" pattern="[0-9]*" min="1" step=".5" label="${LabelTimeLimitHours}" />
|
2016-08-21 12:18:58 -07:00
|
|
|
</div>
|
|
|
|
<div>
|
2019-06-05 15:17:56 -07:00
|
|
|
<button is="emby-button" type="submit" class="raised button-submit block" data-icon="check">
|
|
|
|
<span>${ButtonAdd}</span>
|
2016-08-21 12:18:58 -07:00
|
|
|
</button>
|
2019-06-05 15:17:56 -07:00
|
|
|
<button is="emby-button" type="button" class="raised button-cancel block" data-icon="delete" onclick="$(this).parents('.dialog').addClass('hide');">
|
|
|
|
<span>${ButtonCancel}</span>
|
2016-08-21 12:18:58 -07:00
|
|
|
</button>
|
|
|
|
</div>
|
2016-03-15 22:33:31 -07:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2019-06-05 15:17:56 -07:00
|
|
|
</div>
|