gstepanov | 2164d82 | 2015-02-04 19:49:40 +0200 | [diff] [blame^] | 1 | {% extends "base.html" %} |
2 | <html> | ||||
3 | <head> | ||||
4 | {% block head %} | ||||
5 | {{ super() }} | ||||
6 | <title>Table of results</title> | ||||
7 | {% endblock %} | ||||
8 | </head> | ||||
9 | <body> | ||||
10 | {% block body %} | ||||
11 | <div class="table-responsive"> | ||||
12 | <table class="table"> | ||||
13 | {% for header in headers %} | ||||
14 | <th> | ||||
15 | <h2>{{ header }}</h2> | ||||
16 | </th> | ||||
17 | {% endfor %} | ||||
18 | {% for row in table %} | ||||
19 | <tr> | ||||
20 | {% for data in row %} | ||||
21 | <td> | ||||
22 | {{ data }} | ||||
23 | </td> | ||||
24 | {% endfor %} | ||||
25 | </tr> | ||||
26 | {% endfor %} | ||||
27 | </table> | ||||
28 | </div> | ||||
29 | {% endblock %} | ||||
30 | </body> | ||||
31 | </html> |