first commit

This commit is contained in:
root
2026-04-12 21:50:55 +02:00
parent de90bbb333
commit ec0e8a3206
1447 changed files with 238414 additions and 0 deletions

28
templates/login.html Normal file
View File

@@ -0,0 +1,28 @@
{% extends 'base.html' %}
{% block title %}Přihlášení{% endblock %}
{% block content %}
<div class="row justify-content-center">
<div class="col-md-5 col-lg-4">
<div class="card shadow-sm border-0">
<div class="card-body p-4">
<h1 class="h4 mb-3">Přihlášení do aplikace</h1>
<p class="text-secondary small mb-4">Přístup do formuláře pro vytváření LXC kontejnerů.</p>
{% if error %}
<div class="alert alert-danger py-2">{{ error }}</div>
{% endif %}
<form method="post">
<div class="mb-3">
<label for="username" class="form-label">Uživatel</label>
<input type="text" class="form-control" id="username" name="username" required autofocus>
</div>
<div class="mb-3">
<label for="password" class="form-label">Heslo</label>
<input type="password" class="form-control" id="password" name="password" required>
</div>
<button type="submit" class="btn btn-primary w-100">Přihlásit</button>
</form>
</div>
</div>
</div>
</div>
{% endblock %}