{{define "configure-users.html"}} {{template "base" .}} {{end}} {{define "content"}}
{{if .Loading}}
Downloading YANG schema from device… this takes a moment on first login.
{{template "configure-toolbar" .}}
{{else}} {{if .Error}}
{{.Error}}
{{end}}
{{/* ── Users ───────────────────────────────────────────────────────── */}}
Users
{{range $i, $u := .Users}} {{end}} {{/* Hidden add-user row — revealed by the + Add user button */}}
Username Shell SSH Keys
{{.KeyCount}}
{{/* Change password */}}
Change Password
New password
{{/* Authorized SSH keys */}}
Authorized SSH Keys ({{.KeyCount}})
{{if .AuthorizedKeys}}
{{range .AuthorizedKeys}} {{end}}
NameAlgorithm
{{.Name}} {{.Algorithm}}
{{end}}
Key name
Public key
{{/* ── Groups ─────────────────────────────────────────────────────── */}}
Groups
{{range $i, $g := .Groups}} {{end}}
Group Members
{{.MembersSummary}}
Members
{{if .UserNames}}
{{range .UserNames}} {{end}}
Username
{{.}}
{{else}}

No members.

{{end}} {{if .Available}}
Add Members
{{end}}
{{template "configure-toolbar" .}} {{end}}{{/* end {{else}} — schema ready */}} {{end}}