2016-07-06 19:50:15 +00:00
|
|
|
{% extends "topologie/sidebar.html" %}
|
|
|
|
{% load bootstrap3 %}
|
|
|
|
|
|
|
|
{% block title %}Ports du switch{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2016-07-06 21:29:31 +00:00
|
|
|
<h2>Switch {{ nom_switch }}</h2>
|
2016-07-09 13:47:10 +00:00
|
|
|
{% if is_infra %}
|
2016-07-06 21:29:31 +00:00
|
|
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'topologie:edit-switch' id_switch %}"><i class="glyphicon glyphicon-edit"></i> Editer</a>
|
|
|
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'topologie:new-port' id_switch %}"><i class="glyphicon glyphicon-plus"></i> Ajouter un port</a>
|
2016-07-09 12:17:05 +00:00
|
|
|
{% endif %}
|
2016-07-06 19:50:15 +00:00
|
|
|
{% include "topologie/aff_port.html" with port_list=port_list %}
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
{% endblock %}
|