diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2020-10-29 14:59:13 +0100 |
---|---|---|
committer | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-10-29 15:03:35 +0100 |
commit | c08aca92196cdd8df4c8d81da71e248b407f5bb2 (patch) | |
tree | aa61c3524b58a0b50886a92cf4fe6eca36ba822b /ogcp/templates | |
parent | a8d7494ab9601d2ea4fb2065018580fb2a1c95b3 (diff) |
Add software action
This action lists every piece of software installed in an OS from a
client.
This action can handle listing the software from the DB as well as
updating that DB with the latest client information.
Diffstat (limited to 'ogcp/templates')
-rw-r--r-- | ogcp/templates/actions/software.html | 11 | ||||
-rw-r--r-- | ogcp/templates/scopes.html | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/ogcp/templates/actions/software.html b/ogcp/templates/actions/software.html new file mode 100644 index 0000000..713f89b --- /dev/null +++ b/ogcp/templates/actions/software.html @@ -0,0 +1,11 @@ +{% extends 'base.html' %} +{% import "bootstrap/wtf.html" as wtf %} + +{% block content %} + +{{ wtf.quick_form(form, + action=url_for('action_software'), + method='post', + button_map={'view': 'primary', 'update': 'primary'}) }} + +{% endblock %} diff --git a/ogcp/templates/scopes.html b/ogcp/templates/scopes.html index 19ce9d8..d810b2a 100644 --- a/ogcp/templates/scopes.html +++ b/ogcp/templates/scopes.html @@ -42,6 +42,8 @@ formaction="{{ url_for('action_refresh') }}" formmethod="post"> <input class="dropdown-item" type="submit" value="{{ _('Hardware') }}" formaction="{{ url_for('action_hardware') }}" formmethod="get"> + <input class="dropdown-item" type="submit" value="{{ _('Software') }}" + formaction="{{ url_for('action_software') }}" formmethod="get"> <input class="dropdown-item" type="submit" value="{{ _('Sessions') }}" formaction="{{ url_for('action_session') }}" formmethod="get"> <input class="dropdown-item" type="submit" value="{{ _('Restore Image') }}" |