jellyfin-web/dashboard-ui/notificationsetting.html
2015-06-08 00:47:19 -04:00

91 lines
3.8 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>${TitleNotifications}</title>
</head>
<body>
<div id="notificationSettingPage" data-role="page" class="page type-interior notificationConfigurationPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Notifications" data-require="scripts/notificationsetting">
<div data-role="content">
<div class="content-primary">
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
<a href="notificationsettings.html" data-role="button" class="ui-btn-active">${TabNotifications}</a>
<a href="appservices.html?context=notifications" data-role="button">${TabServices}</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">
<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">
${ButtonSave}
</button>
<button type="button" onclick="Dashboard.navigate('notificationsettings.html');" data-icon="delete">
${ButtonCancel}
</button>
</li>
</ul>
</form>
</div>
</div>
</div>
</body>
</html>