56 lines
1.8 KiB
HTML
56 lines
1.8 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Rejestracja - 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">Rejestracja</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. admin2">
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="email" class="form-label">Adres e-mail</label>
|
|
<input type="email" class="form-control" name="email" id="email" required
|
|
placeholder="np. user@example.com">
|
|
</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">Zarejestruj się</button>
|
|
</form>
|
|
<hr>
|
|
<p class="mb-0">Masz już konto?
|
|
<a href="{{ url_for('login') }}">Zaloguj się</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|