aboutsummaryrefslogtreecommitdiffstats
path: root/browser/templates/index.html.j2
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-02-11 00:25:57 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-02-11 00:25:57 +0200
commitcc07b3fdc4b8860a1ee1b25f09039ba3f13ee509 (patch)
tree7437823d5ff2202912d32c9024640ce993202131 /browser/templates/index.html.j2
parentff8b5f63ca6bf0bdbfd36edcaed4091d9d25c3de (diff)
Add initial browser UI app
Diffstat (limited to 'browser/templates/index.html.j2')
-rw-r--r--browser/templates/index.html.j228
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 %}