{{ block "page_content" . }}
{{ $actionPath := printf "%s/config/%s/action" .AppPath .Data.Page }}
{{ $canEdit := index .Data.Perms "config:update" }}
{{ end }}
{{ range .Data.Sections }}
{{ end }}
{{ end }}
{{ end }}
{{ template "hamburger" }}
{{ template "page_progress" }}
{{ if .Data.Error }}
{{ template "error_alert" .Data.Error }}
{{ else }}
{{ template "flash_alerts" .Data }}
{{ if .Data.Settings }}
{{ template "page_title" "OpenRun Configuration" }}
{{ .Data.PageTitle }}
{{ .Data.PageDesc }} - changes take effect immediately
Settings
dynamic values override the static openrun.toml value; clear a field and save to reset
{{ range .Data.Settings }}
{{ template "config_setting_row" (dict "Row" . "ActionPath" $actionPath "VersionId" $.Data.VersionId "CanEdit" $canEdit) }}
{{ end }}
{{ if .Data.AdvancedSettings }}
{{ end }}
Additional settings
{{ range .Data.AdvancedSettings }}
{{ template "config_setting_row" (dict "Row" . "ActionPath" $actionPath "VersionId" $.Data.VersionId "CanEdit" $canEdit) }}
{{ end }}
{{ $section := .section }}
{{ if .entries }}
{{ range .entries }}
{{ else }}
{{ end }}
{{ range .Data.KVs }}
| {{ .name }} | {{ if eq .source "static" }} static {{ else if .overrides }} overrides static {{ else }} dynamic {{ end }} | {{ .summary }} |
{{ if eq .source "static" }}override{{ else }}edit{{ end }}
{{ if ne .source "static" }}
{{ end }}
|
No entries configured
{{ end }}{{ .title }}
{{ .help }}
{{ $kv := . }}
{{ if .rows }}
{{ else }}
| Key | Value | Actions |
|---|---|---|
| {{ .key }} | {{ .value }} |
No overrides configured
{{ end }}