Header: lowercase oidc badge

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
claude BotandClaude Opus 5.5 committed 2026-10-04 17:27:30 +02:00
1 parent a57531c95f
commit 78e363652b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2647,7 +2647,7 @@ fetch('/auth/me').then((res) => (res.ok ? res.json() : null)).then((me) => {
who.querySelector('.who-name').textContent = me.user; who.querySelector('.who-name').textContent = me.user;
who.title = me.user; who.title = me.user;
const badge = who.querySelector('.who-badge'); const badge = who.querySelector('.who-badge');
badge.textContent = me.mode === 'oidc' ? 'OIDC' : 'local'; badge.textContent = me.mode;
badge.classList.add(me.mode); badge.classList.add(me.mode);
who.hidden = false; who.hidden = false;
} }
+1 -1
View File
@@ -189,7 +189,7 @@ svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
.chip.on { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); } .chip.on { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.actions { display: flex; align-items: center; gap: 6px; margin-left: auto; } .actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
/* Logged-in user, with how they logged in (OIDC / local) */ /* Logged-in user, with how they logged in (oidc / local) */
.whoami { display: flex; align-items: center; gap: 6px; min-width: 0; margin-left: 6px; font-size: 13px; color: var(--muted); } .whoami { display: flex; align-items: center; gap: 6px; min-width: 0; margin-left: 6px; font-size: 13px; color: var(--muted); }
.whoami .who-name { font-weight: 600; color: var(--text); max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .whoami .who-name { font-weight: 600; color: var(--text); max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whoami .who-badge { .whoami .who-badge {