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

28 lines
982 B
HTML

{% extends "base.html" %}
{% block title %}Logowanie - SSL Monitor{% endblock %}
{% block content %}
<div class="container mt-4">
<div class="row justify-content-center">
<div class="col-md-6">
<h3 class="mb-3 text-center">Logowanie</h3>
{% if error %}
<div class="alert alert-danger">{{ error }}</div>
{% endif %}
<form method="POST" action="{{ url_for('login') }}">
<div class="mb-3">
<label for="username" class="form-label">Użytkownik</label>
<input type="text" class="form-control" name="username" id="username" required>
</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>
</div>
<div class="d-grid">
<button type="submit" class="btn btn-primary">Zaloguj</button>
</div>
</form>
</div>
</div>
</div>
{% endblock %}