gstepanov | cd77d5a | 2015-02-06 14:49:34 +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 %} |
gstepanov | bb85492 | 2015-02-09 18:18:17 +0200 | [diff] [blame] | 11 | <h1 align="center">Perf-1 Env</h1> |
gstepanov | bdc406b | 2015-02-11 17:35:55 +0200 | [diff] [blame] | 12 | {% include 'lab_main.html'%} |
| 13 | <br> |
gstepanov | cd77d5a | 2015-02-06 14:49:34 +0200 | [diff] [blame] | 14 | <div class="table-responsive"> |
gstepanov | cd77d5a | 2015-02-06 14:49:34 +0200 | [diff] [blame] | 15 | <div id="images"> |
gstepanov | 3ce37b8 | 2015-02-12 16:20:56 +0200 | [diff] [blame] | 16 | <table align="center" class="table table-bordered"> |
gstepanov | bdc406b | 2015-02-11 17:35:55 +0200 | [diff] [blame] | 17 | {% for url in urls %} |
gstepanov | dff5ad9 | 2015-02-12 17:13:09 +0200 | [diff] [blame] | 18 | {% if loop.index is divisibleby 2 %} |
| 19 | <td> |
gstepanov | bdc406b | 2015-02-11 17:35:55 +0200 | [diff] [blame] | 20 | <img src="{{ url }}"> |
| 21 | </td> |
| 22 | </tr> |
gstepanov | dff5ad9 | 2015-02-12 17:13:09 +0200 | [diff] [blame] | 23 | {% else %} |
| 24 | <tr> |
| 25 | <td> |
| 26 | <img src="{{ url }}"> |
| 27 | </td> |
gstepanov | bdc406b | 2015-02-11 17:35:55 +0200 | [diff] [blame] | 28 | {% endif %} |
| 29 | {% endfor %} |
| 30 | </table> |
gstepanov | cd77d5a | 2015-02-06 14:49:34 +0200 | [diff] [blame] | 31 | </div> |
gstepanov | bdc406b | 2015-02-11 17:35:55 +0200 | [diff] [blame] | 32 | <table class="table" width="600"> |
gstepanov | cd77d5a | 2015-02-06 14:49:34 +0200 | [diff] [blame] | 33 | {% for header in headers %} |
| 34 | <th> |
| 35 | <h2>{{ header }}</h2> |
| 36 | </th> |
| 37 | {% endfor %} |
| 38 | {% for row in table %} |
| 39 | <tr> |
| 40 | {% for data in row %} |
| 41 | <td> |
| 42 | {{ data }} |
| 43 | </td> |
| 44 | {% endfor %} |
| 45 | </tr> |
| 46 | {% endfor %} |
| 47 | </table> |
| 48 | </div> |
gstepanov | 9eb8bf3 | 2015-02-11 20:13:14 +0200 | [diff] [blame] | 49 | <div> |
| 50 | <h2 align="center"> |
| 51 | <a href="{{ index_url }}">Index page</a> |
| 52 | </h2> |
| 53 | <h2 align="center"> |
| 54 | <a href="{{ table_url }}">Details</a> |
| 55 | </h2> |
| 56 | </div> |
gstepanov | cd77d5a | 2015-02-06 14:49:34 +0200 | [diff] [blame] | 57 | {% endblock %} |
| 58 | </body> |
| 59 | </html> |