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.
Refresh the web surface with Everforest, readable type, and clearer navigation
796ac8c0ce77461174cf520d5fad4dea37744662 · Keenan Nemetz · 12d ago · parent ac00929f
server/web/templates/chrome.html +10−5
| @@ -3,7 +3,7 @@ | |||
| 3 | 3 | 500 renders through. Every page template opens with {{template "header" .}} | |
| 4 | 4 | and closes with {{template "footer" .}}. */}} | |
| 5 | 5 | {{define "header"}}<!doctype html> | |
| 6 | <html lang="en"> | ||
| 6 | <html lang="en" data-theme="everforest-dark-medium" data-font-scale="medium"> | ||
| 7 | 7 | <head> | |
| 8 | 8 | <meta charset="utf-8"> | |
| 9 | 9 | <meta name="viewport" content="width=device-width,initial-scale=1"> | |
| @@ -11,18 +11,23 @@ | |||
| 11 | 11 | <meta name="color-scheme" content="dark light"> | |
| 12 | 12 | <meta name="htmx-config" content='{"includeIndicatorStyles":false}'> | |
| 13 | 13 | <title>{{.Title}} · Vole</title> | |
| 14 | <link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32.png"> | ||
| 15 | <link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16.png"> | ||
| 14 | <link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32.png" media="(prefers-color-scheme: light)"> | ||
| 15 | <link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32-dark.png" media="(prefers-color-scheme: dark)"> | ||
| 16 | <link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16.png" media="(prefers-color-scheme: light)"> | ||
| 17 | <link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16-dark.png" media="(prefers-color-scheme: dark)"> | ||
| 18 | <link rel="icon" type="image/svg+xml" href="/static/favicon.svg" sizes="any"> | ||
| 19 | <script src="/static/theme.js"></script> | ||
| 16 | 20 | <link rel="stylesheet" href="/static/vole.css"> | |
| 21 | <link rel="stylesheet" href="/static/everforest.css"> | ||
| 17 | 22 | <script src="/static/htmx.min.js" defer></script> | |
| 18 | 23 | <script src="/static/auth.js" defer></script> | |
| 19 | 24 | <script src="/static/app.js" defer></script> | |
| 20 | 25 | </head> | |
| 21 | 26 | <body> | |
| 22 | 27 | <header class="topbar"> | |
| 23 | <a class="brand" href="/" aria-label="Vole home"><img class="mark" src="/static/logo.png" alt="" width="28" height="28" aria-hidden="true"></a> | ||
| 28 | <a class="brand" href="/" aria-label="Vole home"><span class="mark" aria-hidden="true"></span></a> | ||
| 24 | 29 | <nav class="topnav" aria-label="Global"> | |
| 25 | <a class="{{if eq .Section "repos"}}active{{end}}" href="/"{{if eq .Section "repos"}} aria-current="page"{{end}}>{{icon "grid-2x2"}}Projects</a> | ||
| 30 | <a class="{{if eq .Section "repos"}}active{{end}}" href="/"{{if eq .Section "repos"}} aria-current="page"{{end}}>{{icon "house"}}Home</a> | ||
| 26 | 31 | <a class="{{if eq .Section "activity"}}active{{end}}" href="/activity"{{if eq .Section "activity"}} aria-current="page"{{end}}>{{icon "activity"}}Activity</a> | |
| 27 | 32 | {{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}} | |
| 28 | 33 | </nav> | |