{{ extends "_base" }} {{ import "../../_modules/form" }} {{ block script() }} {{ end }} {{ block body_content() }}

{{ .Chart.Name ? "Edit" : "Create" }} chart


{{ yield radio(name="type", value="line", label="Line", checked=.Chart.Type) }} {{ yield radio(name="type", value="bar", label="Bar", checked=.Chart.Type) }} {{ yield radio(name="type", value="pie", label="Pie", checked=.Chart.Type) }} {{ yield radio(name="type", value="gauge", label="Gauge", checked=.Chart.Type) }} {*{{ yield radio(name="type", value="table", label="Table", checked=.Chart.Type) }}*}
{{ yield radio(name="dashboard", value="", label="Any", checked=.Chart.Dashboard) }} {{ yield radio(name="dashboard", value="home", label="Home", checked=.Chart.Dashboard) }} {{ yield radio(name="dashboard", value="service", label="Service", checked=.Chart.Dashboard) }} {*{{ yield radio(name="dashboard", value="task", label="Task", checked=.Chart.Dashboard) }}*}
Metrics {{ range i, c := .Chart.Metrics }} {{ end }}
Legend Query
{{ yield form_submit(url="/system/chart/") }}
{{ end }}