diff options
Diffstat (limited to 'browser/templates/index.html.j2')
| -rw-r--r-- | browser/templates/index.html.j2 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/browser/templates/index.html.j2 b/browser/templates/index.html.j2 new file mode 100644 index 0000000..9713944 --- /dev/null +++ b/browser/templates/index.html.j2 @@ -0,0 +1,28 @@ +{% extends "base.html.j2" %} + +{% block content %} +<main> + {% include "aside.html.j2" %} + + <div class="results"> + <table> + <thead> + <tr> + {% for field_name in field_names %} + <th>{{ field_name }}</th> + {% endfor %} + </tr> + </thead> + <tbody> + {% for row in rows %} + <tr> + {% for field in row %} + <td>{{ field }}</td> + {% endfor %} + </tr> + {% endfor %} + </tbody> + </table> + </div> +</main> +{% endblock %} |
