mirror of https://gitlab.federez.net/re2o/re2o
6 changed files with 54 additions and 6 deletions
@ -0,0 +1,15 @@ |
|||||
|
<table class="table table-striped"> |
||||
|
<thead> |
||||
|
<tr> |
||||
|
<th>Etablissement</th> |
||||
|
<th></th> |
||||
|
</tr> |
||||
|
</thead> |
||||
|
{% for school in school_list %} |
||||
|
<tr> |
||||
|
<td>{{ school.name }}</td> |
||||
|
<td><a class="btn btn-primary btn-sm" role="button" href="{% url 'users:edit-school' school.id %}"><i class="glyphicon glyphicon-pushpin"></i> Editer</a></td> |
||||
|
</tr> |
||||
|
{% endfor %} |
||||
|
</table> |
||||
|
|
||||
@ -0,0 +1,15 @@ |
|||||
|
{% extends "users/sidebar.html" %} |
||||
|
{% load bootstrap3 %} |
||||
|
|
||||
|
{% block title %}Utilisateurs{% endblock %} |
||||
|
|
||||
|
{% block content %} |
||||
|
<h2>Liste des Établissements</h2> |
||||
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'users:add-school' %}"><i class="glyphicon glyphicon-plus"></i> Ajouter un établissement</a> |
||||
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'users:del-school' %}"><i class="glyphicon glyphicon-trash"></i> Supprimer un ou plusieurs établissements</a> |
||||
|
{% include "users/aff_schools.html" with school_list=school_list %} |
||||
|
<br /> |
||||
|
<br /> |
||||
|
<br /> |
||||
|
{% endblock %} |
||||
|
|
||||
Loading…
Reference in new issue