Update 'templates/home.html'

This commit is contained in:
seidl 2020-11-20 10:37:21 +01:00
parent 7298bc0c73
commit df3afeeb50
1 changed files with 17 additions and 14 deletions

View File

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