Merge branch 'master' of git.seidlm.at:seidl/rstcms

This commit is contained in:
Matthias Seidl 2020-11-20 11:40:10 +01:00
commit 60bd4344ea
2 changed files with 25 additions and 16 deletions

View File

@ -1,2 +1,5 @@
<h1>Error</h1>
<p>{{ error.description }}</p>
<h1>Something bad happened</h1>
<p>{{ error.description }}</p>

View File

@ -1,14 +1,20 @@
<style>
pre { max-width: 100%; overflow: scroll; }
</style>
{% if user %}
<div>
Logged in as
<span><img src='{{ user.avatar_url }}'></span>
<span>{{ user.username }}</span>
</div>
<a href="/test">test</a>
<a href="/logout">logout</a>
{% else %}
<a href="/login">login</a>
{% endif %}
<style>
pre { max-width: 100%; overflow: scroll; }
</style>
{% if user %}
<div>
Logged in as
<span><img src='{{ user.avatar_url }}'></span>
<span>{{ user.username }}</span>
</div>
<a href="/test">test</a>
<a href="/logout">logout</a>
{% else %}
<a href="/login">login</a>
{% endif %}