mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 20:03:11 +00:00
74 lines
3.8 KiB
HTML
74 lines
3.8 KiB
HTML
{% extends "machines/sidebar.html" %}
|
|
{% 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 %}
|
|
|
|
{% load bootstrap3 %}
|
|
|
|
{% load acl %}
|
|
|
|
{% block title %}Machines{% endblock %}
|
|
|
|
{% block content %}
|
|
<h2>Liste des extensions</h2>
|
|
{% can_create Extension %}
|
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'machines:add-extension' %}"><i class="fa fa-plus"></i> Ajouter une extension</a>
|
|
{% acl_end %}
|
|
<a class="btn btn-danger btn-sm" role="button" href="{% url 'machines:del-extension' %}"><i class="fa fa-trash"></i> Supprimer une ou plusieurs extensions</a>
|
|
{% include "machines/aff_extension.html" with extension_list=extension_list %}
|
|
|
|
<h2>Liste des enregistrements SOA</h2>
|
|
{% can_create SOA %}
|
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'machines:add-soa' %}"><i class="fa fa-plus"></i> Ajouter un enregistrement SOA</a>
|
|
{% acl_end %}
|
|
<a class="btn btn-danger btn-sm" role="button" href="{% url 'machines:del-soa' %}"><i class="fa fa-trash"></i> Supprimer un enregistrement SOA</a>
|
|
{% include "machines/aff_soa.html" with soa_list=soa_list %}
|
|
<h2>Liste des enregistrements MX</h2>
|
|
{% can_create Mx %}
|
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'machines:add-mx' %}"><i class="fa fa-plus"></i> Ajouter un enregistrement MX</a>
|
|
{% acl_end %}
|
|
<a class="btn btn-danger btn-sm" role="button" href="{% url 'machines:del-mx' %}"><i class="fa fa-trash"></i> Supprimer un enregistrement MX</a>
|
|
{% include "machines/aff_mx.html" with mx_list=mx_list %}
|
|
<h2>Liste des enregistrements NS</h2>
|
|
{% can_create Ns %}
|
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'machines:add-ns' %}"><i class="fa fa-plus"></i> Ajouter un enregistrement NS</a>
|
|
{% acl_end %}
|
|
<a class="btn btn-danger btn-sm" role="button" href="{% url 'machines:del-ns' %}"><i class="fa fa-trash"></i> Supprimer un enregistrement NS</a>
|
|
{% include "machines/aff_ns.html" with ns_list=ns_list %}
|
|
<h2>Liste des enregistrements TXT</h2>
|
|
{% can_create Txt %}
|
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'machines:add-txt' %}"><i class="fa fa-plus"></i> Ajouter un enregistrement TXT</a>
|
|
{% acl_end %}
|
|
<a class="btn btn-danger btn-sm" role="button" href="{% url 'machines:del-txt' %}"><i class="fa fa-trash"></i> Supprimer un enregistrement TXT</a>
|
|
{% include "machines/aff_txt.html" with txt_list=txt_list %}
|
|
<h2>Liste des enregistrements SRV</h2>
|
|
{% can_create Srv %}
|
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'machines:add-srv' %}"><i class="fa fa-plus"></i> Ajouter un enregistrement SRV</a>
|
|
{% acl_end %}
|
|
<a class="btn btn-danger btn-sm" role="button" href="{% url 'machines:del-srv' %}"><i class="fa fa-trash"></i> Supprimer un enregistrement SRV</a>
|
|
{% include "machines/aff_srv.html" with srv_list=srv_list %}
|
|
<br />
|
|
<br />
|
|
<br />
|
|
{% endblock %}
|
|
|