Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Blame · server/web/templates/admin.html

Line attribution on main · 23 line(s)

43e681d8
Keenan Nemetz
4d ago
1 {{define "admin"}}
2 {{template "header" .}}
3 <div class="page-head status-head">
4 <div class="page-head-main">
5 <h1>Admin</h1>
6 <p class="page-sub">How this instance is doing, who can use it, and a record of the changes that needed an admin. Uptime counted from {{since .Started.Unix}}.</p>
7 </div>
8 </div>
9
973fb809
Keenan Nemetz
22h ago
10 <div class="tabrow">
11 <nav class="tabs" aria-label="Admin">
12 {{$tab := .Tab}}
13 {{range .Tabs}}
ed03b3d1
Keenan Nemetz
2h ago
14 <a class="{{if eq .Key $tab}}active{{end}}" href="/-/admin{{if ne .Key "overview"}}?tab={{.Key}}{{end}}"{{if eq .Key $tab}} aria-current="page"{{end}}>{{icon .Icon}}{{.Label}}</a>
973fb809
Keenan Nemetz
22h ago
15 {{end}}
16 </nav>
17 </div>
43e681d8
Keenan Nemetz
4d ago
18
19 {{if eq .Tab "accounts"}}{{template "accounts_body" .}}{{end}}
20 {{if eq .Tab "audit"}}{{template "audit_body" .}}{{end}}
21 {{if or (eq .Tab "overview") (eq .Tab "storage") (eq .Tab "runners") (eq .Tab "configuration")}}{{template "status_body" .}}{{end}}
22 {{template "footer" .}}
23 {{end}}