Initial commit: Portal Auth Admin Dashboard
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
30
templates/index.html
Normal file
30
templates/index.html
Normal file
@@ -0,0 +1,30 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Dashboard — Portal Auth Admin{% endblock %}
|
||||
{% block content %}
|
||||
<div class="dashboard">
|
||||
<h1>Dashboard</h1>
|
||||
<p class="lead">View and manage the <code>portal_auth</code> database tables.</p>
|
||||
<div class="table-cards">
|
||||
<a href="{{ url_for('table_view', name='users') }}" class="card">
|
||||
<span class="card-icon">users</span>
|
||||
<h2>Users</h2>
|
||||
<p>Accounts, roles, active flag. Edit role and password.</p>
|
||||
</a>
|
||||
<a href="{{ url_for('table_view', name='sessions') }}" class="card">
|
||||
<span class="card-icon">sessions</span>
|
||||
<h2>Sessions</h2>
|
||||
<p>Active login sessions. View and revoke.</p>
|
||||
</a>
|
||||
<a href="{{ url_for('table_view', name='auth_logs') }}" class="card">
|
||||
<span class="card-icon">auth_logs</span>
|
||||
<h2>Auth logs</h2>
|
||||
<p>Login, logout, failed attempts. Read-only.</p>
|
||||
</a>
|
||||
<a href="{{ url_for('table_view', name='api_tokens') }}" class="card">
|
||||
<span class="card-icon">api_tokens</span>
|
||||
<h2>API tokens</h2>
|
||||
<p>Tokens for programmatic access. Activate or revoke.</p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user