mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
add switches instead checkboxes
This commit is contained in:
parent
502ab1f86b
commit
bec4c8184d
12 changed files with 134 additions and 57 deletions
|
|
@ -893,10 +893,13 @@ local function printConfigTab(entity_type, entity_value, page_name, page_params,
|
|||
print[[<tr>
|
||||
<th width="25%">]] print(i18n("device_protocols.alert")) print[[</th>
|
||||
<td>
|
||||
<input type="checkbox" name="trigger_alerts" value="1" ]] print(trigger_alerts_checked) print[[>
|
||||
<i class="fas fa-exclamation-triangle fa-lg"></i>
|
||||
]] print(enable_label) print[[
|
||||
</input>
|
||||
<div class="custom-control custom-switch">
|
||||
<input id="check-trigger_alerts" class="custom-control-input" type="checkbox" name="trigger_alerts" value="1" ]] print(trigger_alerts_checked) print[[>
|
||||
<label class="custom-control-label" for="check-trigger_alerts">
|
||||
<i class="fas fa-exclamation-triangle fa-lg"></i>
|
||||
]] print(enable_label) print[[
|
||||
</label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>]]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue