jellyfin-web/dashboard-ui/notificationsetting.html
2015-01-02 00:36:27 -05:00

96 lines
4.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>${TitleAdvanced}</title>
</head>
<body>
<div id="notificationSettingPage" data-role="page" class="page type-interior advancedConfigurationPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Notifications">
<div data-role="content">
<div class="content-primary">
<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" class="ui-btn-active">${TabNotifications}</a>
<a href="scheduledtasks.html" data-role="button">${TabScheduledTasks}</a>
</div>
<h2 class="notificationType" style="margin-bottom: 0;"></h2>
<form class="notificationSettingForm">
<ul data-role="listview" class="ulForm">
<li>
<input type="checkbox" id="chkEnabled" data-mini="true" />
<label for="chkEnabled">${LabelNotificationEnabled}</label>
</li>
</ul>
<div class="monitorUsers" style="display: none;">
<label>${LabelMonitorUsers}</label>
<div class="monitorUsersList">
</div>
<br />
<br />
</div>
<div>
<div>
<label for="selectUsers">${LabelSendNotificationToUsers}</label>
<select id="selectUsers" data-mini="true">
<option value="All">${OptionAllUsers}</option>
<option value="Admins">${OptionAdminUsers}</option>
<option value="Custom">${OptionCustomUsers}</option>
</select>
</div>
<div class="selectCustomUsers" style="display: none;">
<br />
<label>${LabelSelectUsers}</label>
<div class="sendToUsersList">
</div>
</div>
<br />
<br />
</div>
<div>
<label>${LabelUseNotificationServices}</label>
<div class="servicesList">
</div>
<div class="fieldDescription">${AdditionalNotificationServices}</div>
<br />
</div>
<br />
<ul data-role="listview" class="ulForm">
<li>
<label for="txtTitle">${LabelMessageTitle}</label>
<input id="txtTitle" type="text" required="required" />
<div class="fieldDescription tokenHelp">
<div>${LabelAvailableTokens}</div>
<div class="tokenList" style="margin-top: .5em;"></div>
</div>
</li>
<li>
<br />
<button type="submit" data-theme="b" data-icon="check" data-mini="true">
${ButtonSave}
</button>
<button type="button" onclick="Dashboard.navigate('notificationsettings.html');" data-icon="delete" data-mini="true">
${ButtonCancel}
</button>
</li>
</ul>
</form>
</div>
</div>
<script type="text/javascript">
$('.notificationSettingForm').off('submit', NotificationSettingPage.onSubmit).on('submit', NotificationSettingPage.onSubmit);
</script>
</div>
</body>
</html>