{{ $ui := site.Data.docs.administration.ui.management }} {{ $latest := index site.Data.docs.versions 0 }}
{{ partial "ui/selector.html" (dict "name" "Platform" "items" $ui.family_names "var" "platform") }} {{ range $ui.families }} {{ $var := printf "%s_interface" .name }}
{{ partial "ui/selector.html" (dict "name" "Interface" "items" .interface_names "var" $var) }}
{{ end }}
{{ range $ui.families }} {{ $highlighter := .highlighter }}
{{ $var := printf "%s_interface" .name }} {{ range .interfaces }} {{ $cmds := .manage }}
Installer: {{ .title }}
Variables {{ with .variables.variants }} variant {{ range . }} {{ partial "badge.html" (dict "word" . "color" "gray") }} {{ end }} {{ end }} config_format {{ range .variables.config_formats }} {{ partial "badge.html" (dict "word" . "color" "gray") }} {{ end }}
{{ with .manage }}
{{ range slice "start" "stop" "reload" "restart" }} {{ $cmd := index $cmds . }} {{ with $cmd.info }}
{{ . | $.Page.RenderString }}
{{ end }} {{ if $cmd.command }} {{ $cmd = $cmd.command | replaceRE "{version}" $latest }}
{{ . | title }}
{{ highlight $cmd $highlighter "" }}
{{ end }} {{ end }}
{{ end }}
{{ end }}
{{ end }}