fix(server): admin tables keep their columns aligned and fit beside the user panel
Fixed action columns, a separate class for table avatars, the archive tile label, a wrapping fingerprint and footers only when there is a next page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
8 files changed
+15
-12
No files matched your search
@@ -77,7 +77,7 @@ export async function render(root, { api, info, meta, actions }) {
|
||||
${u.id === api.user().id ? "" : `<button class="btn small" data-act="disable" data-i18n="Admin.Users.Disable" data-i18n-title="Admin.Users.Disable.Tip"></button>`}`;
|
||||
return `
|
||||
<div class="row${u.disabled ? " dim" : ""}" data-id="${attr(u.id)}">
|
||||
<span class="who"><span class="avatar ${attr(u.role)}">${escapeHtml(u.username.slice(0, 1).toUpperCase())}</span>
|
||||
<span class="person"><span class="avatar ${attr(u.role)}">${escapeHtml(u.username.slice(0, 1).toUpperCase())}</span>
|
||||
<span class="stack"><strong>${escapeHtml(u.username)}</strong><small>${escapeHtml(subtitle)}</small></span></span>
|
||||
<span data-i18n="Admin.Role.${cap(u.role)}"></span>
|
||||
<span>${quota}</span>
|
||||
|
||||
Reference in new issue
Block a user