finish rewrite

This commit is contained in:
2026-08-25 16:20:27 +02:00
parent cfa862d4e5
commit 0bb7ca21cf
5 changed files with 73 additions and 38 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
</form></td>
<td><form method="POST" action="/update-user">
<input type="hidden" name="userid" value="{{ user["userid"] }}" />
<input type="email" name="email" placeholder="email" value="{{ user["email"] }}"/>
<input type="email" name="email" placeholder="email" value="{{ user["email"] if user["email"] }}"/>
<button type="submit">update email</button>
</form></td>
<td><form method="POST" action="/delete-user">
+8
View File
@@ -6,6 +6,14 @@
<body>
<p>Dynamic DNS service for <span style="font-family: monospace">.izbi</span> domains <span style="font-family: monospace">:3</span></p>
{% with messages = get_flashed_messages()%}
{% if messages%}
{% for message in messages%}
<h3>{{message}}</h3>
{%endfor%}
{%endif%}
{%endwith%}
<form method="POST" action="/login">
<input type="text" name="user" placeholder="username" required autofocus /><br />
<input type="password" name="pass" placeholder="password" required /><br />