aboutsummaryrefslogtreecommitdiffstats
path: root/browser/templates/base.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'browser/templates/base.html.j2')
-rw-r--r--browser/templates/base.html.j220
1 files changed, 20 insertions, 0 deletions
diff --git a/browser/templates/base.html.j2 b/browser/templates/base.html.j2
new file mode 100644
index 0000000..a8a6cf7
--- /dev/null
+++ b/browser/templates/base.html.j2
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="preload" href="/static/InclusiveSans-Regular.ttf" as="font" type="font/woff2" crossorigin="anonymous">
+ <link rel="stylesheet" href="/static/styles.css"></link>
+ {% block head_meta %}
+ <title>Database browser</title>
+ <meta name="description" content="Database browser for log_db">
+ {% endblock %}
+
+ <!-- -- https://leanrada.com/htmz/ -->
+ <iframe hidden name=htmz onload="setTimeout(()=>document.querySelector(contentWindow.location.hash||null)?.replaceWith(...contentDocument.body.childNodes))"></iframe>
+</head>
+<body>
+ <h1><a href="/">Database browser</a></h1>
+ {% block content %}{% endblock %}
+</body>
+</html>