client
Last change
on this file since dd2c3d9 was
ed4ccc7,
checked in by Alex Dehnert <adehnert@…>, 15 years ago
|
Add basic reporting (Trac #3)
|
-
Property mode set to
100644
|
File size:
702 bytes
|
Line | |
---|
1 | {% extends "base.html" %} |
---|
2 | {% load misc %} |
---|
3 | |
---|
4 | {% block title %}Reporting{% endblock %} |
---|
5 | {% block content %} |
---|
6 | |
---|
7 | <h2>Reporting</h2> |
---|
8 | |
---|
9 | <h3>Parameters</h3> |
---|
10 | |
---|
11 | <table class='pretty-table'> |
---|
12 | <tr> |
---|
13 | <th>Term</th> |
---|
14 | <td>{{term_name}}</td> |
---|
15 | </tr> |
---|
16 | <tr> |
---|
17 | <th>Budget Area</th> |
---|
18 | <td>{{area}}</td> |
---|
19 | </tr> |
---|
20 | </table> |
---|
21 | |
---|
22 | <h3>Data</h3> |
---|
23 | |
---|
24 | <table class='pretty-table money-table'> |
---|
25 | <tr> |
---|
26 | <th></th> |
---|
27 | {% for label in secondary_labels %} |
---|
28 | <th>{{label}}</th> |
---|
29 | {% endfor %} |
---|
30 | </tr> |
---|
31 | {% for label, row in table_with_row_labels %} |
---|
32 | <tr> |
---|
33 | <th>{{label}}</th> |
---|
34 | {% for cell in row %} |
---|
35 | <td>{% if cell %}<strong>{% endif %}${{cell}}{% if cell %}</strong>{% endif %}</td> |
---|
36 | {% endfor %} |
---|
37 | </tr> |
---|
38 | {% endfor %} |
---|
39 | |
---|
40 | </table> |
---|
41 | |
---|
42 | {% endblock %} |
---|
Note: See
TracBrowser
for help on using the repository browser.