{% 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 show_free_size = True %}
{% set readonly_disk_inspector = True %}
{% include 'disk_inspector.html' %}

<br>

{% include 'cache_inspector.html' %}

<br>

{% include 'efi_inspector.html' %}

{% endblock %}
