2024-03-12 01:56:44 -06:00
|
|
|
<!-- Linking forms.css -->
|
2024-04-10 01:44:44 -06:00
|
|
|
<div class="login-page" id="login-page">
|
|
|
|
|
<div class="form-container" id="login-form">
|
2024-03-12 01:56:44 -06:00
|
|
|
<h1 class="mt-5 mb-4">Login</h1>
|
|
|
|
|
|
|
|
|
|
<!-- Check if message variable is present to display message partial -->
|
|
|
|
|
{{#if message}}
|
|
|
|
|
{{> message}}
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
<form action="/login" method="POST" class="mt-3">
|
|
|
|
|
|
|
|
|
|
<div class="mb-3">
|
|
|
|
|
<label for="username" class="form-label">Username:</label>
|
|
|
|
|
<input type="text" class="form-control" id="username" name="username" required>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="mb-3">
|
|
|
|
|
<label for="password" class="form-label">Password:</label>
|
|
|
|
|
<input type="password" class="form-control" id="password" name="password" required>
|
|
|
|
|
</div>
|
|
|
|
|
|
2024-04-10 02:16:31 -06:00
|
|
|
<button type="submit" id="login-submit">Submit</button>
|
2024-03-12 01:56:44 -06:00
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
<p class="mt-3">Don't have an account? <a href="/register">Register</a></p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|