DEVELOPMENT ENVIRONMENT

~liljamo/felu

ref: 712c650d76f4607e50f58721b0a7fc050971cb75 felu/components/manageadmin.templ -rw-r--r-- 571 bytes
712c650dJonni Liljamo feat: first partial, for showing all users in the admin view 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package components

templ ManageAdmin() {
	@ManageBase("ManageAdmin") {
		<div>
			something something admin page
			<br/>probs have like stats and that kinda stuff here
		</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>
	}
}