{{/* wide, because the Actions cell carries up to two forms, each an 11rem confirm field and a button: about 1100px of row, which 48rem clipped. What it clipped was the second form's button, leaving its confirm field looking like it belonged to the button before it. */}} {{define "width"}}wide{{end}} {{define "title"}}accounts · admin · {{.Site}}{{end}} {{define "content"}}
{{.Notice}}{{if .Reauth}} Sign in again{{end}}
{{end}} {{if .Users}}| Account | State | Created | Last seen | Actions |
|---|---|---|---|---|
| {{.Username}}{{if .Admin}} admin{{end}} | {{.State}} | {{when .CreatedAt}} | {{if .LastSeen}}{{when .LastSeen}}{{else}}never{{end}} | {{if .Admin}} {{else if eq .State "active"}} {{else}} {{/* An account that is not active cannot be promoted, but the row still draws the button so the cell keeps its shape. It carries no confirm field: nothing is confirmed, and a second field with the same placeholder as the disable form's reads as a duplicate of it. Disabled, so the form never posts. */}} {{end}} {{if eq .State "disabled"}} {{else}} {{end}} |
No account matches
{{end}} {{if .Next}}{{end}}gitbay admin user create <name> --key - < key.pub
gitbay admin user delete <name> --yes
gitbay admin invite --email <address>
{{end}}