Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

machine.html 1.81 KB
Newer Older
1
{% extends "machines/sidebar.html" %}
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
{% comment %}
Re2o est un logiciel d'administration développé initiallement au rezometz. Il
se veut agnostique au réseau considéré, de manière à être installable en
quelques clics.

Copyright © 2017  Gabriel Détraz
Copyright © 2017  Goulven Kermarec
Copyright © 2017  Augustin Lemesle

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 %}

26
{% load bootstrap3 %}
27
{% load bootstrap_form_typeahead %}
28 29 30 31

{% block title %}Création et modification de machines{% endblock %}

{% block content %}
chirac's avatar
chirac committed
32
{% if machineform %}
33
{% bootstrap_form_errors machineform %}
chirac's avatar
chirac committed
34
{% endif %}
35
{% if interfaceform %}
36
{% bootstrap_form_errors interfaceform %}
37
{% endif %}
chirac's avatar
chirac committed
38
{% if domainform %}
39
{% bootstrap_form_errors domainform %}
chirac's avatar
chirac committed
40 41
{% endif %}

42 43
<form class="form" method="post">
    {% csrf_token %}
chirac's avatar
chirac committed
44
    {% if machineform %}
45
    {% bootstrap_form machineform %}
chirac's avatar
chirac committed
46
    {% endif %}
47
    {% if interfaceform %}
48
    {% bootstrap_form_typeahead interfaceform 'ipv4,type' %}
49
    {% endif %}
chirac's avatar
chirac committed
50 51 52
    {% if domainform %}
    {% bootstrap_form domainform %}
    {% endif %}
53 54 55 56 57 58
    {% bootstrap_button "Créer ou modifier" button_type="submit" icon="star" %}
</form>
  <br />
  <br />
  <br />
{% endblock %}