Files
luser/luser/templates/changepassword.html
T

93 lines
2.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <link rel="stylesheet" href="/styles/reset.css"> -->
<!-- <link rel="stylesheet" href="/styles/style.css"> -->
<!-- <link rel="stylesheet" href="/styles/account.css"> -->
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
<title>User password change in LDAP system</title>
<style>
html {
background-color: #181715;
color: #fff;
}
form {
display: flex;
flex-direction: column;
gap: 16px;
max-width: 360px;
margin: 50px auto;
}
button {
height: 30px;
margin-top: 30px;
background-color: #262a2b;
border: 1px solid #7b7265;
color: #a1998d;
border-radius: 5px;
text-transform: uppercase;
letter-spacing: 2px;
}
button:hover {
opacity: 0.9;
cursor: pointer;
}
button:active {
opacity: 0.7;
}
input {
height: 25px;
padding: 2px 8px;
border: 1px solid #303436;
border-radius: 5px;
color: #7b7265;
background-color: #262a2b;
outline: none;
}
.container {
margin: 50px auto;
}
.form-input {
display: flex;
flex: 1;
justify-content: space-between;
align-items: center;
}
</style>
</head>
<body>
<main class="container">
<h1 style="text-align:center;">Change password</h1>
<form action="/account/changepassword/" method="POST">
<div class="form-input">
<label for="username">Username:</label>
<input type="text" name="username" id="username" placeholder="Username" required>
</div>
<div class="form-input">
<label for="oldpassword">Old password:</label>
<input type="password" name="oldpassword" id="oldpassword" placeholder="Old password" required>
</div>
<div class="form-input">
<label for="newpassword">New password:</label>
<input type="password" name="newpassword" id="newpassword" placeholder="New password" required>
</div>
<br />
<button>Change Password</button>
</form>
</main>
</body>
</html>