diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2022-02-23 09:58:30 +0100 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2022-02-23 09:58:30 +0100 |
commit | c5cb75eea341805c6b5d2109b86138ff2c7bd00f (patch) | |
tree | 3b5627dd9d18eba894fc79e6d12422490593cca8 /ogcp | |
parent | ca00bd5e89a74579bcae34a88e464b469f79c8fa (diff) |
Move 'Update' button up in hardware view
Diffstat (limited to 'ogcp')
-rw-r--r-- | ogcp/templates/actions/hardware.html | 12 |
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 %} |