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.

Split repository settings into tabs

e189a23e457b6aa01a35a4586586713cdc2d426d · Keenan Nemetz · 23h ago · parent 87ebcc5a

Split repository settings into tabs

One page held four audiences and ten forms. Each part is now its own tab:
General for the repository's own fields, Access for the instance-admin
rules, Secrets for the values jobs read, and Danger for rename and delete.
A tab is offered only to the accounts that may use it, and a viewer with one
tab gets no row at all. The Access and Secrets tabs, and the failures on
each, keep their own URLs so a redirect and an error land where the form was;
the Access and Secrets fragments survive as deep links.

server/web/templates/admin.html +1−1

@@ -7,7 +7,7 @@
7 7 </div>
8 8 </div>
9 9
10 <nav class="tabs status-tabs" aria-label="Admin">
10 <nav class="tabs page-tabs" aria-label="Admin">
11 11 {{$tab := .Tab}}
12 12 {{range .Tabs}}
13 13 <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>