Admin Dashboard

System overview and recent activity

Users

{@user_count}

<.link navigate={~p"/admin/users"} class="text-blue-600 dark:text-blue-400 hover:underline text-sm" > View all users →

Organizations

{@org_count}

<.link navigate={~p"/admin/organizations"} class="text-blue-600 dark:text-blue-400 hover:underline text-sm" > View all organizations →

<.icon name="hero-queue-list" class="w-5 h-5 inline mr-1" /> Oban Dashboard

Monitor background jobs and queues

<.link navigate={~p"/admin/oban"} class="text-blue-600 dark:text-blue-400 hover:underline text-sm" > Open Oban →

<.icon name="hero-chart-bar" class="w-5 h-5 inline mr-1" /> LiveDashboard

System metrics and performance

<.link navigate={~p"/admin/dashboard"} class="text-blue-600 dark:text-blue-400 hover:underline text-sm" > Open Dashboard →

Recent Audit Logs

<.table id="audit-logs" rows={@recent_logs}> <:col :let={log} label="Action">{log.action} <:col :let={log} label="Superuser">{log.superuser && log.superuser.email} <:col :let={log} label="Target">{log.target_user && log.target_user.email} <:col :let={log} label="Time"> {ToweropsWeb.TimeHelpers.format_iso8601(log.inserted_at, @timezone)}