38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
{% block head %}{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container my-5">
|
|
<div class="row justify-content-center align-items-center">
|
|
<div class="col-md-6">
|
|
<div class="card shadow border-0">
|
|
<div class="card-header bg-light text-center">
|
|
<h4 class="mb-0">Zaloguj się</h4>
|
|
</div>
|
|
<div class="card-body">
|
|
<form action="{{ url_for('login') }}" 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" 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="Wpisz hasło" required>
|
|
</div>
|
|
<div class="d-grid">
|
|
<button type="submit" class="btn btn-primary">Zaloguj się</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="card-footer text-center">
|
|
<small>
|
|
Nie masz konta?
|
|
<a href="{{ url_for('register') }}">Zarejestruj się</a>
|
|
</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|