blob: 8e03c3e79b351205f86f8a26991e4786259fcee8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{% extends "_base.html" %}
{% load url from future %}
{% block content %}
<h2>Statistics</h2>
<hr>
<h3>Handlers</h3>
<table class="table">
<thead>
<tr>
<th></th>
<th># of found versions</th>
<th>average confidence</th>
</tr>
</thead>
<tbody>
{% for handler in handlers %}
<tr>
<td>
<a href="{% url "statistics_handler" handler.handler %}">
{{ handler.handler }}
</a>
</td>
<td>{{ handler.n }}</td>
<td>{{ handler.avg_conf }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<hr>
<h3>Current statistics</h3>
<img alt="pie versions" src="{% url "chart" 'pie-versions' %}" />
<img alt="pie packages" src="{% url "chart" 'pie-packages' %}" />
<h3>All time statistics</h3>
<img alt="packages weekly" src="{% url "chart" 'packages-weekly' %}" />
<img alt="packages monthly" src="{% url "chart" 'packages-monthly' %}" />
<img alt="versions weekly" src="{% url "chart" 'versions-weekly' %}" />
<img alt="versions monthly" src="{% url "chart" 'versions-monthly' %}" />
{% endblock %}
|