{{ define "settings" }} {{ $description := "Monitors are constantly checking weather a service is online and working correctly." }} {{ $length := len .Monitors }} {{ if eq $length 0 }}

There are no monitors yet.

{{ $description }}

Create First Monitor
{{ else }}
{{ range .MonitorGroups }} {{ $currentGroup := . }} {{ range $group, $monitors := $.Monitors }} {{ if eq $group $currentGroup }} {{ range $monitors }} {{ end }} {{ end }} {{ end }} {{ end }}
List of Monitors

{{ $description }}

Create New
Group Name Worker Groups Status Schedule Action
{{ . }}
{{ .Name }} {{ range .WorkerGroups }} {{ . }} {{ end }} {{ if eq .Status "ACTIVE" }} ACTIVE {{ else if eq .Status "PAUSED" }} PAUSED {{ else }} UNKNOWN {{ end }} {{ .Schedule }} Details
{{ end }} {{ end }}