euscanwww: Handler's statistics

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino
2012-11-26 14:32:39 +01:00
parent 1af51ec674
commit 8ad3ed2897
2 changed files with 33 additions and 1 deletions

View File

@ -5,6 +5,30 @@
{% 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>{{ handler.handler }}</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' %}" />