{% extends "base.html" %} {% block content %}

Hosted Command Deck

{{ app_title }}

Qt-inspired web control surface for login security, user management, audit visibility, and deployment readiness.

{% if current_user.role == 'admin' %} Open User Control {% endif %} Refresh Status

Workspace Role

Your Role

{{ current_role }}

Access Control

User Accounts

{{ user_count }}

Security Layer

Security

Login lockout enabled

Last Event

Status Feed

{{ last_event }}

Portal Readiness

Quick health readout for local and hosted setup.

Secret key configured {{ 'Ready' if env_ready else 'Needs update' }}
Secure cookie mode {{ 'Enabled' if secure_cookie else 'Disabled' }}
Audit entries visible {{ log_count }}

Quick Actions

Core control actions grouped like the Qt tool command deck.

{% if current_user.role == 'admin' %} Manage Users {% endif %}

Recent Audit Log

Track sign-ins and admin actions from one place, similar to the Qt task log.

{% for entry in recent_logs %} {% else %} {% endfor %}
When Event Detail IP
{{ entry.created_at }} {{ entry.event_type }} {{ entry.detail }} {{ entry.ip_address or '-' }}
No audit events yet.
{% if current_user.role == 'admin' %}

Admin Control Bay

Manage access and bootstrap the hosted control surface.

Primary Admin Action

User and role management

Create portal users, assign roles, and review who has access.

Manage Users
{% endif %} {% endblock %}