tempalte admin users
This commit is contained in:
parent
7f3bfb7d59
commit
f06d22072e
6 changed files with 158 additions and 8 deletions
|
|
@ -500,6 +500,21 @@ type FormtablerUserSettingsPage struct {
|
|||
ActiveTab string
|
||||
}
|
||||
|
||||
// AdminUserRow represents a single user in the admin users list.
|
||||
type AdminUserRow struct {
|
||||
Name string
|
||||
Email string
|
||||
Status string // "Active", "Inactive", "Invited"
|
||||
Roles string // comma-separated role names
|
||||
EditLink string
|
||||
}
|
||||
|
||||
// AdminUsersPage holds the data for the admin users page.
|
||||
type AdminUsersPage struct {
|
||||
Users []AdminUserRow
|
||||
AddLink string
|
||||
}
|
||||
|
||||
// AuthLockPageData holds the data for the account lock page.
|
||||
type AuthLockPageData struct {
|
||||
PersonName string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue