navid/veinsforge / commit

ff3477091cc9

Navid M <navidmomtahen@gmail.com> · 2026-11-28

parents: bc4e64585748

Browse files at this commit · Download source

all: update
--- a/internal/web/static/app.css+++ b/internal/web/static/app.css@@ -586,7 +586,20 @@ .repo-actions {   font-family: var(--font-mono);   font-size: 0.8rem;+}+.license {+  display: flex;+  align-items: center;+  gap: 0.3rem;+  margin-top: -0.55rem;+  line-height: 1.2;+}+.license-icon {+  width: 0.92em;+  height: 0.92em;+  flex: none; }+ .language-bar {   display: flex;   gap: 2px;--- a/internal/web/templates/repo.html+++ b/internal/web/templates/repo.html@@ -8,7 +8,18 @@   {{if .Data.LatestTag}} · latest tag <code>{{.Data.LatestTag}}</code>{{end}}   {{if .Data.Perms.CanAdmin}} · <a href="{{repoURL .Data.Repo}}/settings">settings</a>{{end}} </p>-{{if .Data.License}}<p class="small license"><span aria-hidden="true">⚖️</span> {{.Data.License}}</p>{{end}}+{{if .Data.License}}+<p class="muted license">+  <svg class="license-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">+    <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path>+    <polyline points="14 2 14 8 20 8"></polyline>+    <line x1="16" y1="13" x2="8" y2="13"></line>+    <line x1="16" y1="17" x2="8" y2="17"></line>+    <polyline points="10 9 9 9 8 9"></polyline>+  </svg>+  <span>{{.Data.License}}</span>+</p>+{{end}} {{with .Data.Languages}} <div class="language-bar" role="img" aria-label="Language breakdown">   <svg viewBox="0 0 100 10" preserveAspectRatio="none" aria-hidden="true" focusable="false">