mirror of
https://github.com/ZTatman/myst.git
synced 2026-11-21 04:17:59 +00:00
- Add jinja2, aiofiles, jinja2-fragments, python-multipart deps - Wire up Jinja2Blocks (jinja2-fragments) and static file serving - Create base.html (Pico Jade theme, HTMX, nav with auth state) - Create index.html (landing) and dashboard.html (user profile) - Add get_optional_session dependency for anonymous template context - Refactor get_current_session to share session lookup logic
20 lines
531 B
HTML
20 lines
531 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Dashboard — Myst{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Dashboard</h1>
|
|
<p>Welcome, {{ user.display_name or user.email }}!</p>
|
|
|
|
<section>
|
|
<h2>Forgejo Personal Access Token</h2>
|
|
<p>Register a <code>read:repository</code>-scoped PAT to enable share link viewing.</p>
|
|
<!-- TODO: PAT registration form -->
|
|
</section>
|
|
|
|
<section>
|
|
<h2>Share Links</h2>
|
|
<p>You haven't created any share links yet.</p>
|
|
<!-- TODO: share link list -->
|
|
</section>
|
|
{% endblock %}
|