summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/client_details.html
blob: f6c2fd18d28716a2769eaca0d7728bbb52d8bcc2 (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
{% extends parent %}
{% import "bootstrap/wtf.html" as wtf %}

{% set sidebar_state = 'disabled' %}

{% 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={'create': 'primary'},
                  extra_classes="mx-5") }}

<table class="table">
    <tbody class="text-center">
        <tr>
            <th>Partition</th>
            <th>Type</th>
            <th>Filesytem</th>
            <th>Size (MB)</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 %}