summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/hardware.html
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-10-27 11:15:19 +0100
committerRoberto Hueso Gómez <rhueso@soleta.eu>2020-10-27 11:15:19 +0100
commit282984d0ac17236bee19375607fa9a413d0b4057 (patch)
tree125aee8cada314333bde2b0694c62802f5d4bffe /ogcp/templates/actions/hardware.html
parent8fa8ca3f42d66e0c38b1d49e3baabf767103ae8b (diff)
Add templates for clients, hardware, restore, session and setup
These templates were not added in previous commits.
Diffstat (limited to 'ogcp/templates/actions/hardware.html')
-rw-r--r--ogcp/templates/actions/hardware.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/ogcp/templates/actions/hardware.html b/ogcp/templates/actions/hardware.html
new file mode 100644
index 0000000..31f4d81
--- /dev/null
+++ b/ogcp/templates/actions/hardware.html
@@ -0,0 +1,28 @@
+{% extends 'base.html' %}
+{% import "bootstrap/wtf.html" as wtf %}
+
+{% block content %}
+
+<table class="table table-striped">
+ <thead class="thead-dark">
+ <tr>
+ <th scope="col">{{ _('Item') }}</th>
+ <th scope="col">{{ _('Type') }}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for item in hardware %}
+ <tr>
+ <td>{{ item['description'] }}</td>
+ <td>{{ item['type'] }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>
+
+{{ wtf.quick_form(form,
+ action=url_for('action_hardware'),
+ method='post',
+ button_map={'refresh': 'primary'}) }}
+
+{% endblock %}