evorepo/templates/releng/iso_overview.html
Dan McGee 943ef2e8e4 Convert to and enable staticfiles contrib application
This moves our site static files into the sitestatic directory if they
are shared resources, and also moves a handful of things (such as the
artwork logos) into application-specific static/ directories. This
allows the staticfiles contrib app to work after a few settings tweaks,
a run of collectstatic, and massaging the hardcoded '/media/' prefix out
of our templates.

Django 1.4 is going to make this a lot easier to move things to a CDN
and provides better template tags; for now this is setting the stage
before we can move to that.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-05 23:06:10 -06:00

41 lines
1.2 KiB
HTML

{% extends "base.html" %}
{% block content %}
<div class="box">
<h2>Failures and Successes for Testing ISOs</h2>
<p><a href="{% url releng-test-overview %}">Go back to testing results</a></p>
<table id="releng-result" class="results">
<thead>
<tr>
<th>ISO</th>
<th>Currently Available</th>
<th># Successes</th>
<th># Failures</th>
</tr>
</thead>
<tbody>
{% for iso in isos %}
<tr>
<td>
<a href="{{ iso.get_absolute_url }}">{{ iso.name }}</a>
</td>
<td>{{ iso.active|yesno|capfirst }}</td>
<td>{{ iso.successes }}</td>
<td>{{ iso.failures }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% load cdn %}{% jquery %}
<script type="text/javascript" src="{{ STATIC_URL }}jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}archweb.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".results:not(:has(tbody tr.empty))").tablesorter({widgets: ['zebra']});
});
</script>
{% endblock %}