Add notification for Plex external port down

This commit is contained in:
Jonathan Wong
2015-11-17 21:55:07 -08:00
parent ca91adbd53
commit 223e2b2b32
6 changed files with 142 additions and 56 deletions

View File

@@ -66,10 +66,17 @@ from plexpy import helpers
</div>
<div class="checkbox">
<label>
<input type="checkbox" data-size="small" data-id="${data['id']}" data-config-name="${data['config_prefix']}_on_down" ${helpers.checked(data['on_down'])} class="toggle-switches">
Notify on server down
<input type="checkbox" data-size="small" data-id="${data['id']}" data-config-name="${data['config_prefix']}_on_extdown" ${helpers.checked(data['on_extdown'])} class="toggle-switches">
Notify on Plex external port down
</label>
<p class="help-block">Trigger notification when the Plex Media Server cannot be reached.</p>
<p class="help-block">Trigger notification when the Plex Media Server cannot be reached externally.</p>
</div>
<div class="checkbox">
<label>
<input type="checkbox" data-size="small" data-id="${data['id']}" data-config-name="${data['config_prefix']}_on_intdown" ${helpers.checked(data['on_intdown'])} class="toggle-switches">
Notify on Plex server down
</label>
<p class="help-block">Trigger notification when the Plex Media Server cannot be reached internally.</p>
</div>
</div>
</div>