feat(templates): consolidate admin and profile templates

Add admin_users.templ for user management interface with delete, password
reset, and edit capabilities. Add profile.templ and related components for
user profile management. Remove admin_profile.templ. Update all templates
to use new consolidated API endpoints.
This commit is contained in:
2026-02-22 01:58:02 -05:00
parent 930d020ec1
commit 9ea0ec5a3e
21 changed files with 1176 additions and 70 deletions
+13 -6
View File
@@ -1,13 +1,20 @@
package templates
import "github.com/a-h/templ"
import (
"time"
"github.com/a-h/templ"
)
type User struct {
ID string
Username string
Email string
Role string
Theme string
ID string
Username string
Email string
Role string
Theme string
FirstName string
LastName string
CreatedAt time.Time
}
type PageData struct {