{{define "configure-ntp.html"}} {{template "base" .}} {{end}} {{define "content"}}
{{if .Error}}
{{.Error}}
{{end}}
NTP Servers
{{range $i, $s := .NTP.Servers}} {{else}} {{end}}
Name{{template "field-info" (index .Desc "name")}} Address{{template "field-info" (index .Desc "address")}} Port{{template "field-info" (index .Desc "port")}} Prefer{{template "field-info" (index .Desc "prefer")}}
{{if $s.UDP.Address}}{{$s.UDP.Address}}{{else}}{{end}} {{if $s.UDP.Port}}{{$s.UDP.Port}}{{else}}123{{end}} {{if $s.Prefer}}★{{end}}
Address{{template "field-info" (index $.Desc "address")}}
Port{{template "field-info" (index $.Desc "port")}}
Association{{template "field-info" (index $.Desc "assoc")}}
iburst{{template "field-info" (index $.Desc "iburst")}}
Prefer{{template "field-info" (index $.Desc "prefer")}}
No NTP servers configured.
{{/* Hidden add-server form, revealed by the + Add server button (data-show) */}}
{{template "configure-toolbar" .}}
{{end}}