summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/client_details.html
blob: 42b03c79e145294ccbc0150b955631af572ffc00 (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
33
34
35
36
37
38
39
40
41
42
43
{% extends parent %}
{% import "bootstrap/wtf.html" as wtf %}

{% set sidebar_state = 'disabled' %}
{% set btn_back = true %}

{% block nav_client %} active{% endblock %}
{% block nav_client_details %} active{% endblock %}
{% block nav_client_add %}active{% endblock %}
{% block content %}

<h1 class="m-5">{{_('Client details')}}</h1>

{{ wtf.quick_form(form,
                  method='post',
                  button_map={'submit': 'primary'},
                  extra_classes="mx-5") }}

<table class="table">
    <tbody class="text-center">
        <tr>
            <th>{{_('Partition')}}</th>
            <th>{{_('Type')}}</th>
            <th>{{_('Filesystem')}}</th>
            <th>{{_('Size')}} (MiB)</th>
            <th>{{_('Image')}}</th>
            <th colspan="2"></th>
        </tr>
    </tbody>
    <tbody class="text-center">
    {% for entry in setup %}
        <tr>
            <td>{{ entry.partition }}</td>
            <td>{{ entry.code }}</td>
            <td>{{ entry.filesystem }}</td>
            <td>{{ entry.size // 1024}}</td>
            <td>{{ entry.image }}</td>
        </tr>
    {% endfor %}
    </tbody>
</table>

{% endblock %}