Bloccs.Web.Layouts (bloccs_web v0.1.0)

Copy Markdown View Source

Self-contained root and app layouts for the dashboard. The dashboard ships its own precompiled CSS/JS from priv/static (served by a dashboard-owned static route), so these layouts never depend on the host's assets or layout.

Summary

Functions

The per-page wrapper inside the live_session.

The HTML document shell. Pulls in the dashboard's own precompiled assets.

Functions

app(assigns)

The per-page wrapper inside the live_session.

Attributes

  • flash (:map) - Defaults to %{}.
  • inner_content (:any) (required)

root(assigns)

The HTML document shell. Pulls in the dashboard's own precompiled assets.

Attributes

  • inner_content (:any) (required)
  • page_title (:string) - Defaults to "bloccs".