source: asadb/template/groups/reporting.html @ b42118c

space-accessstablestage
Last change on this file since b42118c was 1b10de0, checked in by Alex Dehnert <adehnert@…>, 14 years ago

put the results up top

  • Property mode set to 100644
File size: 693 bytes
Line 
1{% extends "base.html" %}
2{% load form_utils_tags %}
3
4{% block title %}Reporting{% endblock %}
5{% block content %}
6
7<h1>Reporting</h1>
8
9<h2>Results</h2>
10{% if run_report %}
11<table class='pretty-table'>
12<thead>
13    <tr>
14        {% for col in column_labels %}<th>{{col}}</th>{%endfor%}
15    </tr>
16</thead>
17<tbody>
18    {% for row in report_groups %}
19    <tr>
20        {% for col in row %}<td>{{col}}</td>{% endfor %}
21    </tr>
22    {% endfor %}
23</tbody>
24</table>
25{% else %}
26<p>No results yet. Configure your report below to get some.</p>
27{% endif %}
28
29<h2>Configuration</h2>
30<form action="" method="get">
31    {{ form|render }}
32    <input type="submit" name="go" value="Go" />
33</form>
34
35{% endblock %}
Note: See TracBrowser for help on using the repository browser.