ssl_monitor/templates/register.html
Mateusz Gruszczyński 2a065aba3b commit
2025-03-18 12:53:33 +01:00

30 lines
1.2 KiB
HTML

{% extends "base.html" %}
{% block title %}Rejestracja - SSL Monitor{% endblock %}
{% block content %}
<div class="container mt-4">
<div class="row justify-content-center">
<div class="col-md-6">
<h2 class="mb-3 text-center">Rejestracja</h2>
<form method="POST" action="{{ url_for('register') }}">
<div class="mb-3">
<label for="username" class="form-label">Nazwa użytkownika</label>
<input type="text" class="form-control" id="username" name="username" required>
</div>
<div class="mb-3">
<label for="password" class="form-label">Hasło</label>
<input type="password" class="form-control" id="password" name="password" required>
</div>
<div class="mb-3">
<label for="confirm" class="form-label">Potwierdź hasło</label>
<input type="password" class="form-control" id="confirm" name="confirm" required>
</div>
<div class="d-grid">
<button type="submit" class="btn btn-primary">Zarejestruj się</button>
</div>
</form>
<p class="mt-2 text-center">Masz już konto? <a href="{{ url_for('login') }}">Zaloguj się</a></p>
</div>
</div>
</div>
{% endblock %}