70 lines
2.3 KiB
Text
70 lines
2.3 KiB
Text
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>b0ard - Editing <%= user.username %></title>
|
|
<link rel="stylesheet" href="/styles/css/bootstrap.min.css" />
|
|
<link rel="stylesheet" href="/stylesheets/index.css" />
|
|
</head>
|
|
<body class="bg-dark text-light">
|
|
<header
|
|
class="d-flex w-100 align-items-center justify-content-between border-bottom mb-2 border-light py-2 px-4 w-100"
|
|
>
|
|
<a href="/" class="logotext p-0 m-0 fs-1">b0ard</a>
|
|
<a
|
|
href="/user/<%= user._id %>"
|
|
type="button"
|
|
class="btn btn-outline-light px-4 py-2"
|
|
>
|
|
<%= user.username %>
|
|
</a>
|
|
</header>
|
|
<div class="d-flex flex-column py-4 px-4 align-items-center">
|
|
<h2 class="mb-4">Editing <%= user.username %></h2>
|
|
<form class="d-flex flex-column align-items-center w-50" method="post">
|
|
<div class="input-group mb-4" data-bs-theme="dark">
|
|
<span class="input-group-text" id="oldpassword-desc"
|
|
>Current Password:</span
|
|
>
|
|
<input
|
|
type="password"
|
|
class="form-control"
|
|
aria-label="current password"
|
|
aria-describedby="oldpassword-desc"
|
|
name="oldpassword"
|
|
/>
|
|
</div>
|
|
<div class="input-group mb-4" data-bs-theme="dark">
|
|
<span class="input-group-text" id="password-desc"
|
|
>New Password (optional):</span
|
|
>
|
|
<input
|
|
type="password"
|
|
class="form-control"
|
|
aria-label="new password"
|
|
aria-describedby="password-desc"
|
|
name="password"
|
|
/>
|
|
</div>
|
|
<div class="input-group mb-4" data-bs-theme="dark">
|
|
<span class="input-group-text" id="confirm-desc"
|
|
>Confirm New Password (optional):</span
|
|
>
|
|
<input
|
|
type="password"
|
|
class="form-control"
|
|
aria-label="confirm password"
|
|
aria-describedby="confirm-desc"
|
|
name="confirm"
|
|
/>
|
|
</div>
|
|
<button type="submit" class="btn btn-outline-light px-4 py-2">
|
|
Submit
|
|
</button>
|
|
<div class="pb-4"></div>
|
|
<a href="delete" type="button" class="btn btn-danger px-4 py-2">
|
|
Delete <%= user.username %>
|
|
</a>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|