feat(web): label table cells for the mobile card stack

This commit is contained in:
mrhid6
2026-07-27 22:46:39 +01:00
parent e8c75e974d
commit facef270b7
12 changed files with 55 additions and 55 deletions
+5 -5
View File
@@ -115,11 +115,11 @@ export function MembersCard() {
const locked = isSelf || managedByHQ || (u.role === "owner" && !isOwner);
return (
<Tr key={u.user_id}>
<Td>
<Td label="Email">
<span className="font-medium">{u.email}</span>
{isSelf && <span className="ml-2 text-xs text-text-tertiary">(you)</span>}
</Td>
<Td>
<Td label="Role">
{locked ? (
<Badge variant={roleVariant(u.role)}>{u.role}</Badge>
) : (
@@ -136,11 +136,11 @@ export function MembersCard() {
</select>
)}
</Td>
<Td>
<Td label="Sign-in">
<Badge variant="neutral">{u.auth_source === "oidc" ? "SSO" : u.auth_source === "hq" ? "Vantage HQ" : "Password"}</Badge>
</Td>
<Td className="text-text-secondary">{u.last_login ? new Date(u.last_login).toLocaleString() : "Never"}</Td>
<Td className="text-right">
<Td label="Last login" className="text-text-secondary">{u.last_login ? new Date(u.last_login).toLocaleString() : "Never"}</Td>
<Td label="Actions" className="text-right">
{managedByHQ ? (
hqUrl ? (
<a href={hqUrl} target="_blank" rel="noreferrer" className="text-xs text-text-secondary underline">