diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-02-11 00:25:57 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-02-11 00:25:57 +0200 |
| commit | cc07b3fdc4b8860a1ee1b25f09039ba3f13ee509 (patch) | |
| tree | 7437823d5ff2202912d32c9024640ce993202131 /browser/templates/index.html.j2 | |
| parent | ff8b5f63ca6bf0bdbfd36edcaed4091d9d25c3de (diff) | |
Add initial browser UI app
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 %} |
