Files
tutor-tool/app/templates/set_token.html
2026-02-21 23:09:22 +01:00

27 lines
797 B
HTML
Raw 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 "centered_layout.html" %}
{% from "macros/ui.html" import flash_messages, text_input %}
{% set title = 'Login Tutortool' %}
{% block card_content %}
<div class="text-center mb-6">
<h1 class="text-3xl font-bold text-white mb-2">Login</h1>
</div>
{{ flash_messages() }}
<form action="/set_token" method="POST" class="space-y-6">
{{ text_input('username', 'Username', placeholder='Your unique username') }}
<button type="submit"
class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-lg transition-colors">
Login
</button>
</form>
<p class="text-center mt-4 text-sm text-text">
Do not have an Account?
<a href="/register" class="text-blue-400 hover:underline">Create one</a>
</p>
{% endblock %}