{% extends "layout.html" %}

{% block additional_css %}
{{ super() }}
<link rel="stylesheet" type="text/css" href="{{url_for('wizard.static', filename='css/wizard.css')}}">
{% endblock %}

{% block top %}
<div id="b-tmenu">
    <div id="toolbox">
        <div id="logo"><img src="{{url_for('static_theme', filename='img/menu/top/logo.gif')}}" alt="XIVO"></div>
        <div class="nav"></div>
        <div id="tooltips">&nbsp;</div>
        <div id="toolbar"></div>
    </div>
</div>
{% endblock %}

{% block nav %}
&nbsp;
{% endblock %}

{% block content %}
<form action="" method="post" accept-charset="utf-8">
    {{ form.csrf_token }}
    <p class="fm-desc-inline">
        {{ _('wizard_welcome_message') }}
    </p>
    <div class="b-field">
        <fieldset id="fld-system">
            <legend>{{ _('Wizard System') }}</legend>
            <p class="fm-paragraph"><label id="lb-hostname" for="it-hostname">{{ form.hostname.label.text }} :</label> {{ form.hostname }}</p>
            <p class="fm-paragraph"><label id="lb-domain" for="it-domain">{{ form.domain.label.text }} :</label> {{ form.domain }}</p>
            <p class="fm-paragraph"><label id="lb-timezone" for="it-timezone">{{ form.timezone.label.text }} :</label> {{ form.timezone }}</p>
            <p class="fm-paragraph"><label id="lb-nameservers" for="it-nameservers">{{ form.nameservers.label.text }} :</label> {{ form.nameservers }}</p>
        </fieldset>
        <fieldset id="fld-user">
            <legend>{{ _('Wizard User') }}</legend>
            <p class="fm-paragraph"><label id="lb-username" for="it-username">{{ form.username.label.text }} :</label> {{ form.username }}</p>
            <p class="fm-paragraph"><label id="lb-password" for="it-password">{{ form.password.label.text }} :</label> {{ form.password }}</p>
            <p class="fm-paragraph"><label id="lb-email" for="it-email">{{ form.email.label.text }} :</label> {{ form.email }}</p>
        </fieldset>
        <p class="fm-paragraph-submit"><input type="submit" name="submit" id="it-submit" class="itb-submit" value="{{ _('Submit Wizard') }}"></p>
    </div>
</form>
{% endblock %}
