summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/client_details.html
blob: e462205b3bb1850c138c1002e9d8ca7eab3d2c85 (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
44
45
46
47
48
49
50
51
52
{% 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 %}

{% set ip_list = [form.ip.data] %}

<h2 class="mx-5 subhead-heading">{{_('Client details')}}</h2>

<div class="container mx-5">
    <form class="form" method="POST">
        {{ form.hidden_tag() }}

        {{ form.server() }}
        {{ form.folder_id() }}

        {% for field in form if field.type != 'CSRFToken' and field.name not in ['submit', 'remote', 'maintenance'] %}
            {% if not field.flags.hidden %}
            <div class="form-group row">
                <label for="{{ field.id }}" class="col-sm-2 col-form-label">{{ field.label.text }}</label>
                <div class="col-sm-9">
                    {{ field(class="form-control") }}
                </div>
            </div>
            {% endif %}
        {% endfor %}

        <div class="form-group">
            {{ form.submit(class="btn btn-primary") }}
        </div>
    </form>
</div>

{% set show_part_images = True %}
{% set readonly_disk_inspector = True %}
{% include 'disk_inspector.html' %}

<br>

{% include 'cache_inspector.html' %}

<br>

{% include 'efi_inspector.html' %}

{% endblock %}