brewlog/templates/pages/cli_callback.html
Jon Seager 56109f3afe
refactor: reorganize templates into pages/, partials/lists/, and forms/
Move 9 page templates to templates/pages/, nav to partials/,
7 list partials + table.html to partials/lists/. Extract duplicated
scan result form (~85 lines) from home.html and add.html into
partials/forms/scan_result_form.html. Update all Askama template
paths, include/import directives.
2026-02-05 17:48:18 +00:00

24 lines
885 B
HTML

{% extends "base.html" %}
{% block title %}Brewlog · CLI Authentication{% endblock %}
{% block content %}
<div class="mx-auto max-w-md">
<div class="rounded-lg border bg-surface p-6">
{% if token.is_some() %}
<h1 class="text-2xl font-semibold text-green-700">Authenticated</h1>
<p class="mt-2 text-sm text-stone-600">
Your CLI has been authenticated. You can close this window.
</p>
{% else if error.is_some() %}
<h1 class="text-2xl font-semibold text-red-700">Authentication Failed</h1>
<div class="mt-4 rounded-md bg-red-100 border border-red-300 p-3 text-sm text-red-800">
{{ error.as_ref().unwrap() }}
</div>
{% else %}
<h1 class="text-2xl font-semibold text-accent">CLI Authentication</h1>
<p class="mt-2 text-sm text-stone-600">
Processing authentication...
</p>
{% endif %}
</div>
</div>
{% endblock %}