prosody-password/cmd/http/views/index.hbs

38 lines
1.3 KiB
Handlebars

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Change XMPP Password</title>
{{> styles}}
</head>
<body>
<div class="container">
<div class="form-container">
<h2>Change Password</h2>
<form action="/changePassword" method="post">
<div class="form-field">
<label for="user">User: (without domain)</label>
<input type="text" id="user" name="user" required>
</div>
<div class="form-field">
<label for="current_password">Current Password:</label>
<input type="password" id="current_password" name="current_password" required>
</div>
<div class="form-field">
<label for="new_password">New Password:</label>
<input type="password" id="new_password" name="new_password" required>
</div>
<div class="form-field">
<input type="submit" value="Change Password">
</div>
</form>
</div>
</div>
</body>
</html>