From bb3d22db80100b831492f6806f09f8bad3e141be Mon Sep 17 00:00:00 2001 From: Eugene Blikh Date: Thu, 6 Aug 2026 23:47:19 +0300 Subject: [PATCH] web: git.sr.ht-style dashboard and unified nav brand Adopt the family look the dolt service already has. The nav brand becomes circle icon + site name + red service label (dropping the hub-origin variant), matching every other service on the instance. The logged-in index turns into the two-column dashboard: a sidebar with the service blurb, review-queue/agent-tokens block buttons and the search form, and the spaces as shared-theme event-list cards. The big in-page h2 lives on only for anonymous visitors, where the nav has no user context yet. --- web/templates/index.html | 41 ++++++++++++++++++--------------------- web/templates/layout.html | 7 +------ 2 files changed, 20 insertions(+), 28 deletions(-) diff --git a/web/templates/index.html b/web/templates/index.html index 243c815cb2ac7af3eadcecc4ca904097141767c2..6c71683f21f335d4e84fca12cd1f07a3ecd31432 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -1,42 +1,33 @@ {{define "content"}} +{{if .Data.LoggedIn}}
-
-

{{.SiteName}} spec

+

Reviewable document storage: agents propose, you curate, agents read back the approved text. Reads default to the approved revision; add ?rev=<sha> to pin any page to an immutable one.

-
-
- -{{if .Data.LoggedIn}} -
-
-

- Review queue — proposals waiting on you. - Agent tokens — credentials for the write plane. -

-
+ Review queue + Agent tokens +
- +
-
- -
-
-

Your spaces

+
+
{{if .Data.Spaces}} - +
{{else}}

No spaces yet. A space is a bare git repository owned by this service; @@ -48,6 +39,12 @@ {{else}}

+

{{.SiteName}} spec

+

+ Reviewable document storage: agents propose, you curate, agents read back + the approved text. Reads default to the approved revision; add + ?rev=<sha> to pin any page to an immutable one. +

Log in to browse the spaces on this instance. Agents authenticate with a bearer token instead. diff --git a/web/templates/layout.html b/web/templates/layout.html index a636c78c2ba0fc8409cf7deb392b7a8ae050dab3..b8676b763efbbd5891a1aca0a24455f883590612 100644 --- a/web/templates/layout.html +++ b/web/templates/layout.html @@ -15,18 +15,13 @@

{{end}}