tenis booking site done by claude

This commit is contained in:
Priec
2026-05-16 00:02:39 +02:00
parent 8b7f883f14
commit 7d05209d48
40 changed files with 1180 additions and 632 deletions

View File

@@ -0,0 +1,25 @@
{% extends "base.html" %}
{% block title %}{{ t(key="login-title", lang=lang) }}{% endblock title %}
{% block content %}
<div class="mx-auto mt-8 max-w-sm rounded-lg border bg-white p-6">
<h1 class="mb-4 text-xl font-bold">{{ t(key="login-title", lang=lang) }}</h1>
{% if error %}
<div class="mb-3 rounded bg-red-100 px-3 py-2 text-sm text-red-700">{{ t(key="login-error", lang=lang) }}</div>
{% endif %}
<form method="post" action="/admin/login" class="space-y-3">
<div>
<label class="block text-sm text-gray-600">{{ t(key="email", lang=lang) }}</label>
<input type="email" name="email" required class="w-full rounded border-gray-300 text-sm">
</div>
<div>
<label class="block text-sm text-gray-600">{{ t(key="password", lang=lang) }}</label>
<input type="password" name="password" required class="w-full rounded border-gray-300 text-sm">
</div>
<button class="w-full rounded bg-gray-900 py-2 text-sm text-white hover:bg-gray-700">
{{ t(key="login-button", lang=lang) }}
</button>
</form>
</div>
{% endblock content %}