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.
Build a landing page and simplify the forge chrome
074ae1605e177e99533af02d8c69ccd1a6a947bb · Keenan Nemetz · 14d ago · parent 62576fa8
Build a landing page and simplify the forge chrome The instance root is now a landing page rather than the full activity feed: forge identity, project cards with top language, last commit, issue/change counts and latest release, a short activity rail, and a first-run empty state. The full feed moves to /activity with type filters and pagination. Feeds now cover issues, changes, comments, and releases only; commits and CI runs already have their own pages. Configuration gains instance_name and instance_tagline. Navigation: the crowded global bar becomes Runners, Activity, search, and an account menu holding Admin, Status, and Log out. Repository pages show the name and description above the tabs at the home-page header scale, while tab-page titles stay small. Top-level pages keep the larger header. Drop the workflow run chip, assigned-issues strip, repository size stat, and footer Status link.
server/web/templates/code.html +15−7
| @@ -201,8 +201,12 @@ git push -u origin {{.Ref}}</pre> | |||
| 201 | 201 | {{define "commits"}} | |
| 202 | 202 | {{template "header" .}} | |
| 203 | 203 | {{template "repohead" (nav .Name "code" .CanAdmin)}} | |
| 204 | <h1>History</h1> | ||
| 205 | <p class="crumbs"><a href="/r/{{.Name}}/code?ref={{esc .Ref}}">{{.Ref}}</a> · newest first</p> | ||
| 204 | <div class="page-head"> | ||
| 205 | <div class="page-head-main"> | ||
| 206 | <h1>History</h1> | ||
| 207 | <p class="page-sub"><a href="/r/{{.Name}}/code?ref={{esc .Ref}}">{{.Ref}}</a> · newest first</p> | ||
| 208 | </div> | ||
| 209 | </div> | ||
| 206 | 210 | <div class="panel"> | |
| 207 | 211 | {{template "commitlist" .}} | |
| 208 | 212 | </div> | |
| @@ -212,11 +216,15 @@ git push -u origin {{.Ref}}</pre> | |||
| 212 | 216 | {{define "commit"}} | |
| 213 | 217 | {{template "header" .}} | |
| 214 | 218 | {{template "repohead" (nav .Name "code" .CanAdmin)}} | |
| 215 | <h1>{{.Commit.Subject}}</h1> | ||
| 216 | <p class="muted"> | ||
| 217 | <span class="sha">{{.Commit.SHA}}</span> · {{.Commit.Author}} · {{since .Commit.When}} | ||
| 218 | {{if .Parents}} · parent {{range .Parents}}<a class="sha" href="/r/{{$.Name}}/commit/{{.}}">{{short .}}</a> {{end}}{{end}} | ||
| 219 | </p> | ||
| 219 | <div class="page-head"> | ||
| 220 | <div class="page-head-main"> | ||
| 221 | <h1>{{.Commit.Subject}}</h1> | ||
| 222 | <p class="page-sub"> | ||
| 223 | <span class="sha">{{.Commit.SHA}}</span> · {{.Commit.Author}} · {{since .Commit.When}} | ||
| 224 | {{if .Parents}} · parent {{range .Parents}}<a class="sha" href="/r/{{$.Name}}/commit/{{.}}">{{short .}}</a> {{end}}{{end}} | ||
| 225 | </p> | ||
| 226 | </div> | ||
| 227 | </div> | ||
| 220 | 228 | {{if and .Body (ne .Body .Commit.Subject)}}<pre>{{.Body}}</pre>{{end}} | |
| 221 | 229 | {{template "diff" .}} | |
| 222 | 230 | {{template "footer" .}} | |