{% extends 'machines/sidebar.html' %} {% comment %} Re2o est un logiciel d'administration développé initiallement au Rézo Metz. Il se veut agnostique au réseau considéré, de manière à être installable en quelques clics. Copyright © 2017 Gabriel Détraz Copyright © 2017 Lara Kermarec Copyright © 2017 Augustin Lemesle Copyright © 2017 Maël Kervella This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. {% endcomment %} {% load bootstrap3 %} {% load i18n %} {% block title %}{% trans "Machines" %}{% endblock %} {% block content %} {% if machineform %} {% bootstrap_form_errors machineform %} {{ machineform.media }} {% endif %} {% if interfaceform %} {% bootstrap_form_errors interfaceform %} {{ interfaceform.media }} {% endif %} {% if domainform %} {% bootstrap_form_errors domainform %} {% endif %} {% if iptypeform %} {% bootstrap_form_errors iptypeform %} {{ iptypeform.media }} {% endif %} {% if machinetypeform %} {% bootstrap_form_errors machinetypeform %} {{ machinetypeform.media }} {% endif %} {% if extensionform %} {% bootstrap_form_errors extensionform %} {% endif %} {% if mxform %} {% bootstrap_form_errors mxform %} {{ mxform.media }} {% endif %} {% if nsform %} {% bootstrap_form_errors nsform %} {{ nsform.media }} {% endif %} {% if txtform %} {% bootstrap_form_errors txtform %} {{ txtform.media }} {% endif %} {% if dnameform %} {% bootstrap_form_errors dnameform %} {{ dnameform.media }} {% endif %} {% if srvform %} {% bootstrap_form_errors srvform %} {{ srvform.media }} {% endif %} {% if aliasform %} {% bootstrap_form_errors aliasform %} {{ aliasform.media }} {% endif %} {% if serviceform %} {% bootstrap_form_errors serviceform %} {{ serviceform.media }} {% endif %} {% if sshfpform %} {% bootstrap_form_errors sshfpform %} {% endif %} {% if roleform %} {% bootstrap_form_errors roleform %} {{ roleform.media }} {% endif %} {% if vlanform %} {% bootstrap_form_errors vlanform %} {% endif %} {% if nasform %} {% bootstrap_form_errors nasform %} {{ nasform.media }} {% endif %} {% if ipv6form %} {% bootstrap_form_errors ipv6form %} {% endif %}
{% csrf_token %} {% if machineform %}

{% trans "Machine" %}

{% bootstrap_form machineform %} {% endif %} {% if interfaceform %}

{% trans "Interface" %}

{% bootstrap_form interfaceform %} {% endif %} {% if domainform %}

{% trans "Domain" %}

{% bootstrap_form domainform %} {% endif %} {% if iptypeform %}

{% trans "IP type" %}

{% bootstrap_form iptypeform %} {% endif %} {% if machinetypeform %}

{% trans "Machine type" %}

{% bootstrap_form machinetypeform %} {% endif %} {% if extensionform %}

{% trans "Extension" %}

{% bootstrap_form extensionform %} {% endif %} {% if soaform %}

{% trans "SOA record" %}

{% bootstrap_form soaform %} {% endif %} {% if mxform %}

{% trans "MX record" %}

{% bootstrap_form mxform %} {% endif %} {% if nsform %}

{% trans "NS record" %}

{% bootstrap_form nsform %} {% endif %} {% if txtform %}

{% trans "TXT record" %}

{% bootstrap_form txtform %} {% endif %} {% if dnameform %}

{% trans "DNAME record" %}

{% bootstrap_form dnameform %} {% endif %} {% if srvform %}

{% trans "SRV record" %}

{% bootstrap_form srvform %} {% endif %} {% if sshfpform %}

{% trans "SSHFP record" %}

{% bootstrap_form sshfpform %} {% endif %} {% if aliasform %}

{% trans "Alias" %}

{% bootstrap_form aliasform %} {% endif %} {% if serviceform %}

{% trans "Service" %}

{% bootstrap_form serviceform %} {% endif %} {% if roleform %}

Role

{% bootstrap_form roleform %} {% endif %} {% if vlanform %}

{% trans "VLAN" %}

{% bootstrap_form vlanform %} {% endif %} {% if nasform %}

{% trans "NAS device" %}

{% bootstrap_form nasform %} {% endif %} {% if ipv6form %}

{% trans "IPv6 address" %}

{% bootstrap_form ipv6form %} {% endif %} {% bootstrap_button action_name button_type="submit" icon='ok' button_class='btn-success' %}
{% endblock %}