Admin shell/layout, error pages, confirmation dialog, and URL utilities.
Pure Hiccup generators for the admin chrome: sidebar navigation, the
collapsible shell + topbar, the dashboard home, 403/404 error pages, the
delete-confirmation modal, and the build-table-url helper.
Admin shell/layout, error pages, confirmation dialog, and URL utilities. Pure Hiccup generators for the admin chrome: sidebar navigation, the collapsible shell + topbar, the dashboard home, 403/404 error pages, the delete-confirmation modal, and the `build-table-url` helper.
(admin-forbidden-page reason & [user])403 Forbidden page for admin access denial.
Args: reason: Explanation of why access was denied user: Current user (optional)
Returns: Hiccup page structure
403 Forbidden page for admin access denial. Args: reason: Explanation of why access was denied user: Current user (optional) Returns: Hiccup page structure
(admin-home entities entity-configs & [stats])Admin dashboard home page content.
Args: entities: Vector of available entity names entity-configs: Map of entity configurations stats: Optional map of dashboard statistics
Returns: Hiccup structure for dashboard
Admin dashboard home page content. Args: entities: Vector of available entity names entity-configs: Map of entity configurations stats: Optional map of dashboard statistics Returns: Hiccup structure for dashboard
(admin-layout content opts)Main admin layout with new shell structure (Phase 2).
Args: content: Main content (Hiccup structure) opts: Map with :user, :current-entity, :entities, :entity-configs, :flash
Returns: Complete HTML page structure with new admin shell
Main admin layout with new shell structure (Phase 2). Args: content: Main content (Hiccup structure) opts: Map with :user, :current-entity, :entities, :entity-configs, :flash Returns: Complete HTML page structure with new admin shell
(admin-not-found-page entity-name user)404 Not Found page for admin entities.
Args: entity-name: Entity that was not found user: Current user
Returns: Hiccup page structure
404 Not Found page for admin entities. Args: entity-name: Entity that was not found user: Current user Returns: Hiccup page structure
(admin-shell content opts)New admin shell layout with collapsible sidebar (Phase 2).
Args: content: Main content (Hiccup structure) opts: Map with :user, :current-entity, :entities, :entity-configs, :flash, :page-title
Returns: Admin shell structure with sidebar and topbar
New admin shell layout with collapsible sidebar (Phase 2). Args: content: Main content (Hiccup structure) opts: Map with :user, :current-entity, :entities, :entity-configs, :flash, :page-title Returns: Admin shell structure with sidebar and topbar
(admin-sidebar entities entity-configs current-entity)(admin-sidebar entities entity-configs current-entity opts)Admin sidebar with entity navigation and icons.
Args: entities: Vector of entity name keywords available to user entity-configs: Map of entity-name -> entity-config current-entity: Currently active entity name (optional) opts: Optional map; supports :logo-url for a custom brand image
Returns: Hiccup sidebar structure with entity list
Admin sidebar with entity navigation and icons. Args: entities: Vector of entity name keywords available to user entity-configs: Map of entity-name -> entity-config current-entity: Currently active entity name (optional) opts: Optional map; supports :logo-url for a custom brand image Returns: Hiccup sidebar structure with entity list
(build-table-url entity-name opts)Build table URL with query parameters.
Args: entity-name: Keyword entity name opts: Map with :page, :page-size, :sort, :dir, :search, etc.
Returns: URL string with query parameters
Build table URL with query parameters. Args: entity-name: Keyword entity name opts: Map with :page, :page-size, :sort, :dir, :search, etc. Returns: URL string with query parameters
(confirm-delete-dialog entity-name record-id)Confirmation dialog for delete operations.
Args: entity-name: Keyword entity name record-id: ID of record to delete
Returns: Hiccup modal structure
Confirmation dialog for delete operations. Args: entity-name: Keyword entity name record-id: ID of record to delete Returns: Hiccup modal structure
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |