summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/hardware.html
blob: c447c573b5d6f837d09bedc5bb5aa83025a07244 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% extends 'base.html' %}
{% import "bootstrap/wtf.html" as wtf %}

{% block content %}

<h1 class="m-5">{{_('Hardware 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>
      <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 %}