Add frontend spec

This commit is contained in:
Jon Staab
2026-03-26 13:49:46 -07:00
parent 9f737a25cd
commit a2239cf20e
17 changed files with 609 additions and 4 deletions
+23
View File
@@ -0,0 +1,23 @@
# Admin Tenant List
The admin tenant list page shows all tenants with profile-enriched search results.
```pug
page(path="/admin/tenants", auth="required", role="admin", shell="app")
header
title Tenants
controls
input(type="search", name="query", placeholder="Search tenants...")
loading_state(message="Loading tenants...")
error_state(message="Failed to load tenants.")
list(empty="No tenants found")
item(link="/admin/tenants/:pubkey")
avatar(profile.picture)
title profile.name || shortened_pubkey
subtitle profile.about || "No profile bio"
meta tenant.pubkey
badge tenant
```