2010-09-12 08:14:34 -07:00
|
|
|
|
{% load mirror_status %}
|
2010-09-21 15:30:14 -07:00
|
|
|
|
<table id="{{ table_id }}" class="results">
|
2010-09-12 08:14:34 -07:00
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Mirror URL</th>
|
|
|
|
|
<th>Protocol</th>
|
|
|
|
|
<th>Country</th>
|
|
|
|
|
<th>Last Sync</th>
|
2010-09-30 10:47:30 -07:00
|
|
|
|
<th>Completion %</th>
|
2010-09-22 11:28:12 -07:00
|
|
|
|
<th>μ Delay (hh:mm)</th>
|
2010-09-12 08:14:34 -07:00
|
|
|
|
<th>μ Duration (secs)</th>
|
|
|
|
|
<th>σ Duration (secs)</th>
|
|
|
|
|
<th>Mirror Score</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{% for m_url in urls %}
|
2012-03-29 09:35:40 -07:00
|
|
|
|
{% spaceless %}<tr class="{% cycle 'odd' 'even' %}">
|
2010-09-12 08:14:34 -07:00
|
|
|
|
<td>{{ m_url.url }}</td>
|
|
|
|
|
<td>{{ m_url.protocol }}</td>
|
2012-04-24 23:32:57 -07:00
|
|
|
|
<td>{% if m_url.real_country %}<img src="{{ m_url.real_country.flag }}"/> {% endif %}{{ m_url.real_country.name }}</td>
|
2010-09-12 08:14:34 -07:00
|
|
|
|
<td>{{ m_url.last_sync|date:'Y-m-d H:i'|default:'unknown' }}</td>
|
2010-09-30 10:47:30 -07:00
|
|
|
|
<td>{{ m_url.completion_pct|percentage:1 }}</td>
|
2010-09-12 08:14:34 -07:00
|
|
|
|
<td>{{ m_url.delay|duration|default:'unknown' }}</td>
|
2010-09-30 10:47:30 -07:00
|
|
|
|
<td>{{ m_url.duration_avg|floatformat:2 }}</td>
|
|
|
|
|
<td>{{ m_url.duration_stddev|floatformat:2 }}</td>
|
2010-09-22 11:28:12 -07:00
|
|
|
|
<td>{{ m_url.score|floatformat:1|default:'∞' }}</td>
|
2010-09-12 08:14:34 -07:00
|
|
|
|
</tr>
|
2012-03-29 09:35:40 -07:00
|
|
|
|
{% endspaceless %}{% endfor %}
|
2010-09-12 08:14:34 -07:00
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|