38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Rejestracja - /etc/hosts Manager{% endblock %}
|
|
{% block extra_css %}
|
|
{{ super() }}
|
|
<style>
|
|
.card {
|
|
margin-top: 2rem;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
{% block content %}
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-6">
|
|
<div class="card mb-4">
|
|
<div class="card-header">
|
|
<h2>Rejestracja</h2>
|
|
</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" id="username" name="username" placeholder="Wprowadź nazwę użytkownika" 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" placeholder="Wprowadź hasło" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Zarejestruj się</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="text-center">
|
|
<p>Masz już konto? <a href="{{ url_for('login') }}">Zaloguj się</a>.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|