2025-02-28 13:12:29 +01:00

51 lines
1.5 KiB
HTML

{% extends "base.html" %}
{% block title %}Logowanie - RouterOS Update{% endblock %}
{% block extra_head %}
<style>
/* Karta w trybie ciemnym */
body.dark-mode .card {
background-color: #1e1e1e;
color: #ccc;
border-color: #444;
}
body.dark-mode .card .card-header.bg-light {
background-color: #333 !important;
border-bottom: 1px solid #444;
}
</style>
{% endblock %}
{% block content %}
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="card border-0 shadow">
<div class="card-header bg-light">
<h4 class="mb-0">Logowanie</h4>
</div>
<div class="card-body">
<form method="POST">
<div class="mb-3">
<label for="username" class="form-label">Nazwa użytkownika</label>
<input type="text" class="form-control" name="username" id="username" required
placeholder="np. admin">
</div>
<div class="mb-3">
<label for="password" class="form-label">Hasło</label>
<input type="password" class="form-control" name="password" id="password" required
placeholder="••••••••">
</div>
<button type="submit" class="btn btn-primary">Zaloguj</button>
</form>
<hr>
<p class="mb-0">Nie masz konta?
<a href="{{ url_for('register') }}">Zarejestruj się</a>
</p>
</div>
</div>
</div>
</div>
</div>
{% endblock %}