mirror of https://gitlab.federez.net/re2o/re2o
5 changed files with 59 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||||
|
{% for key, stats in stats_list.items %} |
||||
|
<table class="table table-striped"> |
||||
|
<h4>Statistiques par utilisateur de {{ key }}</h4> |
||||
|
<thead> |
||||
|
<tr> |
||||
|
<th>Utilisateur</th> |
||||
|
<th>Nombre d'objets de l'utilisateur</th> |
||||
|
<th>Rang</th> |
||||
|
</tr> |
||||
|
</thead> |
||||
|
{% for stat in stats %} |
||||
|
<tr> |
||||
|
<td>{{ stat }}</td> |
||||
|
<td>{{ stat.num }}</td> |
||||
|
<td>{{ forloop.counter }}</td> |
||||
|
</tr> |
||||
|
{% endfor %} |
||||
|
</table> |
||||
|
{% endfor %} |
||||
@ -0,0 +1,12 @@ |
|||||
|
{% extends "logs/sidebar.html" %} |
||||
|
{% load bootstrap3 %} |
||||
|
|
||||
|
{% block title %}Statistiques par utilisateur{% endblock %} |
||||
|
|
||||
|
{% block content %} |
||||
|
<h2>Statistiques par utilisateur</h2> |
||||
|
{% include "logs/aff_stats_users.html" with stats_list=stats_list %} |
||||
|
<br /> |
||||
|
<br /> |
||||
|
<br /> |
||||
|
{% endblock %} |
||||
Loading…
Reference in new issue