2017-01-16 00:48:09 +01:00
|
|
|
{% extends "topologie/sidebar.html" %}
|
2017-01-15 18:07:42 -05: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-06 21:50:15 +02:00
|
|
|
{% load bootstrap3 %}
|
2017-12-27 23:07:05 +01:00
|
|
|
{% load acl %}
|
2016-07-06 21:50:15 +02:00
|
|
|
|
|
|
|
{% block title %}Switchs{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2018-04-13 20:31:51 +02:00
|
|
|
<img id="zoom_01" src="/media/images/switchs.png" data-zoom-image="/media/images/switchs.png" width=100% />
|
|
|
|
|
|
|
|
<script type="text/javascript" src="/static/js/jquery.ez-plus.js"></script>
|
2018-05-14 23:58:05 +02:00
|
|
|
|
2018-04-13 20:31:51 +02:00
|
|
|
<script>
|
|
|
|
$("#zoom_01").ezPlus({
|
|
|
|
scrollZoom: true,
|
|
|
|
zoomType: 'inner',
|
|
|
|
cursor: 'crosshair'
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<h2>Switchs</h2>
|
2017-12-27 23:07:05 +01:00
|
|
|
{% can_create Switch %}
|
2018-03-07 11:45:03 +01:00
|
|
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'topologie:new-switch' %}"><i class="fa fa-plus"></i> Ajouter un switch</a>
|
2017-10-26 18:48:09 +02:00
|
|
|
<hr>
|
2017-12-27 23:07:05 +01:00
|
|
|
{% acl_end %}
|
2016-07-06 21:50:15 +02:00
|
|
|
{% include "topologie/aff_switch.html" with switch_list=switch_list %}
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<br />
|
2018-04-13 20:31:51 +02:00
|
|
|
|
|
|
|
|
2016-07-06 21:50:15 +02:00
|
|
|
{% endblock %}
|