diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a493bd..e7919ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); version ### Changed +- panel: navigation session icons are distinct — **Settings** uses a gear, + the signed-in user line carries the single-user icon, and **Users** a + two-person group mark instead of the same account silhouette for all three. - panel: `/` redirects domain administrators to `/domains`; global users still land on `/status`. Navigation hides global-only sections for domain administrators. diff --git a/internal/web/view/static/panel.css b/internal/web/view/static/panel.css index 6fd85ef..8803ee7 100644 --- a/internal/web/view/static/panel.css +++ b/internal/web/view/static/panel.css @@ -356,6 +356,9 @@ button.danger:hover, a.danger:hover { background: var(--danger-fill-hover); } of them. It may be long and there is nothing to break it on, so it is allowed to break mid word rather than widen the column. */ .nav .session .muted { padding: 0 0.6rem; font-size: 0.85rem; overflow-wrap: anywhere; } +.nav .session-user { + display: flex; align-items: center; gap: 0.5rem; +} /* The mark is a link, but not one of the column's entries: it takes none of the padding and rounding the entry rule below applies, so its own edge lines up with the entries' icons rather than sitting half a step inside them. */ diff --git a/internal/web/view/templates/layout.html b/internal/web/view/templates/layout.html index 69a3d82..d17e6e3 100644 --- a/internal/web/view/templates/layout.html +++ b/internal/web/view/templates/layout.html @@ -75,13 +75,13 @@ {{if eq .Active "mail_queue"}}{{template "icon-mail-queue"}}Mail queue{{else}}{{template "icon-mail-queue"}}Mail queue{{end}} {{if eq .Active "system_log"}}{{template "icon-system-log"}}System log{{else}}{{template "icon-system-log"}}System log{{end}} {{if eq .Active "backup"}}{{template "icon-backup"}}Backup{{else}}{{template "icon-backup"}}Backup{{end}} - {{if eq .Active "users"}}{{template "icon-account"}}Users{{else}}{{template "icon-account"}}Users{{end}} + {{if eq .Active "users"}}{{template "icon-users"}}Users{{else}}{{template "icon-users"}}Users{{end}} {{end}} {{template "sections" .}}