aboutsummaryrefslogtreecommitdiffstats
path: root/browser/templates/frag_error.html.j2
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-02-11 12:12:37 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-02-11 12:13:00 +0200
commite8f3a470ce693bef9303d3dd4c46523cdc691826 (patch)
treed5d33eb96de070ccfa2b138295b623a8516cf7ad /browser/templates/frag_error.html.j2
parentcc07b3fdc4b8860a1ee1b25f09039ba3f13ee509 (diff)
Add structure, introduce progressive enhancement
Diffstat (limited to 'browser/templates/frag_error.html.j2')
-rw-r--r--browser/templates/frag_error.html.j210
1 files changed, 10 insertions, 0 deletions
diff --git a/browser/templates/frag_error.html.j2 b/browser/templates/frag_error.html.j2
new file mode 100644
index 0000000..f014f0a
--- /dev/null
+++ b/browser/templates/frag_error.html.j2
@@ -0,0 +1,10 @@
+{% if container %}
+<{{ container }}>
+{% endif %}
+
+<h2>Error</h2>
+{{ error }}
+
+{% if container %}
+</{{ container }}>
+{% endif %}