2017-01-15 23:48:09 +00:00
{% extends "machines/sidebar.html" %}
2017-01-15 23:07:42 +00:00
{% 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 %}
2016-07-08 15:54:06 +00:00
{% load bootstrap3 %}
{% block title %}Machines{% endblock %}
{% block content %}
< h2 > Liste des extensions< / h2 >
2016-07-09 13:47:10 +00:00
{% if is_infra %}
2016-07-08 15:54:06 +00:00
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'machines:add-extension' %}" > < i class = "glyphicon glyphicon-plus" > < / i > Ajouter une extension< / a >
2016-07-21 14:58:12 +00:00
< a class = "btn btn-danger btn-sm" role = "button" href = "{% url 'machines:del-extension' %}" > < i class = "glyphicon glyphicon-trash" > < / i > Supprimer une ou plusieurs extensions< / a >
2016-07-09 12:59:05 +00:00
{% endif %}
2016-07-08 15:54:06 +00:00
{% include "machines/aff_extension.html" with extension_list=extension_list %}
2016-11-19 16:44:43 +00:00
2017-10-19 23:52:38 +00:00
< h2 > Liste des enregistrements SOA< / h2 >
{% if is_infra %}
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'machines:add-soa' %}" > < i class = "glyphicon glyphicon-plus" > < / i > Ajouter un enregistrement SOA< / a >
< a class = "btn btn-danger btn-sm" role = "button" href = "{% url 'machines:del-soa' %}" > < i class = "glyphicon glyphicon-trash" > < / i > Supprimer un enregistrement SOA< / a >
{% endif %}
{% include "machines/aff_soa.html" with soa_list=soa_list %}
2016-11-19 16:44:43 +00:00
< h2 > Liste des enregistrements MX< / h2 >
{% if is_infra %}
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'machines:add-mx' %}" > < i class = "glyphicon glyphicon-plus" > < / i > Ajouter un enregistrement MX< / a >
< a class = "btn btn-danger btn-sm" role = "button" href = "{% url 'machines:del-mx' %}" > < i class = "glyphicon glyphicon-trash" > < / i > Supprimer un enregistrement MX< / a >
{% endif %}
{% include "machines/aff_mx.html" with mx_list=mx_list %}
2016-11-19 17:21:05 +00:00
< h2 > Liste des enregistrements NS< / h2 >
{% if is_infra %}
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'machines:add-ns' %}" > < i class = "glyphicon glyphicon-plus" > < / i > Ajouter un enregistrement NS< / a >
< a class = "btn btn-danger btn-sm" role = "button" href = "{% url 'machines:del-ns' %}" > < i class = "glyphicon glyphicon-trash" > < / i > Supprimer un enregistrement NS< / a >
{% endif %}
{% include "machines/aff_ns.html" with ns_list=ns_list %}
2017-10-11 21:33:21 +00:00
< h2 > Liste des enregistrements TXT< / h2 >
2017-09-05 16:18:41 +00:00
{% if is_infra %}
2017-10-11 21:33:21 +00:00
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'machines:add-txt' %}" > < i class = "glyphicon glyphicon-plus" > < / i > Ajouter un enregistrement TXT< / a >
< a class = "btn btn-danger btn-sm" role = "button" href = "{% url 'machines:del-txt' %}" > < i class = "glyphicon glyphicon-trash" > < / i > Supprimer un enregistrement TXT< / a >
2017-09-05 16:18:41 +00:00
{% endif %}
2017-10-11 21:33:21 +00:00
{% include "machines/aff_txt.html" with txt_list=txt_list %}
2017-11-16 01:33:57 +00:00
< h2 > Liste des enregistrements SRV< / h2 >
{% if is_infra %}
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'machines:add-srv' %}" > < i class = "glyphicon glyphicon-plus" > < / i > Ajouter un enregistrement SRV< / a >
< a class = "btn btn-danger btn-sm" role = "button" href = "{% url 'machines:del-srv' %}" > < i class = "glyphicon glyphicon-trash" > < / i > Supprimer un enregistrement SRV< / a >
{% endif %}
{% include "machines/aff_srv.html" with srv_list=srv_list %}
2016-11-19 17:21:05 +00:00
< br / >
2016-07-08 15:54:06 +00:00
< br / >
< br / >
2016-11-19 16:44:43 +00:00
{% endblock %}
2016-07-08 15:54:06 +00:00