38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport"
|
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>Settings</title>
|
|
<link rel="stylesheet" href="/static/stylesheet/settings.css">
|
|
<script src="/static/js/settings.js" defer></script>
|
|
</head>
|
|
<body>
|
|
<h1>SETTINGS</h1>
|
|
<button type=button id="logout">Logout</button>
|
|
|
|
<button type="button" id="changePassword" onclick="togglePopup()">Change password</button>
|
|
|
|
<div id="popupOverlay" class="overlay-container">
|
|
<div class="popup-box">
|
|
<h2 style="color: green;">Change password</h2>
|
|
<form id=changePasswordForm class="form-container">
|
|
|
|
<label class="form-label" for="cPassword">Current password:</label>
|
|
<input class="form-input" type="password" id="cPassword" name="cPassword" required>
|
|
|
|
<label class="form-label" for="nPassword">New password:</label>
|
|
<input class="form-input" type="Password" id="nPassword" name="nPassword" required>
|
|
|
|
<button class="btn-submit" type="submit">Submit</button>
|
|
</form>
|
|
|
|
<button class="btn-close-popup" onclick="togglePopup()">Close</button>
|
|
<p id="messageBox"></p>
|
|
</div>
|
|
|
|
</div>
|
|
</body>
|
|
</html> |