| {% extends "base.html" %} |
| <html> |
| <head> |
| {% block head %} |
| {{ super() }} |
| <title>Table of results</title> |
| {% endblock %} |
| </head> |
| <body> |
| {% block body %} |
| <h1 align="center">Perf-1 Env</h1> |
| {% include 'lab_main.html'%} |
| <br> |
| <div class="table-responsive"> |
| <div id="images"> |
| <table align="center" class="table table-bordered"> |
| {% for url in urls %} |
| {% if loop.index is divisibleby 2 %} |
| <td> |
| <img src="{{ url }}"> |
| </td> |
| </tr> |
| {% else %} |
| <tr> |
| <td> |
| <img src="{{ url }}"> |
| </td> |
| {% endif %} |
| {% endfor %} |
| </table> |
| </div> |
| <table class="table" width="600"> |
| {% for header in headers %} |
| <th> |
| <h2>{{ header }}</h2> |
| </th> |
| {% endfor %} |
| {% for row in table %} |
| <tr> |
| {% for data in row %} |
| <td> |
| {{ data }} |
| </td> |
| {% endfor %} |
| </tr> |
| {% endfor %} |
| </table> |
| </div> |
| <div> |
| <h2 align="center"> |
| <a href="{{ index_url }}">Index page</a> |
| </h2> |
| <h2 align="center"> |
| <a href="{{ table_url }}">Details</a> |
| </h2> |
| </div> |
| {% endblock %} |
| </body> |
| </html> |