Implement form for changing passwords.

This commit is contained in:
Juliusz Chroboczek
2024-04-10 03:31:52 +02:00
parent 7643424bab
commit 39d11c2f48
3 changed files with 131 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Change password</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/common.css">
<link rel="stylesheet" href="/change-password.css">
<link rel="stylesheet" type="text/css" href="/galene.css"/>
<link rel="author" href="https://www.irif.fr/~jch/"/>
</head>
<body>
<h1 id="title" class="navbar-brand">Change password</h1>
<form id="passwordform">
<label for="old1">Old password:</label>
<input id="old1" type="password"/>
<label for="old2">Old password (repeat):</label>
<input id="old2" type="password"/>
<label for="new">New password:</label>
<input id="new" type="password"/>
<input type="submit" value="Submit"/>
</form>
<p id="message"></p>
<p id="errormessage"></p>
<script src="/change-password.js" defer></script>
</body>
</html>