{% extends "panel.html.twig" %}

{% block panel_contents %}
    <h1 class="title">Server '{{ server.getFqdn() }}'</h1>
    <div class="server-form" data-fingerprint="{{ server.getFingerprint() }}">
        <div class="row">
            <label for="fqdn">Hostname</label>
            <label>{{ server.getFqdn() }}</label>
        </div>
        <div class="row">
            <label for="external-ip">External IP</label>
            <label>{{ server.getExternalIp() }}</label>
        </div>
        <h2>Details</h2>
        <div class="row">
            <label for="location">Location</label>
            <label>{{ server.getLocation() }}</label>
        </div>
        <div class="row">
            <label for="speed">Speed</label>
            <label>{{ server.getSpeed() }}</label>
        </div>
        <h2>Config</h2>
        <div class="row">
            <label for="internal-ip">Internal IP</label>
            <label>{{ server.getInternalIp() }}</label>
        </div>
        <div class="row">
            <label>Netmask</label>
            <label>{{ server.getNetmask() }}</label>
        </div>
        <div class="row">
            <label>Port</label>
            <label>{{ server.getPort() }}</label>
        </div>
        <div class="row">
            <label>Protocol</label>
            <label>{{ server.getProtocol() }}</label>
        </div>
        <div class="row">
            <label for="first-dns">first DNS</label>
            <label>{{ server.getFirstDns() }}</label>
        </div>
        <div class="row">
            <label class="control-label col-md-4" for="second-dns">second DNS</label>
            <label>{{ server.getSecondDns() }}</label>
        </div>
    </div>
{% endblock %}