ui: Add error and info templates and display debug mode.

This commit is contained in:
tecnovert
2022-09-15 21:54:15 +02:00
parent afba673085
commit 6b4666d632
4 changed files with 56 additions and 22 deletions

View File

@@ -0,0 +1,12 @@
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<link type="text/css" media="all" href="/static/css/simple/style.css" rel="stylesheet">
<link rel=icon sizes="32x32" type="image/png" href="/static/images/favicon-32.png">
<title>{{ title }}</title>
</head>
<body>
<h2>{{ title_str }}</h2>
<p>Error: {{ message_str }}</p>
<p><a href=\'/\'>home</a></p>
</body>
</html>