Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

style(portal): compact self-hosted service desk

rcourtmana2eaa7167a77
diff --git a/internal/cloudcp/portal/dist/build_manifest.json b/internal/cloudcp/portal/dist/build_manifest.json
index 6ead28897f..256b4993a1 100644
--- a/internal/cloudcp/portal/dist/build_manifest.json
+++ b/internal/cloudcp/portal/dist/build_manifest.json
@@ -1,5 +1,5 @@
{
- "source_hash": "53c95be428bd99e679f7eb23ca0108eab98f2a1981fc77f3e65134df39b13528",
+ "source_hash": "9b1b57e47b1f12d0975190928ace23fbe6d9c7c3d443bba3518eafd41e506c8c",
"build_inputs": [
"package.json",
"tsconfig.json",
diff --git a/internal/cloudcp/portal/dist/portal_app.css b/internal/cloudcp/portal/dist/portal_app.css
index c46fcf279a..406f3600d7 100644
--- a/internal/cloudcp/portal/dist/portal_app.css
+++ b/internal/cloudcp/portal/dist/portal_app.css
@@ -1615,22 +1615,22 @@ header .logout-btn:hover,
}
.service-shell-sidebar-head,
.service-inline-support {
- padding: 12px 14px;
+ padding: 10px 12px;
border: 1px solid var(--line);
border-radius: 10px;
background: #fff;
}
.service-shell-sidebar-head h3 {
- margin: 8px 0 0;
- font-size: 18px;
+ margin: 6px 0 0;
+ font-size: 17px;
line-height: 1.08;
letter-spacing: -0.03em;
}
.service-shell-sidebar-head p,
.service-inline-support p {
- margin: 8px 0 0;
- font-size: 13px;
- line-height: 1.55;
+ margin: 6px 0 0;
+ font-size: 12px;
+ line-height: 1.45;
color: var(--ink-soft);
}
.service-detail-shell {
@@ -1664,14 +1664,14 @@ header .logout-btn:hover,
.service-empty-command-grid {
display: grid;
grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr);
- gap: 14px;
- margin-top: 18px;
+ gap: 12px;
+ margin-top: 14px;
}
.service-empty-command-card {
display: flex;
flex-direction: column;
- gap: 12px;
- padding: 14px;
+ gap: 10px;
+ padding: 12px;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--panel-muted);
@@ -1688,7 +1688,7 @@ header .logout-btn:hover,
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 12px;
- padding: 10px 12px;
+ padding: 9px 12px;
border: none;
border-top: 1px solid var(--line);
background: #fff;
@@ -1705,32 +1705,19 @@ header .logout-btn:hover,
.service-action-main {
display: flex;
flex-direction: column;
- gap: 8px;
+ gap: 5px;
min-width: 0;
}
.service-action-tags {
display: flex;
align-items: center;
justify-content: flex-start;
- gap: 8px;
-}
-.service-action-tag {
- display: inline-flex;
- align-items: center;
- min-height: 24px;
- padding: 0 9px;
- border-radius: 999px;
- background: #fff;
- color: var(--ink-muted);
- font-size: 10px;
- font-weight: 800;
- letter-spacing: 0.08em;
- text-transform: uppercase;
+ gap: 6px;
}
.service-action-copy {
display: flex;
flex-direction: column;
- gap: 4px;
+ gap: 2px;
}
.service-action-copy h3 {
margin: 0;
@@ -1741,25 +1728,14 @@ header .logout-btn:hover,
.service-action-copy p {
margin: 0;
font-size: 12px;
- line-height: 1.45;
+ line-height: 1.35;
color: var(--ink-soft);
- max-width: 760px;
+ max-width: 520px;
}
-.service-action-highlights {
- display: flex;
- flex-wrap: wrap;
- gap: 6px;
-}
-.service-action-highlight {
- display: inline-flex;
- align-items: center;
- min-height: 22px;
- padding: 0 8px;
- border-radius: 999px;
- background: #fff;
- color: var(--ink-soft);
- font-size: 9px;
- font-weight: 600;
+.service-action-meta {
+ font-size: 11px;
+ line-height: 1.35;
+ color: var(--ink-muted);
}
.service-action-cta {
display: flex;
@@ -1806,8 +1782,8 @@ header .logout-btn:hover,
.service-empty-point {
display: flex;
flex-direction: column;
- gap: 6px;
- padding: 12px;
+ gap: 5px;
+ padding: 10px;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--panel-muted);
@@ -1832,7 +1808,7 @@ header .logout-btn:hover,
display: flex;
flex-direction: column;
gap: 5px;
- padding: 12px 14px;
+ padding: 10px 12px;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--panel-muted);
@@ -1854,8 +1830,8 @@ header .logout-btn:hover,
.service-empty-flow {
display: flex;
flex-direction: column;
- gap: 6px;
- padding: 12px;
+ gap: 5px;
+ padding: 10px;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--panel-muted);
diff --git a/internal/cloudcp/portal/dist/portal_app.js b/internal/cloudcp/portal/dist/portal_app.js
index 11c35cba9d..201c1053f6 100644
--- a/internal/cloudcp/portal/dist/portal_app.js
+++ b/internal/cloudcp/portal/dist/portal_app.js
@@ -1759,10 +1759,8 @@
return '<span class="badge badge-checking">Checking</span>';
}
function renderServiceActionRow(id, kicker, title, actionLabel, description, panelID, focusID, highlights) {
- var highlightHTML = highlights.map(function(item) {
- return '<span class="service-action-highlight">' + escapeHTML(item) + "</span>";
- }).join("");
- return '<article class="service-action-row"><div class="service-action-main"><div class="service-action-tags"><span class="service-card-kicker">' + kicker + '</span><span class="service-action-tag">Self-hosted</span></div><div class="service-action-copy"><h3>' + title + "</h3><p>" + description + '</p></div><div class="service-action-highlights">' + highlightHTML + '</div></div><div class="service-action-cta"><button class="btn-secondary service-action-button" type="button" id="' + id + '" data-account-service-action="open-service-panel" data-account-service-panel="' + panelID + '" data-account-service-focus="' + focusID + '" data-shell-target="services">' + escapeHTML(actionLabel) + "</button></div></article>";
+ var meta = highlights.join(" \u2022 ");
+ return '<article class="service-action-row"><div class="service-action-main"><div class="service-action-tags"><span class="service-card-kicker">' + kicker + '</span></div><div class="service-action-copy"><h3>' + title + "</h3><p>" + description + '</p></div><div class="service-action-meta">' + escapeHTML(meta) + '</div></div><div class="service-action-cta"><button class="btn-secondary service-action-button" type="button" id="' + id + '" data-account-service-action="open-service-panel" data-account-service-panel="' + panelID + '" data-account-service-focus="' + focusID + '" data-shell-target="services">' + escapeHTML(actionLabel) + "</button></div></article>";
}
function workspaceStatusCopy(workspace) {
var status = workspaceHealthState(workspace);
@@ -1912,11 +1910,11 @@
var hosted = hasHostedAccounts(accounts);
var activeSection = context.activeSection || "overview";
var serviceHeading = hosted ? "Self-hosted licenses and billing" : "Account services";
- var serviceNote = hosted ? "Hosted operations live above. Use these commercial tools for self-hosted licenses, billing, refunds, and privacy actions." : "Use these account tools for self-hosted licenses, billing, refunds, and privacy actions.";
+ var serviceNote = hosted ? "Hosted operations stay in Workspaces and Team. Use this area only for self-hosted commercial tasks." : "Use these account tools for self-hosted licenses, billing, refunds, and privacy actions.";
var hostedContent = accounts.map(function(account) {
return '<section class="account-surface"><div class="account-surface-body">' + renderAccountOverviewSection(account) + renderAccountWorkspaceSection(account, context.accountAPIBasePath) + renderAccountTeamSection(account) + "</div></section>";
}).join("");
- return '<div class="portal-shell" data-shell-section="' + activeSection + '"><div class="portal-shell-layout">' + renderShellNavigation(accounts, context.bootstrap.support_email || "", activeSection) + '<div class="portal-shell-main">' + (accounts.length === 1 ? renderAccountContextStrip(accounts[0]) : "") + '<section class="portal-content-panel portal-content-panel-overview"><div id="accounts-root">' + hostedContent + '</div></section><section class="portal-content-panel portal-content-panel-services service-section" id="account-services-section"><div class="service-header"><div><div class="account-panel-kicker">Account services</div><h2>' + serviceHeading + '</h2></div><div class="service-note">' + serviceNote + '</div></div><div class="service-shell"><aside class="service-shell-sidebar"><div class="service-shell-sidebar-head"><div class="account-panel-kicker">Service navigator</div><h3>Self-hosted billing, recovery, and privacy</h3><p>Use this desk for self-hosted commercial work only. Hosted workspace operations stay in Workspaces and Team.</p></div><div class="service-action-list">' + renderServiceActionRow("open-manage-service", "Billing", "Manage subscriptions", "Billing desk", "Open Stripe billing access for existing self-hosted subscriptions without leaving the Pulse Account shell.", "manage-service-panel", "manage-inline-email", ["Invoices and plan changes", "Subscription self-service"]) + renderServiceActionRow("open-retrieve-service", "Licenses", "Retrieve licenses", "License desk", "Recover the latest active self-hosted license and invoice link for a commercial email address.", "retrieve-service-panel", "retrieve-inline-email", ["Latest active license", "Invoice lookup"]) + renderServiceActionRow("open-refund-service", "Refunds", "Refund requests", "Refund desk", "Request an immediate self-serve refund for eligible self-hosted purchases with explicit revocation confirmation.", "refund-service-panel", "refund-inline-email", ["Eligibility check", "Explicit revocation"]) + renderServiceActionRow("open-data-service", "Privacy", "Data and privacy", "Privacy desk", "Request commercial data export or deletion without leaving the account shell.", "data-service-panel", "data-export-email", ["Export or deletion", "Support escalation path"]) + '</div></aside><div class="service-shell-main"><div class="service-detail-shell"><div class="service-panel service-panel-empty visible" id="service-panel-empty"><div class="account-panel-kicker">Active service desk</div><h3>Open one commercial flow at a time</h3><p>Pick a billing, license, refund, or privacy flow from the navigator. The active request stays here so this area behaves like one self-hosted service desk.</p><div class="service-empty-command-grid"><div class="service-empty-command-card"><div class="service-empty-column-title">Start here</div><div class="service-empty-points service-empty-points-stack"><div class="service-empty-point"><strong>Verify first</strong><span>Each flow confirms the commercial email before opening sensitive actions.</span></div><div class="service-empty-point"><strong>One task at a time</strong><span>Keep the active request in this desk until you finish or switch tools.</span></div></div></div><div class="service-empty-command-card service-empty-command-card-wide"><div class="service-empty-column-title">Available desks</div><div class="service-empty-flow-list"><div class="service-empty-flow"><strong>Billing</strong><span>Stripe customer portal access after verification.</span></div><div class="service-empty-flow"><strong>Licenses</strong><span>Recover the latest active self-hosted license and invoice link.</span></div><div class="service-empty-flow"><strong>Refunds</strong><span>Confirm eligibility before revoking active commercial access.</span></div><div class="service-empty-flow"><strong>Privacy</strong><span>Request export or deletion without leaving Pulse Account.</span></div></div></div><div class="service-empty-command-card service-empty-command-card-support"><div class="service-empty-column-title">Support</div><div class="service-empty-checklist"><div class="service-empty-check"><strong>Escalate quickly</strong><span>If billing, licenses, refunds, or privacy behave unexpectedly, escalate from this surface.</span></div></div><div class="service-empty-support">Need help with billing, refund, privacy, or license actions? <a class="portal-support-link" href="mailto:' + escapeAttr(context.bootstrap.support_email || "") + '">' + escapeHTML(context.bootstrap.support_email || "") + '</a></div></div></div></div><div class="service-panel" id="manage-service-panel"><div id="manage-service-root"></div></div><div class="service-panel" id="retrieve-service-panel"><div id="retrieve-service-root"></div></div><div class="service-panel" id="refund-service-panel"><div id="refund-service-root"></div></div><div class="service-panel" id="data-service-panel"><h3>Data and privacy</h3><p>Request export or deletion of the commercial data tied to an email address. Payment data held directly by Stripe still requires support handling.</p><div class="subsection"><div id="data-export-root"></div></div><div class="subsection"><div id="data-delete-root"></div></div><div class="helper-text">Payment-card data stays with Stripe. For Stripe deletion support, contact <a href="mailto:' + escapeAttr(context.bootstrap.support_email || "") + '">' + escapeHTML(context.bootstrap.support_email || "") + '</a>.</div></div></div></div></div></section><section class="portal-content-panel portal-content-panel-support">' + renderSupportSection(context) + "</section></div></div></div>";
+ return '<div class="portal-shell" data-shell-section="' + activeSection + '"><div class="portal-shell-layout">' + renderShellNavigation(accounts, context.bootstrap.support_email || "", activeSection) + '<div class="portal-shell-main">' + (accounts.length === 1 ? renderAccountContextStrip(accounts[0]) : "") + '<section class="portal-content-panel portal-content-panel-overview"><div id="accounts-root">' + hostedContent + '</div></section><section class="portal-content-panel portal-content-panel-services service-section" id="account-services-section"><div class="service-header"><div><div class="account-panel-kicker">Account services</div><h2>' + serviceHeading + '</h2></div><div class="service-note">' + serviceNote + '</div></div><div class="service-shell"><aside class="service-shell-sidebar"><div class="service-shell-sidebar-head"><div class="account-panel-kicker">Service navigator</div><h3>Self-hosted service desk</h3><p>Pick one billing, license, refund, or privacy task and keep it contained here.</p></div><div class="service-action-list">' + renderServiceActionRow("open-manage-service", "Billing", "Manage subscriptions", "Billing desk", "Open Stripe for self-hosted plan, invoice, and payment changes.", "manage-service-panel", "manage-inline-email", ["Plan changes", "Invoices"]) + renderServiceActionRow("open-retrieve-service", "Licenses", "Retrieve licenses", "License desk", "Recover the latest active self-hosted license and invoice link.", "retrieve-service-panel", "retrieve-inline-email", ["Latest active license", "Invoice lookup"]) + renderServiceActionRow("open-refund-service", "Refunds", "Refund requests", "Refund desk", "Request a self-serve refund when the purchase is still eligible.", "refund-service-panel", "refund-inline-email", ["Eligibility check", "Revocation"]) + renderServiceActionRow("open-data-service", "Privacy", "Data and privacy", "Privacy desk", "Request export or deletion for commercial account data.", "data-service-panel", "data-export-email", ["Export", "Deletion"]) + '</div></aside><div class="service-shell-main"><div class="service-detail-shell"><div class="service-panel service-panel-empty visible" id="service-panel-empty"><div class="account-panel-kicker">Active service desk</div><h3>Open one commercial flow at a time</h3><p>Open one task from the navigator and keep the active request in this desk until it is finished.</p><div class="service-empty-command-grid"><div class="service-empty-command-card"><div class="service-empty-column-title">Start here</div><div class="service-empty-points service-empty-points-stack"><div class="service-empty-point"><strong>Verify first</strong><span>Each flow confirms the commercial email before opening sensitive actions.</span></div><div class="service-empty-point"><strong>One task at a time</strong><span>Keep the active request in this desk until you finish or switch tools.</span></div></div></div><div class="service-empty-command-card service-empty-command-card-wide"><div class="service-empty-column-title">Available desks</div><div class="service-empty-flow-list"><div class="service-empty-flow"><strong>Billing</strong><span>Stripe customer portal access after verification.</span></div><div class="service-empty-flow"><strong>Licenses</strong><span>Recover the latest active self-hosted license and invoice link.</span></div><div class="service-empty-flow"><strong>Refunds</strong><span>Confirm eligibility before revoking active commercial access.</span></div><div class="service-empty-flow"><strong>Privacy</strong><span>Request export or deletion without leaving Pulse Account.</span></div></div></div><div class="service-empty-command-card service-empty-command-card-support"><div class="service-empty-column-title">Support</div><div class="service-empty-checklist"><div class="service-empty-check"><strong>Escalate quickly</strong><span>If a billing, license, refund, or privacy task does not behave as expected, escalate from this desk.</span></div></div><div class="service-empty-support">Need help with billing, refund, privacy, or license actions? <a class="portal-support-link" href="mailto:' + escapeAttr(context.bootstrap.support_email || "") + '">' + escapeHTML(context.bootstrap.support_email || "") + '</a></div></div></div></div><div class="service-panel" id="manage-service-panel"><div id="manage-service-root"></div></div><div class="service-panel" id="retrieve-service-panel"><div id="retrieve-service-root"></div></div><div class="service-panel" id="refund-service-panel"><div id="refund-service-root"></div></div><div class="service-panel" id="data-service-panel"><h3>Data and privacy</h3><p>Request export or deletion of the commercial data tied to an email address. Payment data held directly by Stripe still requires support handling.</p><div class="subsection"><div id="data-export-root"></div></div><div class="subsection"><div id="data-delete-root"></div></div><div class="helper-text">Payment-card data stays with Stripe. For Stripe deletion support, contact <a href="mailto:' + escapeAttr(context.bootstrap.support_email || "") + '">' + escapeHTML(context.bootstrap.support_email || "") + '</a>.</div></div></div></div></div></section><section class="portal-content-panel portal-content-panel-support">' + renderSupportSection(context) + "</section></div></div></div>";
}
function renderSignedOutPortalHTML(context) {
var statusHTML = "";
diff --git a/internal/cloudcp/portal/frontend/src/shell_view.test.ts b/internal/cloudcp/portal/frontend/src/shell_view.test.ts
index ff0b0c336d..290d452624 100644
--- a/internal/cloudcp/portal/frontend/src/shell_view.test.ts
+++ b/internal/cloudcp/portal/frontend/src/shell_view.test.ts
@@ -215,7 +215,7 @@ describe('shell view', function() {
expect(html).toContain('Pulse Account');
expect(html).toContain('Account console');
expect(html).toContain('Use these account tools for self-hosted licenses, billing, refunds, and privacy actions.');
- expect(html).toContain('Use this desk for self-hosted commercial work only.');
+ expect(html).toContain('Pick one billing, license, refund, or privacy task and keep it contained here.');
expect(html).toContain('Account services');
expect(html).not.toContain('Self-hosted licenses and billing');
});
diff --git a/internal/cloudcp/portal/frontend/src/shell_view.ts b/internal/cloudcp/portal/frontend/src/shell_view.ts
index 76f538b910..92629ecb52 100644
--- a/internal/cloudcp/portal/frontend/src/shell_view.ts
+++ b/internal/cloudcp/portal/frontend/src/shell_view.ts
@@ -122,21 +122,18 @@ function renderServiceActionRow(
focusID: string,
highlights: string[]
): string {
- var highlightHTML = highlights.map(function(item) {
- return '<span class="service-action-highlight">' + escapeHTML(item) + '</span>';
- }).join('');
+ var meta = highlights.join(' • ');
return (
'<article class="service-action-row">' +
'<div class="service-action-main">' +
'<div class="service-action-tags">' +
'<span class="service-card-kicker">' + kicker + '</span>' +
- '<span class="service-action-tag">Self-hosted</span>' +
'</div>' +
'<div class="service-action-copy">' +
'<h3>' + title + '</h3>' +
'<p>' + description + '</p>' +
'</div>' +
- '<div class="service-action-highlights">' + highlightHTML + '</div>' +
+ '<div class="service-action-meta">' + escapeHTML(meta) + '</div>' +
'</div>' +
'<div class="service-action-cta">' +
'<button class="btn-secondary service-action-button" type="button" id="' + id + '" data-account-service-action="open-service-panel" data-account-service-panel="' + panelID + '" data-account-service-focus="' + focusID + '" data-shell-target="services">' + escapeHTML(actionLabel) + '</button>' +
@@ -822,7 +819,7 @@ export function renderAuthenticatedPortalHTML(context: ShellViewContext): string
var activeSection = context.activeSection || 'overview';
var serviceHeading = hosted ? 'Self-hosted licenses and billing' : 'Account services';
var serviceNote = hosted
- ? 'Hosted operations live above. Use these commercial tools for self-hosted licenses, billing, refunds, and privacy actions.'
+ ? 'Hosted operations stay in Workspaces and Team. Use this area only for self-hosted commercial tasks.'
: 'Use these account tools for self-hosted licenses, billing, refunds, and privacy actions.';
var hostedContent = accounts.map(function(account) {
return (
@@ -857,14 +854,14 @@ export function renderAuthenticatedPortalHTML(context: ShellViewContext): string
'<aside class="service-shell-sidebar">' +
'<div class="service-shell-sidebar-head">' +
'<div class="account-panel-kicker">Service navigator</div>' +
- '<h3>Self-hosted billing, recovery, and privacy</h3>' +
- '<p>Use this desk for self-hosted commercial work only. Hosted workspace operations stay in Workspaces and Team.</p>' +
+ '<h3>Self-hosted service desk</h3>' +
+ '<p>Pick one billing, license, refund, or privacy task and keep it contained here.</p>' +
'</div>' +
'<div class="service-action-list">' +
- renderServiceActionRow('open-manage-service', 'Billing', 'Manage subscriptions', 'Billing desk', 'Open Stripe billing access for existing self-hosted subscriptions without leaving the Pulse Account shell.', 'manage-service-panel', 'manage-inline-email', ['Invoices and plan changes', 'Subscription self-service']) +
- renderServiceActionRow('open-retrieve-service', 'Licenses', 'Retrieve licenses', 'License desk', 'Recover the latest active self-hosted license and invoice link for a commercial email address.', 'retrieve-service-panel', 'retrieve-inline-email', ['Latest active license', 'Invoice lookup']) +
- renderServiceActionRow('open-refund-service', 'Refunds', 'Refund requests', 'Refund desk', 'Request an immediate self-serve refund for eligible self-hosted purchases with explicit revocation confirmation.', 'refund-service-panel', 'refund-inline-email', ['Eligibility check', 'Explicit revocation']) +
- renderServiceActionRow('open-data-service', 'Privacy', 'Data and privacy', 'Privacy desk', 'Request commercial data export or deletion without leaving the account shell.', 'data-service-panel', 'data-export-email', ['Export or deletion', 'Support escalation path']) +
+ renderServiceActionRow('open-manage-service', 'Billing', 'Manage subscriptions', 'Billing desk', 'Open Stripe for self-hosted plan, invoice, and payment changes.', 'manage-service-panel', 'manage-inline-email', ['Plan changes', 'Invoices']) +
+ renderServiceActionRow('open-retrieve-service', 'Licenses', 'Retrieve licenses', 'License desk', 'Recover the latest active self-hosted license and invoice link.', 'retrieve-service-panel', 'retrieve-inline-email', ['Latest active license', 'Invoice lookup']) +
+ renderServiceActionRow('open-refund-service', 'Refunds', 'Refund requests', 'Refund desk', 'Request a self-serve refund when the purchase is still eligible.', 'refund-service-panel', 'refund-inline-email', ['Eligibility check', 'Revocation']) +
+ renderServiceActionRow('open-data-service', 'Privacy', 'Data and privacy', 'Privacy desk', 'Request export or deletion for commercial account data.', 'data-service-panel', 'data-export-email', ['Export', 'Deletion']) +
'</div>' +
'</aside>' +
'<div class="service-shell-main">' +
@@ -872,7 +869,7 @@ export function renderAuthenticatedPortalHTML(context: ShellViewContext): string
'<div class="service-panel service-panel-empty visible" id="service-panel-empty">' +
'<div class="account-panel-kicker">Active service desk</div>' +
'<h3>Open one commercial flow at a time</h3>' +
- '<p>Pick a billing, license, refund, or privacy flow from the navigator. The active request stays here so this area behaves like one self-hosted service desk.</p>' +
+ '<p>Open one task from the navigator and keep the active request in this desk until it is finished.</p>' +
'<div class="service-empty-command-grid">' +
'<div class="service-empty-command-card">' +
'<div class="service-empty-column-title">Start here</div>' +
@@ -893,7 +890,7 @@ export function renderAuthenticatedPortalHTML(context: ShellViewContext): string
'<div class="service-empty-command-card service-empty-command-card-support">' +
'<div class="service-empty-column-title">Support</div>' +
'<div class="service-empty-checklist">' +
- '<div class="service-empty-check"><strong>Escalate quickly</strong><span>If billing, licenses, refunds, or privacy behave unexpectedly, escalate from this surface.</span></div>' +
+ '<div class="service-empty-check"><strong>Escalate quickly</strong><span>If a billing, license, refund, or privacy task does not behave as expected, escalate from this desk.</span></div>' +
'</div>' +
'<div class="service-empty-support">Need help with billing, refund, privacy, or license actions? <a class="portal-support-link" href="mailto:' +
escapeAttr(context.bootstrap.support_email || '') +
diff --git a/internal/cloudcp/portal/frontend/src/styles.css b/internal/cloudcp/portal/frontend/src/styles.css
index 14f8e73e4f..e136caed93 100644
--- a/internal/cloudcp/portal/frontend/src/styles.css
+++ b/internal/cloudcp/portal/frontend/src/styles.css
@@ -1840,24 +1840,24 @@ header .logout-btn:hover,
.service-shell-sidebar-head,
.service-inline-support {
- padding: 12px 14px;
+ padding: 10px 12px;
border: 1px solid var(--line);
border-radius: 10px;
background: #fff;
}
.service-shell-sidebar-head h3 {
- margin: 8px 0 0;
- font-size: 18px;
+ margin: 6px 0 0;
+ font-size: 17px;
line-height: 1.08;
letter-spacing: -0.03em;
}
.service-shell-sidebar-head p,
.service-inline-support p {
- margin: 8px 0 0;
- font-size: 13px;
- line-height: 1.55;
+ margin: 6px 0 0;
+ font-size: 12px;
+ line-height: 1.45;
color: var(--ink-soft);
}
@@ -1897,15 +1897,15 @@ header .logout-btn:hover,
.service-empty-command-grid {
display: grid;
grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr);
- gap: 14px;
- margin-top: 18px;
+ gap: 12px;
+ margin-top: 14px;
}
.service-empty-command-card {
display: flex;
flex-direction: column;
- gap: 12px;
- padding: 14px;
+ gap: 10px;
+ padding: 12px;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--panel-muted);
@@ -1924,7 +1924,7 @@ header .logout-btn:hover,
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 12px;
- padding: 10px 12px;
+ padding: 9px 12px;
border: none;
border-top: 1px solid var(--line);
background: #fff;
@@ -1944,7 +1944,7 @@ header .logout-btn:hover,
.service-action-main {
display: flex;
flex-direction: column;
- gap: 8px;
+ gap: 5px;
min-width: 0;
}
@@ -1952,27 +1952,13 @@ header .logout-btn:hover,
display: flex;
align-items: center;
justify-content: flex-start;
- gap: 8px;
-}
-
-.service-action-tag {
- display: inline-flex;
- align-items: center;
- min-height: 24px;
- padding: 0 9px;
- border-radius: 999px;
- background: #fff;
- color: var(--ink-muted);
- font-size: 10px;
- font-weight: 800;
- letter-spacing: 0.08em;
- text-transform: uppercase;
+ gap: 6px;
}
.service-action-copy {
display: flex;
flex-direction: column;
- gap: 4px;
+ gap: 2px;
}
.service-action-copy h3 {
@@ -1985,27 +1971,15 @@ header .logout-btn:hover,
.service-action-copy p {
margin: 0;
font-size: 12px;
- line-height: 1.45;
+ line-height: 1.35;
color: var(--ink-soft);
- max-width: 760px;
+ max-width: 520px;
}
-.service-action-highlights {
- display: flex;
- flex-wrap: wrap;
- gap: 6px;
-}
-
-.service-action-highlight {
- display: inline-flex;
- align-items: center;
- min-height: 22px;
- padding: 0 8px;
- border-radius: 999px;
- background: #fff;
- color: var(--ink-soft);
- font-size: 9px;
- font-weight: 600;
+.service-action-meta {
+ font-size: 11px;
+ line-height: 1.35;
+ color: var(--ink-muted);
}
.service-action-cta {
@@ -2064,8 +2038,8 @@ header .logout-btn:hover,
.service-empty-point {
display: flex;
flex-direction: column;
- gap: 6px;
- padding: 12px;
+ gap: 5px;
+ padding: 10px;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--panel-muted);
@@ -2094,7 +2068,7 @@ header .logout-btn:hover,
display: flex;
flex-direction: column;
gap: 5px;
- padding: 12px 14px;
+ padding: 10px 12px;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--panel-muted);
@@ -2120,8 +2094,8 @@ header .logout-btn:hover,
.service-empty-flow {
display: flex;
flex-direction: column;
- gap: 6px;
- padding: 12px;
+ gap: 5px;
+ padding: 10px;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--panel-muted);