34 lines
1.2 KiB
HTML
Executable File
34 lines
1.2 KiB
HTML
Executable File
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div class="flex justify-center items-center h-screen">
|
|
<div class="card w-96 bg-gray-900 shadow-xl">
|
|
<div class="card-body">
|
|
<h2 class="card-title">Login</h2>
|
|
<form method="POST">
|
|
<div class="form-control">
|
|
<label class="label">
|
|
<span class="label-text">Username</span>
|
|
</label>
|
|
<input type="text" name="username" class="input input-bordered w-full" required>
|
|
</div>
|
|
<div class="form-control">
|
|
<label class="label">
|
|
<span class="label-text">Password</span>
|
|
</label>
|
|
<input type="password" name="password" class="input input-bordered w-full" required>
|
|
</div>
|
|
<div class="form-control mt-6">
|
|
<button class="btn btn-primary w-full">Login</button>
|
|
</div>
|
|
</form>
|
|
{% if error %}
|
|
<div class="mt-4 text-red-500">
|
|
{{ error }}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|