Revamp home screen

This commit is contained in:
Jonas Schäfer
2020-03-07 11:16:39 +01:00
parent 944cd333b3
commit 6e47c8141c
2 changed files with 49 additions and 5 deletions

View File

@@ -1,11 +1,24 @@
{% extends "app.html" %}
{% block content %}
<h1>Welcome!</h1>
<p>Welcome home, {{ user_info.username }}.</p>
<h2>Next?</h2>
<p>What do you want to do today?</p>
<ul>
<p>Welcome home, {{ user_info.display_name }}.</p>
<div class="welcome-cards">
<a class="card" href="{{ url_for('user.profile') }}">
<h2>Update profile</h2>
<p>Change display name, set avatar and configure visibility of your
personal data to others.</p>
</a>
<a class="card" href="{{ url_for('user.change_pw') }}">
<h2>Change password</h2>
</a>
<a class="card" href="{{ url_for('user.logout') }}">
<h2>Log out</h2>
<p>Exit the Snikket Web Portal, without logging out your other devices.</p>
</a>
</div>
<!-- <ul>
<li><a href="{{ url_for('user.change_pw') }}">Change password</a></li>
<li><a href="{{ url_for('user.change_pw') }}">Change password</a></li>
<li><a href="{{ url_for('user.logout') }}">Log out</a></li>
</ul>
</ul> -->
{% endblock %}