better login and change pwd

This commit is contained in:
2026-07-22 22:04:00 +02:00
parent 5aec0a2c2c
commit 0093d9b20d
3 changed files with 24 additions and 12 deletions
+5
View File
@@ -1,6 +1,11 @@
{% extends "base.html" %}
{% block content %}
<h3 class="text-center mb-4"><img style="width: 3em; height: 3em" src="/static/login.svg"></h3>
{% with messages = get_flashed_messages() %}
{% for message in messages %}
<div class="alert alert-danger" role="alert">{{ message }}</div>
{% endfor %}
{% endwith %}
<form method="post">
<input class="form-control mb-3" name="password_old" type="password" placeholder="Old Password" required>
+2 -2
View File
@@ -13,8 +13,8 @@
</div>
</div>
<form method="post">
<input class="form-control mb-3" name="name" placeholder="Name" required>
<input class="form-control mb-3" name="password" type="password" placeholder="Password" required>
<input class="form-control mb-3" name="name" placeholder="{{ name_placeholder }}" required>
<input class="form-control mb-3" name="password" type="password" placeholder="{{ password_placeholder }}" required>
<input
type="image"
src="/static/save.svg"