{{define "content"}}

Services

Show
{{template "services" .}}
{{end}} {{/* The machine filter in the sidebar. The page defines it; the services fragment replaces its links out of band. */}} {{define "machines"}}
Machines
{{end}} {{define "machine-links"}} All {{.ServiceCount}} {{range .Groups}} {{if .Cluster}}{{else}}{{end}}{{.Title}} {{len .Services}} {{end}} {{end}} {{/* What /fragments/services returns: the groups, and the machine filter swapped in out of band. */}} {{define "services-fragment"}} {{template "services" .}}
{{template "machine-links" .}}
{{end}} {{define "services"}} {{if .Sprite}}{{end}} {{range .Groups}}
{{.Title}} {{.Kind}} {{if .Meta}}{{.Meta}}{{end}} {{if .Offline}}{{.OfflineLabel}}{{with .OfflineSince}} since {{end}} ยท showing last known state{{end}} {{len .Services}}
{{range .Services}}
{{.Repo}}{{.Tag}}{{.Digest}}
{{.StatusLabel}}
{{if .AvailableRef}}Update available{{.AvailableTag}}{{end}} {{if .NewerTag}}Newer tag{{.NewerTag}}{{end}} {{if followsNoTag .Service}}Follows no tag{{end}} {{if .LastPollError}}Poll failed{{end}} {{if .Self}}Managed outside{{end}}
{{if .Self}}n/a {{else}}
{{if eq .UpdateMode "auto"}} {{else}} {{if .AutoBlocked}}{{.AutoBlocked}}{{end}}{{end}}
{{end}}
{{end}}
{{else}}

No services reported yet. Add an agent to get started.

{{end}} {{end}}