{% extends "base.html" %} {% block title %}Admin Settings — SimpleAudit{% endblock %} {% block content %}
Platform administration. Stats show aggregate counts only — workspace content is not exposed here.
{% if tab == 'overview' %}Workspaces ({{ stats.platform.workspace_archived }} archived)
Users ({{ stats.platform.user_active }} active)
Runs ({{ stats.platform.audit_run_active }} active · {{ stats.platform.audit_run_failed }} failed)
Completed runs
Scenarios ({{ stats.platform.scenario_set_count }} sets)
Connections
| Workspace | Status | Members | Runs | Completed | Failed | Scenarios | Connections | Created |
|---|---|---|---|---|---|---|---|---|
| {{ ws.name }} | {% if ws.archived %}Archived{% else %}Active{% endif %} | {{ ws.member_count }} | {{ ws.audit_run_count }} | {{ ws.audit_completed }} | {{ ws.audit_failed }} | {{ ws.scenario_count }} | {{ ws.model_connection_count }} | {{ ws.created_at|date:"Y-m-d" }} |
| No workspaces yet. | ||||||||
| Workspace | Status | Members | Runs | Scenarios | Actions |
|---|---|---|---|---|---|
| {{ ws.name }} /{{ ws.slug }} | {% if ws.archived %}Archived{% else %}Active{% endif %} | {{ ws.member_count }} | {{ ws.audit_run_count }} | {{ ws.scenario_count }} |
Members
{% if ws.archived %}
{% elif ws.has_content %}
{% else %}
{% endif %}
|
| No workspaces yet. | |||||
| User | Role | Actions | |
|---|---|---|---|
| {{ m.user.username }} | {{ m.user.email }} |
|
|
| No members. | |||
| Username | Name | Status | Role | Joined | Actions | |
|---|---|---|---|---|---|---|
| {{ u.username }} {% if u.id == request.user.id %}(you){% endif %} | {{ u.first_name }} {{ u.last_name }} | {{ u.email }} | {% if u.is_active %}Active{% else %}Inactive{% endif %} | {% if u.is_superuser %}Super admin{% else %}User{% endif %} | {{ u.date_joined|date:"Y-m-d" }} |
{% if u.id != request.user.id %}
{% if u.is_superuser %}
{% else %}
{% endif %}
{% if u.is_active %}
{% else %}
{% endif %}
{% endif %}
|