tabla clientes ejemplo

This commit is contained in:
JACS 2026-05-03 02:29:05 -05:00
parent f06d22072e
commit e4b0969ecf
5 changed files with 308 additions and 0 deletions

View file

@ -225,6 +225,31 @@ func UserLock(c *core.Context) *core.Response {
return c.Response.Template("apptabler_auth-lock.html", data)
}
// AdminCustomers renders the admin customers listing page.
func AdminCustomers(c *core.Context) *core.Response {
type adminCustomersPageData struct {
TablerPageData
AdminCustomers AdminCustomersPage
}
data := adminCustomersPageData{
TablerPageData: TablerPageData{
PageTitle: "Customers",
PageDescription: "Manage customers",
ShowTopbar: true,
Sidebar: false,
PageHeader: "Customers",
PagePretitle: "Customer Management",
UserName: "Jane Doe",
UserRole: "Administrator",
NavbarMenu: SampleNavbarMenu(),
},
AdminCustomers: AdminCustomersPage{
Customers: SampleCustomersTable(),
},
}
return c.Response.Template("apptabler_admincustomers.html", data)
}
// AdminUsers renders the admin users listing page.
func AdminUsers(c *core.Context) *core.Response {
type adminUsersPageData struct {