{{/* The kit page (GET /server/components): every partial of components.html in every state, filled from kit.go — the mockup components page rebuilt with the real templates. Like any page it is thin: partial calls with structs, Bulma layout classes, and the page utilities; the markup of a component is written in components.html and nowhere else. */}} {{define "content"}} {{template "page_head" .Head}} {{template "flash" .Flash}} {{template "flash" .FlashError}} {{template "box_open" .Layouts}} {{template "body_open"}} {{template "facts" .LayoutFacts}} {{template "body_close"}} {{template "box_close"}}
{{template "box_open" .Postmark}} {{template "body_open"}}
{{range .Postmarks}} {{template "postmark" .}}{{end}}

Only inside page_head, at most one per page, and only where the page has a verdict to give.

{{template "body_close"}} {{template "box_close"}} {{template "box_open" .StatusTag}}
{{range .StatusRows}} {{end}}
StatusTagBulma classes
{{.Words}}{{template "tag" .Tag}}{{status_tag .Tag.Status}}
{{template "box_close"}}
{{template "box_open" .BoxHead}} {{template "body_open"}}

The after the end slot is sp-help: an optional link to the section's topic on the Help page. It replaces today's help drawer.

box_body — padded content. A table or a run of sp-record blocks sits directly in the box, without box_body.

{{template "body_close"}} {{template "box_foot" .BoxFoot}} {{template "box_close"}} {{template "box_open" .DangerZone}} {{template "body_open"}}

For destructive confirmations and the "delete" entry of a settings page. The number may be an icon when the box is not part of a sequence.

{{template "body_close"}} {{template "box_close"}} {{template "box_open" .Credential}} {{template "body_open"}}

Only for a secret the panel will never show again.

{{template "body_close"}} {{template "box_close"}}
{{template "box_open" .HealthCard}} {{template "health_cards" .HealthCards}} {{template "box_close"}}
{{template "box_open" .DNSRecord}} {{range .Records}}{{template "dns_record" .}} {{end}}{{template "box_close"}} {{template "box_open" .Tables}}
Time, UTCNamesp-clipStatus
09-21 14:01:52the row's linkA long subject is clipped with an ellipsis instead of wrapping the rowsentDetails{{template "row_action" .RowAction}}
{{template "box_foot" .TablesFoot}} {{template "box_close"}} {{template "box_open" .LogPane}} {{template "log_pane" .LogLines}} {{template "box_close"}}
{{template "box_open" .Facts}} {{template "body_open"}} {{template "facts" .FactList}} {{template "body_close"}} {{template "box_close"}} {{template "box_open" .Timeline}} {{template "body_open"}} {{template "timeline" .Steps}} {{template "body_close"}} {{template "box_close"}} {{template "box_open" .EmptyState}} {{template "empty_state" .Empty}} {{template "box_close"}} {{template "box_open" .ConfirmList}} {{template "body_open"}} {{template "confirm_list" .Confirm}} {{template "body_close"}} {{template "box_close"}}
{{template "side_menu" .SideMenu}}
{{template "box_open" .FormRows}} {{template "body_open"}}

Help text lives in Bulma's help.

{{template "route" .Route}} {{template "body_close"}} {{template "help_topic" .HelpTopic}} {{template "box_close"}}
{{template "box_open" .Shell}} {{template "body_open"}} {{template "facts" .ShellFacts}} {{template "body_close"}} {{template "box_close"}} {{template "box_open" .TypeScale}}
SizeLooks likeUsed for
body · 16pxThe quick brown fox, 203.0.113.25Text, table cells, inputs, selects, buttons, menus and their dropdowns
--sp-fs-s · 14pxThe quick brown fox, 203.0.113.25Supporting text: labels, help, notes in a box head or foot, mono values (sp-small), logs, the footer
--sp-fs-xs · 13px{{template "kicker" .KickerSample}} tagUpper-case mono micro-labels (kicker, table head, dt, box title) and tags — nothing else
{{template "box_foot" .TypeScaleFoot}} {{template "box_close"}} {{end}}