mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Adds slack, webhook and syslog notification endpoints
This commit is contained in:
parent
d592b3b43c
commit
0cf69d9996
11 changed files with 98 additions and 42 deletions
|
|
@ -1,19 +1,11 @@
|
|||
<div class="form-group row">
|
||||
<label class="col-form-label col-sm-3">
|
||||
<b>{{ i18n("syslog_alert_endpoint.type") }}</b>
|
||||
<b>{{ i18n("syslog_alert_endpoint.syslog_alert_format") }}</b>
|
||||
</label>
|
||||
<div class="col-sm-5">
|
||||
<select name="type" class="form-control" required>
|
||||
<option value="text">{{ i18n("syslog_alert_endpoint.text") }}</option>
|
||||
<select name="syslog_alert_format" class="form-control" required>
|
||||
<option value="plaintext">{{ i18n("syslog_alert_endpoint.text") }}</option>
|
||||
<option value="json">JSON</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-form-label col-sm-3">
|
||||
<b>{{ i18n("syslog_alert_endpoint.content") }}</b>
|
||||
</label>
|
||||
<div class="col-sm-7">
|
||||
<textarea name="content" rows="5" class="form-control" required></textarea>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue