mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 07:02:26 +00:00
30 lines
1.5 KiB
HTML
30 lines
1.5 KiB
HTML
{% extends "machines/sidebar.html" %}
|
|
{% load bootstrap3 %}
|
|
|
|
{% block title %}Machines{% endblock %}
|
|
|
|
{% block content %}
|
|
<h2>Liste des extensions</h2>
|
|
{% if is_infra %}
|
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'machines:add-extension' %}"><i class="glyphicon glyphicon-plus"></i> Ajouter une extension</a>
|
|
<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>
|
|
{% endif %}
|
|
{% include "machines/aff_extension.html" with extension_list=extension_list %}
|
|
|
|
<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 %}
|
|
<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 %}
|
|
<br />
|
|
<br />
|
|
<br />
|
|
{% endblock %}
|
|
|