Liking cljdoc? Tell your friends :D

boundary.admin.core.ui.layout

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.
raw docstring

admin-forbidden-pageclj

(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
sourceraw docstring

admin-homeclj

(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
sourceraw docstring

admin-layoutclj

(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
sourceraw docstring

admin-not-found-pageclj

(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
sourceraw docstring

admin-shellclj

(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
sourceraw docstring

admin-sidebarclj

(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
sourceraw docstring

build-table-urlclj

(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
sourceraw docstring

confirm-delete-dialogclj

(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
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close