{{define "content"}} {{$s := .Data}}
Running system
{{short $s.Current}}
Confirmed system
{{short $s.Confirmed}}
{{if $s.Applying}}

Applying…

Building the new configuration. This page refreshes on its own.

{{else if $s.ConfirmRunning}}

Confirming…

{{else if gt (seconds $s.RollbackIn) 0}}

Waiting for confirmation

The new configuration is active. Unless you confirm it within {{duration $s.RollbackIn}}, the router goes back to the confirmed system on its own.

{{else}}
{{if $s.Unapplied}}

The settings have changes that are not part of the confirmed system.

{{else}}

The settings match the confirmed system.

{{end}}
{{if $s.Unapplied}}
{{end}}
{{end}} {{if $s.Log}}

Last apply{{if $s.ApplyResult}} — {{if eq $s.ApplyResult "success"}}succeeded{{else}}failed ({{$s.ApplyResult}}){{end}}{{end}}

{{$s.Log}}
{{end}} {{end}}