20 lines
540 B
HTML
20 lines
540 B
HTML
{% extends "base.html" %}
|
|
{% set header = "Dashboard" %}
|
|
{% block content %}
|
|
<article>
|
|
<hgroup>
|
|
<h2>Welcome, {{ (profile.name or profile.email) if profile else current_user.email }}</h2>
|
|
<p>Your Appwrite user ID: <code>{{ profile["$id"] }}</code></p>
|
|
</hgroup>
|
|
|
|
<details>
|
|
<summary>JWT info</summary>
|
|
<pre>{{ jwt_info | tojson(indent=2) }}</pre>
|
|
</details>
|
|
|
|
<form method="post" action="{{ url_for('auth.logout') }}">
|
|
<button type="submit" class="secondary">Sign out</button>
|
|
</form>
|
|
</article>
|
|
{% endblock %}
|