source: asadb/template/groups/reporting.html

space-accessstablestage
Last change on this file was 58fe19c, checked in by Alex Dehnert <adehnert@…>, 13 years ago

Show number of matches on search pages (ASA-#205)

  • Property mode set to 100644
File size: 928 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<div class='toolbox'>
10<h2>Sections</h2>
11<ul>
12<li><a href='#results'>Results</a></li>
13<li><a href='#config'>Configuration</a></li>
14</ul>
15</div>
16
17<h2><a name='results'></a>Results</h2>
18{% if run_report %}
19
20<p>Found {{report_groups|length}} groups:</p>
21
22<table class='pretty-table'>
23<thead>
24    <tr>
25        {% for col in column_labels %}<th>{{col}}</th>{%endfor%}
26    </tr>
27</thead>
28<tbody>
29    {% for row in report_groups %}
30    <tr>
31        {% for col in row %}<td>{{col}}</td>{% endfor %}
32    </tr>
33    {% endfor %}
34</tbody>
35</table>
36{% else %}
37<p>No results yet. Configure your report below to get some.</p>
38{% endif %}
39
40<h2><a name='config'></a>Configuration</h2>
41<form action="" method="get">
42    {{ form|render }}
43    <input type="submit" name="go" value="Go" />
44</form>
45
46{% endblock %}
Note: See TracBrowser for help on using the repository browser.