package controllers // FormtablerFormElementsPage is the page-specific struct for the form elements demo. // Each field is one of the 25 form element groups. type FormtablerFormElementsPage struct { TextInputs []FormtablerTextInput IconInputs []FormtablerIconInput IconSeparated FormtablerIconSeparated InputSizing FormtablerInputSizing FileInput FormtablerFileInput ColorInput FormtablerColorInput ColorPicker FormtablerColorPicker RangeInput FormtablerRangeInput Datalist FormtablerDatalist ImageCheck FormtablerImageCheck ImageRadio FormtablerImageRadio ImagePerson FormtablerImagePerson Checkboxes FormtablerCheckboxes CheckboxesInline FormtablerCheckboxesInline Radios FormtablerRadios RadiosInline FormtablerRadiosInline Toggles FormtablerToggle ToggleSingle FormtablerToggleSingle Select FormtablerSelect Selectgroups []FormtablerSelectGroup SelectgroupPayments FormtablerSelectgroupPayments SelectgroupProjectManager FormtablerSelectgroupProjectManager Fieldset FormtablerFieldset CheckboxesList FormtablerCheckboxesList ValidationStates FormtablerValidationStates } // FormtablerComponentsPage is the page-specific struct for the combined demo // showing alerts, toasts, and breadcrumbs. type FormtablerComponentsPage struct { Alerts []FormtablerAlert Breadcrumbs []FormtablerBreadcrumb Toasts []FormtablerToast } // FormtablerUserSettingsSection represents a section in the settings sidebar. type FormtablerUserSettingsSection struct { Title string SubItems []FormtablerUserSettingsNavItem } // FormtablerUserSettingsNavItem represents a single navigation item in the settings sidebar. type FormtablerUserSettingsNavItem struct { Title string Link string Active bool } // FormtablerUserSettingsPage holds the data for the user settings page. type FormtablerUserSettingsPage struct { SidebarSections []FormtablerUserSettingsSection 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 } // AdminCustomersPage holds the data for the admin customers listing page. type AdminCustomersPage struct { Customers []CustomerTableRow } // AuthLockPageData holds the data for the account lock page. type AuthLockPageData struct { PersonName string }