index_extension.html 651 Bytes
Newer Older
1 2 3 4 5 6 7
{% extends "machines/sidebar.html" %}
{% load bootstrap3 %}

{% block title %}Machines{% endblock %}

{% block content %}
  <h2>Liste des extensions</h2>
8
  {% if is_admin %}
9 10
  <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-primary btn-sm" role="button" href="{% url 'machines:del-extension'  %}"><i class="glyphicon glyphicon-trash"></i> Supprimer une ou plusieurs extensions</a>
11
  {% endif %}
12 13 14 15 16 17
  {%  include "machines/aff_extension.html" with  extension_list=extension_list %}
  <br />
  <br />
  <br />
{% endblock %}