Files
boxdrop/templates/index.html
2026-02-25 21:27:34 -05:00

21 lines
715 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "base.html" %}
{% block title %}Home BoxDrop{% endblock %}
{% block content %}
{% if user %}
<h1>Welcome back, {{ user.get('name') or user.get('email') }}! 👋</h1>
<p>You are authenticated via Authentik.</p>
<p><a class="btn" href="{{ url_for('dashboard') }}">Go to Dashboard</a></p>
<details style="margin-top:2rem">
<summary>Raw token claims</summary>
<pre style="background:#f4f4f4;padding:1rem;border-radius:4px;overflow:auto">{{ user | tojson(indent=2) }}</pre>
</details>
{% else %}
<h1>BoxDrop</h1>
<p>Please log in to continue.</p>
<p><a class="btn" href="{{ url_for('login') }}">Log in with Authentik</a></p>
{% endif %}
{% endblock %}