mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 01:10:10 +00:00
Added possibility to send notification to recipients (#7781)
This commit is contained in:
parent
54fdef7f10
commit
b691841321
15 changed files with 285 additions and 122 deletions
|
|
@ -36,7 +36,22 @@
|
|||
</div>
|
||||
<div class="recipient-template-container">
|
||||
</div>
|
||||
<hr>
|
||||
<hr class="hide-on-default-recipient">
|
||||
<div class="mb-3 row hide-on-default-recipient">
|
||||
<label class="col-form-label col-sm-3" for="edit-recipient-notifications-type">
|
||||
<b>{{ i18n("endpoint_notifications.notifications_type") }}</b>
|
||||
</label>
|
||||
<div class="col-sm-7">
|
||||
<select required name="recipient_notifications_type" class="form-select" id="edit-recipient-notifications-type">
|
||||
{% for id, title in pairsByValues(notification_types, asc) do %}
|
||||
<option {{ternary((id == alerts), 'selected', '')}} value="{{ id }}">{{ title }}</option>
|
||||
{% end %}
|
||||
</select>
|
||||
<small>{{ i18n('endpoint_notifications.notifications_type_notes') }}</small>
|
||||
</div>
|
||||
</div>
|
||||
<div id="edit_alert_filters">
|
||||
<hr>
|
||||
<div class="mb-3 row hide-on-default-recipient">
|
||||
<label class="col-form-label col-sm-3" for="edit-recipient-host-pools-select">
|
||||
<b>{{ i18n("host_pools.host_pools") }}</b>
|
||||
|
|
@ -149,6 +164,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<span class="invalid-feedback"></span>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue