{{/* Overview (mockup overview.html): the verdict in the head, the six checks as cards, and the two kinds of domain at a glance. Everything behind a card is on Health. The inbound box exists only while the inbound relay is on; without it the outbound box takes the whole width. */}} {{define "content"}} {{template "page_head" .Head}} {{template "overview_cards" .}} {{if .InboundOn}}
{{template "overview_outbound" .}}
{{template "overview_inbound" .}}
{{else}} {{template "overview_outbound" .}} {{end}} {{end}} {{define "overview_outbound"}} {{template "box_open" .Outbound}} {{if .OutboundRows}}
{{range .OutboundRows}} {{end}}
DomainDNSApps{{.Days}} days
{{.Name}}{{range $i, $t := .DNS}}{{if $i}} {{end}}{{template "tag" $t}}{{end}}{{.Apps}}{{.Messages}}
{{else}} {{template "empty_state" .OutboundEmpty}} {{end}} {{template "box_close"}} {{end}} {{define "overview_inbound"}} {{template "box_open" .Inbound}} {{if .InboundRows}}
{{range .InboundRows}} {{end}}
DomainMXUpstream
{{.Name}}{{template "tag" .MX}}{{.Upstream}}
{{else}} {{template "empty_state" .InboundEmpty}} {{end}} {{template "box_close"}} {{end}}