mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add new notification features
This commit is contained in:
parent
b94fa3f72c
commit
28ea06a627
9 changed files with 320 additions and 812 deletions
|
@ -16,61 +16,17 @@
|
|||
<a href="advancedserversettings.html" data-role="button">${TabServer}</a>
|
||||
<a href="encodingsettings.html" data-role="button">${TabTranscoding}</a>
|
||||
</div>
|
||||
<form class="notificationSettingsForm">
|
||||
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<label>${HeaderEnableNotificationForEvents}</label>
|
||||
<div data-role="controlgroup">
|
||||
<input type="checkbox" data-mini="true" id="chkNewLibraryContent" />
|
||||
<label for="chkNewLibraryContent">${OptionNotifyOnNewLibraryContent}</label>
|
||||
<div class="readOnlyContent">
|
||||
<p>${HeaderNotificationList}</p>
|
||||
<p>${SendNotificationHelp}</p>
|
||||
|
||||
<input type="checkbox" data-mini="true" id="chkFailedTasks" />
|
||||
<label for="chkFailedTasks">${OptionNotifyOnFailedTasks}</label>
|
||||
<div class="notificationList" style="margin-top: 2em;">
|
||||
</div>
|
||||
|
||||
<input type="checkbox" data-mini="true" id="chkServerRestartRequired" />
|
||||
<label for="chkServerRestartRequired">${OptionNotifyOnServerRestartRequired}</label>
|
||||
|
||||
<input type="checkbox" data-mini="true" id="chkUpdates" />
|
||||
<label for="chkUpdates">${OptionNotifyOnUpdates}</label>
|
||||
|
||||
<div class="fieldDescription">${SendNotificationHelp}</div>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
|
||||
<label>${HeaderEnableNotificationForPlayback}</label>
|
||||
<div data-role="controlgroup">
|
||||
<input type="checkbox" data-mini="true" id="chkVideoPlayback" />
|
||||
<label for="chkVideoPlayback">${OptionNotifyOnVideoPlayback}</label>
|
||||
|
||||
<input type="checkbox" data-mini="true" id="chkAudioPlayback" />
|
||||
<label for="chkAudioPlayback">${OptionNotifyOnAudioPlayback}</label>
|
||||
|
||||
<input type="checkbox" data-mini="true" id="chkGamePlayback" />
|
||||
<label for="chkGamePlayback">${OptionNotifyOnGamePlayback}</label>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<br />
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<button type="submit" data-theme="b" data-icon="check" data-mini="true">
|
||||
${ButtonSave}
|
||||
</button>
|
||||
<button type="button" onclick="Dashboard.navigate('dashboard.html');" data-icon="delete" data-mini="true">
|
||||
${ButtonCancel}
|
||||
</button>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$('.notificationSettingsForm').off('submit', NotificationSettingsPage.onSubmit).on('submit', NotificationSettingsPage.onSubmit);
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue