feat(admin): read live back-office data in every console view
Models, pipelines, users, subscriptions, usage, audit log, ads, and releases still rendered placeholder or duplicated implementations from the earlier admin split. They now read the live back-office API, share one sidebar and console theme, and the license issuer dialog uses the rotated signing key.
This commit is contained in:
parent
cfc58458a8
commit
5aa268970a
23 changed files with 187 additions and 174 deletions
|
|
@ -68,7 +68,7 @@ export default async function AdminUsersPage({ searchParams }: PageProps): Promi
|
|||
width: 4,
|
||||
height: 32,
|
||||
borderRadius: '999px',
|
||||
background: 'linear-gradient(180deg, #3b82f6 0%, #8b5cf6 100%)',
|
||||
background: 'linear-gradient(180deg, var(--d3-accent-main) 0%, var(--d3-tag-purple) 100%)',
|
||||
}}
|
||||
/>
|
||||
<Box>
|
||||
|
|
@ -163,17 +163,17 @@ export default async function AdminUsersPage({ searchParams }: PageProps): Promi
|
|||
height: 34,
|
||||
borderRadius: '10px',
|
||||
background: isProPlus
|
||||
? 'linear-gradient(135deg, #a855f7 0%, #3b82f6 100%)'
|
||||
? 'linear-gradient(135deg, var(--d3-tag-purple) 0%, var(--d3-accent-main) 100%)'
|
||||
: isPro
|
||||
? 'linear-gradient(135deg, #10b981 0%, #3b82f6 100%)'
|
||||
: 'linear-gradient(135deg, #64748b 0%, #475569 100%)',
|
||||
? 'linear-gradient(135deg, var(--d3-status-success) 0%, var(--d3-accent-main) 100%)'
|
||||
: 'linear-gradient(135deg, var(--d3-text-label) 0%, var(--d3-text-label) 100%)',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
color: '#ffffff',
|
||||
color: 'var(--d3-text-inverse)',
|
||||
fontWeight: 500,
|
||||
fontSize: '13px',
|
||||
boxShadow: isProPlus ? '0 0 12px rgba(168, 85, 247, 0.4)' : 'none',
|
||||
boxShadow: isProPlus ? '0 0 12px var(--d3-tag-purple)' : 'none',
|
||||
}}
|
||||
>
|
||||
{u.name.charAt(0)}
|
||||
|
|
@ -238,7 +238,7 @@ export default async function AdminUsersPage({ searchParams }: PageProps): Promi
|
|||
borderRadius: '8px',
|
||||
textTransform: 'none',
|
||||
px: 1.5,
|
||||
'&:hover': { bgcolor: 'rgba(59, 130, 246, 0.15)', borderColor: C.accentLight },
|
||||
'&:hover': { bgcolor: 'var(--d3-accent-glow)', borderColor: C.accentLight },
|
||||
}}
|
||||
>
|
||||
Manage →
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue