This commit is contained in:
JACS 2026-05-01 19:39:45 -05:00
parent eec9697a71
commit 65f7715b05
7 changed files with 242 additions and 3 deletions

View file

@ -17,6 +17,29 @@ type TablerMenuItem struct {
// TablerMenu is a map of menu sections keyed by identifier
type TablerMenu map[string]*TablerMenuItem
// TableHeader represents a column header
type TableHeader struct {
Name string
Sort string
Width string
}
// TableRow represents a single row of mock data
type TableRow struct {
ID string
Name string
AvatarID string
Email string
City string
Country string
Status string
JobTitle string
Department string
Date string
Tags []string
Category string
}
// TablerPageData holds the common data for all tabler pages
type TablerPageData struct {
PageTitle string
@ -37,4 +60,8 @@ type TablerPageData struct {
UserRole string
NavbarMenu TablerMenu
CurrentPage string
// Table data
TableHeaders []TableHeader
TableRows []TableRow
PerPageOptions []string
}