mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 17:00:10 +00:00
Adds bootstrap-5.0.0-beta3-dist Adds bootstrap-5.0.0 Updates bootstrap-5.0.0-beta3-dist to bootstrap-5.0.0-dist initial migration to bs v5 porting to bs5 improvements on dropdown menu filter fixed host map dropdown removed excessive padding fix button toggle re-add blog news removed text decoration for links fix button layout (#5348) remove underscore from href (#5347)
32 lines
No EOL
984 B
Text
32 lines
No EOL
984 B
Text
<div class="mb-3 row">
|
|
<label class="col-form-label col-sm-3">
|
|
<b>{{ i18n("shell_alert_endpoint.shell_script") }}</b>
|
|
</label>
|
|
<div class="col-sm-5">
|
|
<select name="shell_script" class="form-select" required>
|
|
{%
|
|
for key, dir in pairs(ntop.readdir("/usr/share/ntopng/scripts/shell/")) do
|
|
if(key:match('^(.*).sh$')) then
|
|
%}
|
|
<option value='{{ key }}'>{{ dir }}</option>
|
|
{%
|
|
end
|
|
%}
|
|
{%
|
|
end
|
|
%}
|
|
{%
|
|
for key, dir in pairs(ntop.readdir(dirs.installdir.."/scripts/shell")) do
|
|
if(key:match('^(.*).sh$')) then
|
|
%}
|
|
<option value='{{ key }}'>{{ dir }}</option>
|
|
{%
|
|
end
|
|
%}
|
|
{%
|
|
end
|
|
%}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<small>{* i18n('shell_alert_endpoint.shell_description.path_description') *}</small> |