{{define "firewall.html"}} {{template "base" .}} {{end}} {{define "content"}} {{if .Error}}
{{.Error}}
{{end}}
Firewall Status
{{if .DefaultZone}} {{end}}
Firewall {{.EnabledText}}
Default Zone{{.DefaultZone}}
Lockdown Mode {{if .Lockdown}}Active{{else}}Inactive{{end}}
Log Denied Traffic{{.Logging}}
{{if .Matrix}}
Zone Matrix
{{range .ZoneNames}}{{end}} {{range .Matrix}} {{range .Cells}}{{end}} {{end}}
{{.}}
{{.Zone}}{{.Symbol}}
Allow Deny
{{end}} {{if .Zones}}
Zones
{{range .Zones}} {{end}}
Name Action Interfaces Networks Services
{{.Name}} {{.Action}} {{.Interfaces}} {{.Networks}} {{.Services}}
{{end}} {{if .Policies}}
Policies
{{range .Policies}} {{end}}
Name Priority Action Ingress Egress Services
{{.Name}} {{.Priority}} {{.Action}} {{.Ingress}} {{.Egress}} {{.Services}}{{if .Masquerade}} masq{{end}}
{{end}} {{end}}