Initial commit: Portal Auth Admin Dashboard
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
15
templates/login.html
Normal file
15
templates/login.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Login — Portal Auth Admin{% endblock %}
|
||||
{% block content %}
|
||||
<div class="login-card">
|
||||
<h1>Admin login</h1>
|
||||
<p class="login-hint">Only users with role <code>admin</code> can access this dashboard.</p>
|
||||
<form method="post" action="{{ url_for('login') }}" class="login-form">
|
||||
<label for="username">Username</label>
|
||||
<input type="text" id="username" name="username" required autofocus autocomplete="username">
|
||||
<label for="password">Password</label>
|
||||
<input type="password" id="password" name="password" required autocomplete="current-password">
|
||||
<button type="submit">Log in</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user