diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-06-21 13:14:51 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-06-25 13:53:04 +0200 |
commit | 0ed9ecdae9a7e4c7fbb30af30ef4310cd45f2143 (patch) | |
tree | 0abf1330b55891c18ba62c39a39977cfc0566ab3 /ogcp/templates/commands.html | |
parent | af8236b18948b083c408df39306fc36bc26b51b7 (diff) |
ogcp: add support to view script output
Add view at /action/script/output to visualize the result of
/shell/run for multiple clients.
Use shell/output to request the execution data of the selected clients.
Each client element has execution timestamip (UTC), client ip, cmd,
return code and stdout of the executed command.
Diffstat (limited to 'ogcp/templates/commands.html')
-rw-r--r-- | ogcp/templates/commands.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/templates/commands.html b/ogcp/templates/commands.html index eab9f29..7a63c38 100644 --- a/ogcp/templates/commands.html +++ b/ogcp/templates/commands.html @@ -94,6 +94,8 @@ <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> <input class="btn btn-light dropdown-item{% block nav_run_script %}{% endblock %}" type="submit" value="{{ _('Run') }}" form="scopesForm" formaction="{{ url_for('action_run_script') }}" formmethod="get"> + <input class="btn btn-light dropdown-item{% block nav_display_output %}{% endblock %}" type="submit" value="{{ _('Display output') }}" + form="scopesForm" formaction="{{ url_for('action_script_display_output') }}" formmethod="get"> </div> <div class="dropdown btn"> |