44 lines
1.4 KiB
HTML
44 lines
1.4 KiB
HTML
{% extends "base.html" %}
|
|
{% block head %}
|
|
<style>
|
|
@media (max-width: 576px) {
|
|
.full-height-row {
|
|
min-height: auto !important;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
{% block content %}
|
|
<div class="container">
|
|
<div class="row full-height-row justify-content-center align-items-center" style="min-height: 100vh;">
|
|
<div class="col-md-6">
|
|
<div class="card shadow">
|
|
<div class="card-header text-center">
|
|
<h2>Rejestracja</h2>
|
|
</div>
|
|
<div class="card-body">
|
|
<form action="{{ url_for('register') }}" method="POST">
|
|
<div class="mb-3">
|
|
<label for="username" class="form-label">Nazwa użytkownika</label>
|
|
<input type="text" class="form-control" id="username" name="username" placeholder="Wpisz nazwę użytkownika">
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="password" class="form-label">Hasło</label>
|
|
<input type="password" class="form-control" id="password" name="password" placeholder="Wpisz hasło">
|
|
</div>
|
|
<div class="d-grid">
|
|
<button type="submit" class="btn btn-primary">Zarejestruj się</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="card-footer text-center">
|
|
<a href="{{ url_for('login') }}">Masz już konto? Zaloguj się</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|