Initial App Commit with Login and Auth

This commit is contained in:
2025-02-11 02:16:46 +01:00
parent 8d88d265a8
commit 348f95d4f5
17 changed files with 927 additions and 3 deletions

20
app/views/login.html Normal file
View File

@ -0,0 +1,20 @@
{% extends "layouts/app.html" %}
{% block title %}Login{% endblock %}
{% block content %}
<div class="container mt-4">
<h2>Login</h2>
<form method="POST" action="{{ url_for('main.login_route') }}">
<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>
<button type="submit" class="btn btn-primary">Login</button>
</form>
</div>
{% endblock %}