Moves items_list.template to standard user_script_templates/

This commit is contained in:
Simone Mainardi 2021-06-03 11:40:56 +02:00
parent 0385651aaf
commit 27d6f53c4b
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{#
(C) 2020 - ntop.org
Defined fields:
* hook_name: contains the name for the current rendered hook
* hook_conf: contains the configuration for the current rendered hook
* user_script: contains data about the loaded user script
#}
<div class="form-group mb-3 row">
<label class="col-sm-2 col-form-label">{{ i18n("enabled") }}</label>
<div class="col-2">
<div class="custom-control custom-switch">
<input id="items-checkbox" name="enabled" class="custom-control-input" type="checkbox" {{ (hook_conf.enabled and 'checked' or '') }}>
<label class="custom-control-label" for="items-checkbox"></label>
</div>
</div>
</div>