|
|
|
@ -3,9 +3,11 @@ |
|
|
|
<h1>Page d'administration du site</h1> |
|
|
|
<h2>Liste des catégories</h2> |
|
|
|
<a class="btn btn-success btn-sm" role="button" href="{% url 'content:category-new' %}"> |
|
|
|
<i class="glyphicon glyphicon-plus"></i> |
|
|
|
<i class="fas fa-plus"></i> |
|
|
|
Créer une nouvelle catégorie |
|
|
|
</a> |
|
|
|
<br /> |
|
|
|
<br /> |
|
|
|
<table class="table table-striped"> |
|
|
|
<tr> |
|
|
|
<th>Nom de la catégorie</th> |
|
|
|
@ -17,11 +19,11 @@ |
|
|
|
<td><a href="{{c.get_absolute_url}}">{{c.name}}</a></td> |
|
|
|
<td>{{c.content_set.count}}</td> |
|
|
|
<td><a class="btn btn-outline-primary btn-sm" href="{% url "content:category-edit" c.pk %}"> |
|
|
|
<!--<i class="glyphicon glyphicon-edit"></i>--> |
|
|
|
<i class="fas fa-edit"></i> |
|
|
|
Éditer |
|
|
|
</a> |
|
|
|
<a class="btn btn-outline-danger btn-sm" title="Supprimer" href="{% url "content:category-delete" c.pk %}"> |
|
|
|
<!--<i class="glyphicon glyphicon-trash"></i>--> |
|
|
|
<i class="fas fa-trash-alt"></i> |
|
|
|
Supprimer |
|
|
|
</a> |
|
|
|
</td> |
|
|
|
@ -32,9 +34,11 @@ |
|
|
|
|
|
|
|
<h2>Écoles</h2> |
|
|
|
<a class="btn btn-success btn-sm" role="button" href="{% url 'users:new-school' %}"> |
|
|
|
<i class="glyphicon glyphicon-plus"></i> |
|
|
|
<i class="fas fa-plus"></i> |
|
|
|
Inscrire une nouvelle école |
|
|
|
</a> |
|
|
|
<br /> |
|
|
|
<br/> |
|
|
|
<table class="table table-striped"> |
|
|
|
<tr> |
|
|
|
<th>Nom</th> |
|
|
|
@ -44,12 +48,13 @@ |
|
|
|
<tr> |
|
|
|
<th>{{school.group.name}}</th> |
|
|
|
<td>{{school.group.user_set.count}}</td> |
|
|
|
<td><a class="btn btn-primary btn-sm" href="{% url "users:edit-school" pk=school.pk%}"> |
|
|
|
<i class="glyphicon glyphicon-edit"></i> |
|
|
|
<td><a class="btn btn-outline-primary btn-sm" href="{% url "users:edit-school" pk=school.pk%}"> |
|
|
|
<i class="fas fa-edit"></i> |
|
|
|
Éditer |
|
|
|
</a> |
|
|
|
<a class="btn btn-danger btn-sm" title="Supprimer" href=""> |
|
|
|
<i class="glyphicon glyphicon-trash"></i> |
|
|
|
<a class="btn btn-outline-danger btn-sm" title="Supprimer" href=""> |
|
|
|
<i class="fas fa-trash-alt"></i> |
|
|
|
Supprimer |
|
|
|
</a> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
@ -58,9 +63,11 @@ |
|
|
|
<h2>Réglages</h2> |
|
|
|
<h3>Réglages du site</h3> |
|
|
|
<a class="btn btn-primary btn-sm" href="{% url 'settings:site-settings' %}"> |
|
|
|
<i class="glyphicon glyphicon-edit"></i> |
|
|
|
<i class="fas fa-edit"></i> |
|
|
|
Éditer |
|
|
|
</a> |
|
|
|
<br /> |
|
|
|
<br /> |
|
|
|
<table class="table table-striped"> |
|
|
|
<tr> |
|
|
|
<th>Upload</th> |
|
|
|
@ -80,9 +87,11 @@ |
|
|
|
|
|
|
|
<h3>Réglage du contenu</h3> |
|
|
|
<a class="btn btn-primary btn-sm" href=""> |
|
|
|
<i class="glyphicon glyphicon-edit"></i> |
|
|
|
<i class="fas fa-edit"></i> |
|
|
|
Éditer |
|
|
|
</a> |
|
|
|
<br /> |
|
|
|
<br /> |
|
|
|
<table class="table table-striped"> |
|
|
|
<tr> |
|
|
|
<th>URL du FTP</th> |
|
|
|
|