{{ range $group, $monitorsAndStatus := .Monitors }}
{{ if eq $monitorsAndStatus.Status "SUCCESS" }}
{{ else if eq $monitorsAndStatus.Status "FAILURE" }}
{{ else }}
{{ end }}
{{ $group }}
{{ range $monitorsAndStatus.Monitors }}
{{ if eq .Status "SUCCESS" }}
{{ else if eq .Status "FAILURE" }}
{{ else }}
{{ end }}
{{ .Name }}
{{ .History.Uptime }}% uptime
{{ range .History.List }}
{{ if eq .Status "SUCCESS" }}
{{ else if eq .Status "FAILURE" }}
{{ else }}
{{ end }}
{{ if eq .Status "SUCCESS" }}
{{ else if eq .Status "FAILURE" }}
{{ else }}
{{ end }}
{{ if eq $.TimeRange "90days" }}
{{ .Date.Format "Jan 02" }}
{{ else if eq $.TimeRange "48hours" }}
{{ .Date.Format "Jan 02, 15:00 MST" }}
{{ else if eq $.TimeRange "90minutes" }}
{{ .Date.Format "Jan 02, 15:04 MST" }}
{{ end }}
{{ end }}
{{ if eq $.TimeRange "90days" }}
90 days ago
{{ else if eq $.TimeRange "48hours" }}
48 hours ago
{{ else if eq $.TimeRange "90minutes" }}
90 minutes ago
{{ end }}