mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-01-06 06:46:11 +00:00
Michał
a499e6c840
Use reccommended database structure Switch to SQLite and update scheme along with it
23 lines
682 B
HTML
23 lines
682 B
HTML
{% extends 'layout.html' %}
|
|
|
|
{% block header %}
|
|
<img src="{{ url_for('static', filename='images/leaves.jpg') }}" alt="leaves" onload="imgFade(this)" style="display: none;"/>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="app">
|
|
<h1>User</h1>
|
|
<p>{{user_id}}</p>
|
|
<ul>
|
|
{% if g.user %}
|
|
<li><span>{{ g.user['username'] }}</span>
|
|
<li><a href="{{ url_for('auth.logout') }}">Log Out</a>
|
|
{% else %}
|
|
<li><a href="{{ url_for('auth.register') }}">Register</a>
|
|
<li><a href="{{ url_for('auth.login') }}">Log In</a>
|
|
{% endif %}
|
|
</ul>
|
|
</div>
|
|
{% endblock %}
|
|
|