package components
templ ManageAdmin() {
@ManageBase("ManageAdmin") {
<div>
something something admin page
<br/>probs have like stats and that kinda stuff here
</div>
<div class="flex flex-col">
<a class="border p-2" href="/manage/admin/users">Users</a>
<a class="border p-2" href="/manage/admin/domains">Domains</a>
</div>
}
}
templ ManageAdminUsers() {
@ManageBase("ManageAdmin") {
<div>
list of users here, with also the ability to add new users
</div>
<div hx-get="/manage/admin/partials/users_list" hx-trigger="load" hx-target="this">
</div>
}
}
templ ManageAdminDomains() {
@ManageBase("ManageAdmin") {
<div>
list of all domains on the instance, with owner details and such
</div>
}
}