summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/hardware.html
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2022-02-23 09:58:30 +0100
committerJose M. Guisado <jguisado@soleta.eu>2022-02-23 09:58:30 +0100
commitc5cb75eea341805c6b5d2109b86138ff2c7bd00f (patch)
tree3b5627dd9d18eba894fc79e6d12422490593cca8 /ogcp/templates/actions/hardware.html
parentca00bd5e89a74579bcae34a88e464b469f79c8fa (diff)
Move 'Update' button up in hardware view
Diffstat (limited to 'ogcp/templates/actions/hardware.html')
-rw-r--r--ogcp/templates/actions/hardware.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/ogcp/templates/actions/hardware.html b/ogcp/templates/actions/hardware.html
index 70a24de..6b6e4d2 100644
--- a/ogcp/templates/actions/hardware.html
+++ b/ogcp/templates/actions/hardware.html
@@ -7,7 +7,13 @@
<h1 class="m-5">{{_('Hardware inventory')}}</h1>
-<h2 class="mb-3 mx-5">Selected client: {{ form.ips.data }}</h1>
+<h2 class="mb-3 mx-5">{{ _('Selected client:') }} {{ form.ips.data }}</h1>
+
+{{ wtf.quick_form(form,
+ action=url_for('action_hardware'),
+ method='post',
+ button_map={'refresh': 'primary'},
+ extra_classes='m-2')}}
<table class="table table-striped">
<thead class="thead-dark">
@@ -26,9 +32,5 @@
</tbody>
</table>
-{{ wtf.quick_form(form,
- action=url_for('action_hardware'),
- method='post',
- button_map={'refresh': 'primary'}) }}
{% endblock %}