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:
+13
-6
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user