diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-02-11 12:12:37 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-02-11 12:13:00 +0200 |
| commit | e8f3a470ce693bef9303d3dd4c46523cdc691826 (patch) | |
| tree | d5d33eb96de070ccfa2b138295b623a8516cf7ad /browser/templates/page_main.html.j2 | |
| parent | cc07b3fdc4b8860a1ee1b25f09039ba3f13ee509 (diff) | |
Add structure, introduce progressive enhancement
Diffstat (limited to 'browser/templates/page_main.html.j2')
| -rw-r--r-- | browser/templates/page_main.html.j2 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/browser/templates/page_main.html.j2 b/browser/templates/page_main.html.j2 new file mode 100644 index 0000000..8ce4a13 --- /dev/null +++ b/browser/templates/page_main.html.j2 @@ -0,0 +1,28 @@ +{% extends "base.html.j2" %} + +{% block content %} +<div id="container"> + {% include "frag_aside.html.j2" %} + + <main id="main"> + <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> + </main> +</div> +{% endblock %} |
