Project

General

Profile

Download (785 Bytes) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / statistics / templates / statistics / index.html @ 1f4ae3b3

1
{% extends "statistics/base.html" %}
2
{% load url from future %}
3

    
4
{% block header %}
5
  {{ block.super }}
6
  <span>Statistiques - {{ service_name }}</span>
7
{% endblock %}
8

    
9
{% block appbar %}
10
  <h2>Statistiques</h2>
11
  <a href="/">Retourner à l'accueil</a>
12
{% endblock %}
13

    
14
{% block content %}
15
    <ul>
16
     {% for category, stats in statistics.iteritems %}
17
         <h3>{{ category }}</h3>
18
         {% for n, statistic in stats %}
19
         <div class="statistic">
20
         {% if statistic.comment %}<p>{{ statistic.comment }}</p>{% endif %}
21
         <button id="{{ n }}" class="stats">{{ statistic.display_name }}</button>
22
         </div>
23
         {% endfor %}
24
     {% endfor %}
25
    </ul>
26
{% endblock %}
27

    
28
{% block dialogs %}
29
<div id="ajax-dlg" style="display: none;"></div>
30
{% endblock %}
(4-4/4)