summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/actions/software.html4
-rw-r--r--ogcp/templates/actions/software_list.html29
2 files changed, 32 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>
diff --git a/ogcp/templates/actions/software_list.html b/ogcp/templates/actions/software_list.html
new file mode 100644
index 0000000..8c50edb
--- /dev/null
+++ b/ogcp/templates/actions/software_list.html
@@ -0,0 +1,29 @@
+{% 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>
+
+<h2 class="mb-3 mx-5">{{ _('Selected client:') }} {{ form.ips.data }}</h1>
+
+<table class="table table-striped">
+ <thead class="thead-dark">
+ <tr>
+ <th scope="col">{{ _('Item') }}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for item in software %}
+ <tr>
+ <td>{{ item }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>
+
+
+{% endblock %}
+