mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
add dropdown severity into user scripts
This commit is contained in:
parent
5bff4a1f31
commit
4422d669f1
4 changed files with 42 additions and 3 deletions
|
|
@ -9,6 +9,19 @@
|
|||
|
||||
<table class='table table-borderless' id='script-config-editor'>
|
||||
</table>
|
||||
|
||||
<div class="form-group row" style="padding: .75rem 1.25rem" id="alert-severity-select">
|
||||
<label class="col-sm-4 col-form-label">
|
||||
Alert Severity:
|
||||
</label>
|
||||
<div class="col-sm-6">
|
||||
<select class="form-control" name="severity">
|
||||
{% for key, severity in pairsByField(alert_severities, 'severity_id', asc) do %}
|
||||
<option name='{{ severity.severity_id }}'>{{ i18n(severity.i18n_title) }}</option>
|
||||
{% end %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id='script-description' class='alert alert-light' role='alert'>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue