add frontend auth middleware, embed user data in frontend html
This commit is contained in:
parent
d8cb8c8fa8
commit
0fa769a248
12 changed files with 265 additions and 42 deletions
10
web/templates/error.tpl
Normal file
10
web/templates/error.tpl
Normal file
|
@ -0,0 +1,10 @@
|
|||
{% extends 'base.tpl' %}
|
||||
{% block title %}
|
||||
Error • {{ config.Name }}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div class="error">
|
||||
<h1>{{ heading }}</h1>
|
||||
<p>{{ description }}</p>
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue