diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2022-02-23 11:10:02 +0100 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2022-02-23 11:42:25 +0100 |
commit | ee2e7a86dda2b93223716d81f78f0885f9cfe032 (patch) | |
tree | ee011c9baf94db7e902705482794b815989514ba /ogcp/templates/actions/software.html | |
parent | a940fb185bca424830d1e07e7630b5b13752c6d9 (diff) |
Improve software inventory command
Extend commands.html template to keep scope tree, and action buttons
state.
When in the software inventory view, there exists two options: 'update'
or 'view'. Do not print raw json response from ogserver about the software
inventory/profile.
When vieweing the software list, print a html table using the new
template: software_list.html.
Do not print blank pages with plain text html error codes when something
goes wrong. Instead, print an error message after redirecting to the
commands view.
Diffstat (limited to 'ogcp/templates/actions/software.html')
-rw-r--r-- | ogcp/templates/actions/software.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ogcp/templates/actions/software.html b/ogcp/templates/actions/software.html index 71dc0ae..9393537 100644 --- a/ogcp/templates/actions/software.html +++ b/ogcp/templates/actions/software.html @@ -1,6 +1,8 @@ -{% extends 'base.html' %} +{% extends 'commands.html' %} {% import "bootstrap/wtf.html" as wtf %} +{% block nav_inventory %} active{% endblock %} +{% block nav_inventory_software %} active{% endblock %} {% block content %} <h1 class="m-5">{{_('Software Inventory')}}</h1> |