vole
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software:2222/vole.git
A free and open-source forge that lives in your Git repo.
Expand the admin status page into an operational dashboard
4506a4d3d279556435fdd414265e7499c3dada16 · Keenan Nemetz · 14d ago · parent 2e024cc9
server/web/templates/layout.html +1−2
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | <header class="topbar"> | |
| 17 | 17 | <a class="brand" href="/" aria-label="Vole home"><span class="mark" aria-hidden="true">v</span>vole</a> | |
| 18 | 18 | <nav class="topnav" aria-label="Global"> | |
| 19 | <a class="{{if eq .Section "runners"}}active{{end}}" href="/runners"{{if eq .Section "runners"}} aria-current="page"{{end}}>{{icon "server"}}Runners</a> | ||
| 20 | 19 | <a class="{{if eq .Section "activity"}}active{{end}}" href="/activity"{{if eq .Section "activity"}} aria-current="page"{{end}}>{{icon "activity"}}Activity</a> | |
| 21 | 20 | {{if .InstanceAdmin}}<a class="{{if eq .Section "users"}}active{{end}}" href="/users"{{if eq .Section "users"}} aria-current="page"{{end}}>{{icon "users"}}Accounts</a>{{end}} | |
| 22 | 21 | </nav> | |
| @@ -33,7 +32,7 @@ | |||
| 33 | 32 | </summary> | |
| 34 | 33 | <div class="account-pop"> | |
| 35 | 34 | <a href="/account">{{icon "user"}}Account</a> | |
| 36 | <a href="/status">{{icon "info"}}Status</a> | ||
| 35 | {{if .InstanceAdmin}}<a href="/status">{{icon "info"}}Status</a>{{end}} | ||
| 37 | 36 | <div class="account-sep"></div> | |
| 38 | 37 | <form method="post" action="/logout"><input type="hidden" name="csrf" value="{{.CSRF}}"><button type="submit">{{icon "log-out"}}Sign out</button></form> | |
| 39 | 38 | </div> | |