feat: Add login form and footer to user.html
This commit is contained in:
1 parent
a84e20a4db
commit
c711fd076a
1 file changed
+56
-13
@@ -1,14 +1,14 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<link rel="stylesheet" href="node_modules/bulma/css/bulma.min.css">
|
<link rel="stylesheet" href="node_modules/bulma/css/bulma.min.css">
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
<title>User Profile - Behind the Desk</title>
|
<title>User Profile - Behind the Desk</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav class="navbar is-fixed-top" role="navigation" aria-label="main navigation">
|
<nav class="navbar is-fixed-top" role="navigation" aria-label="main navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-brand">
|
<div class="navbar-brand">
|
||||||
<a class="navbar-item has-text-weight-bold" href="/">
|
<a class="navbar-item has-text-weight-bold" href="/">
|
||||||
@@ -18,7 +18,6 @@
|
|||||||
<span aria-hidden="true"></span>
|
<span aria-hidden="true"></span>
|
||||||
<span aria-hidden="true"></span>
|
<span aria-hidden="true"></span>
|
||||||
<span aria-hidden="true"></span>
|
<span aria-hidden="true"></span>
|
||||||
<span aria-hidden="true"></span>
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="navbarBasicExample" class="navbar-menu">
|
<div id="navbarBasicExample" class="navbar-menu">
|
||||||
@@ -52,9 +51,43 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main class="section main-content">
|
|
||||||
|
<main class="section main-content">
|
||||||
|
<div class="container login-container">
|
||||||
|
|
||||||
|
<!-- Login Form -->
|
||||||
|
<div class="form-section">
|
||||||
|
<h2>User Profile</h2>
|
||||||
|
<form action="/login" method="post">
|
||||||
|
<div class="field">
|
||||||
|
<label class="label" for="login-username">username:</label>
|
||||||
|
<div class="control" style="display: inline-block;">
|
||||||
|
<input class="input" type="text" id="login-username" name="username" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="field">
|
||||||
|
<label class="label" for="login-password">password:</label>
|
||||||
|
<div class="control" style="display: inline-block;">
|
||||||
|
<input class="input" type="password" id="login-password" name="password" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="field">
|
||||||
|
<div class="recaptcha-placeholder">[reCAPTCHA placeholder]</div>
|
||||||
|
</div>
|
||||||
|
<div class="field">
|
||||||
|
<div class="control">
|
||||||
|
<button class="button is-link is-small">Login</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<p style="margin-left: 100px; margin-top: 0.5rem; font-size: 0.8rem;"><a href="#">Forgot your password?</a></p>
|
||||||
|
</div>
|
||||||
|
</div> <!-- End container -->
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<main class="section main-content">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="user-profile">
|
<div class="user-profile">
|
||||||
<h2 class="title">User Profile</h2>
|
<h2 class="title">User Profile</h2>
|
||||||
@@ -63,17 +96,27 @@
|
|||||||
<p><strong>Created:</strong> January 1, 2023</p>
|
<p><strong>Created:</strong> January 1, 2023</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="about-section">
|
<div class="about-section">
|
||||||
<h3>About</h3>
|
<h3 class="subtitle">About</h3>
|
||||||
<p><strong>Submissions:</strong> 10</p>
|
<p><strong>Submissions:</strong> 10</p>
|
||||||
<p><strong>Comments:</strong> 50</p>
|
<p><strong>Comments:</strong> 50</p>
|
||||||
<p><strong>Favorites:</strong> 20</p>
|
<p><strong>Favorites:</strong> 20</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<!-- Simple script to toggle mobile menu -->
|
<footer class="footer">
|
||||||
<script>
|
<div class="container">
|
||||||
|
<div class="footer-menu">
|
||||||
|
<a href="#">Privacy</a>
|
||||||
|
<a href="#">Terms</a>
|
||||||
|
<a href="#">Contact</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!-- Simple script to toggle mobile menu -->
|
||||||
|
<script>
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
|
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
|
||||||
if ($navbarBurgers.length > 0) {
|
if ($navbarBurgers.length > 0) {
|
||||||
@@ -87,6 +130,6 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Reference in new issue
Block a user