235 lines
11 KiB
HTML
235 lines
11 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>UI Mock: mock.va-p26c.interim.title</title>
|
|
<style>
|
|
:root { color-scheme: light; --bg: #f6f7f9; --panel: #ffffff; --ink: #1f2937; --muted: #64748b; --line: #d9e0e8; --accent: #2563eb; --ok: #0f766e; }
|
|
* { box-sizing: border-box; }
|
|
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
|
|
.mock-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
|
|
.mock-nav { border-right: 1px solid var(--line); background: #eef2f7; padding: 24px 18px; }
|
|
.mock-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
|
.mock-link { display: block; margin-top: 12px; padding: 9px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
|
|
.mock-link[data-active='true'] { background: var(--panel); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
|
|
.mock-main { padding: 32px; }
|
|
.mock-breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
|
|
.mock-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
|
|
.mock-title { margin: 0; font-size: 28px; line-height: 1.2; }
|
|
.mock-description { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
|
|
.mock-status { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px 12px; color: var(--ok); font-weight: 700; }
|
|
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
|
|
.mock-card, .mock-state { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 16px; }
|
|
.mock-card-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
|
|
.mock-card-value { margin: 0; font-size: 24px; font-weight: 750; }
|
|
.mock-card-trend { margin-top: 10px; color: var(--ok); font-size: 12px; text-transform: uppercase; }
|
|
.mock-activity { margin: 0; padding: 0; list-style: none; }
|
|
.mock-activity li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
|
|
.mock-activity li:first-child { border-top: 0; padding-top: 0; }
|
|
.mock-state pre { margin: 12px 0 0; white-space: pre-wrap; color: #334155; }
|
|
</style>
|
|
</head>
|
|
<body data-ui-mock-route="/:tenant/settings/customer-portal/domain" data-ui-mock-status="ready">
|
|
<div class="mock-shell" data-ui-mock-page="va-p26c-customer-portal-domain-interim">
|
|
<nav class="mock-nav" aria-label="Mock sidebar">
|
|
<div class="mock-brand">HiveGrid mock</div>
|
|
<a class="mock-link" data-active="true" href="/:tenant/settings/customer-portal/domain">mock.va-p26c.interim.nav.domain</a>
|
|
</nav>
|
|
<main class="mock-main">
|
|
<div class="mock-breadcrumbs"><span>settings.title</span><span>/</span><span>customerPortal.admin.title</span><span>/</span><span>customerPortal.domain.title</span></div>
|
|
<header class="mock-header">
|
|
<div>
|
|
<h1 class="mock-title">mock.va-p26c.interim.title</h1>
|
|
<p class="mock-description">mock.va-p26c.interim.description</p>
|
|
</div>
|
|
<div class="mock-status">Ready</div>
|
|
</header>
|
|
<section class="mock-grid" aria-label="Mock metrics">
|
|
<article class="mock-card">
|
|
<p class="mock-card-label">mock.va-p26c.interim.metrics.entitlement</p>
|
|
<p class="mock-card-value">base_plan</p>
|
|
<div class="mock-card-trend">Flat</div>
|
|
</article>
|
|
<article class="mock-card">
|
|
<p class="mock-card-label">mock.va-p26c.interim.metrics.domain</p>
|
|
<p class="mock-card-value">cooldown</p>
|
|
<div class="mock-card-trend">Flat</div>
|
|
</article>
|
|
<article class="mock-card">
|
|
<p class="mock-card-label">mock.va-p26c.interim.metrics.switch</p>
|
|
<p class="mock-card-value">dns_verified</p>
|
|
<div class="mock-card-trend">Flat</div>
|
|
</article>
|
|
</section>
|
|
<section class="mock-card" aria-label="Mock activity">
|
|
<ul class="mock-activity">
|
|
<li><span>mock.va-p26c.interim.activity.checkout</span><span>recurring + claim-bound one-off</span></li>
|
|
<li><span>mock.va-p26c.interim.activity.dns</span><span>TXT + CNAME</span></li>
|
|
<li><span>mock.va-p26c.interim.activity.fallback</span><span>standard-host</span></li>
|
|
<li><span>mock.va-p26c.interim.activity.killSwitch</span><span>fail-safe</span></li>
|
|
</ul>
|
|
</section>
|
|
<section class="mock-state" aria-label="Mock state payload">
|
|
<strong>Serialized state</strong>
|
|
<pre>{
|
|
"activity": 4,
|
|
"cards": 3,
|
|
"status": "Ready"
|
|
}</pre>
|
|
</section>
|
|
<script type="application/json" id="mock-page-state">{
|
|
"data": {
|
|
"activity": [
|
|
{
|
|
"labelKey": "mock.va-p26c.interim.activity.checkout",
|
|
"meta": "recurring + claim-bound one-off"
|
|
},
|
|
{
|
|
"labelKey": "mock.va-p26c.interim.activity.dns",
|
|
"meta": "TXT + CNAME"
|
|
},
|
|
{
|
|
"labelKey": "mock.va-p26c.interim.activity.fallback",
|
|
"meta": "standard-host"
|
|
},
|
|
{
|
|
"labelKey": "mock.va-p26c.interim.activity.killSwitch",
|
|
"meta": "fail-safe"
|
|
}
|
|
],
|
|
"cards": [
|
|
{
|
|
"labelKey": "mock.va-p26c.interim.metrics.entitlement",
|
|
"trend": "flat",
|
|
"value": "base_plan"
|
|
},
|
|
{
|
|
"labelKey": "mock.va-p26c.interim.metrics.domain",
|
|
"trend": "flat",
|
|
"value": "cooldown"
|
|
},
|
|
{
|
|
"labelKey": "mock.va-p26c.interim.metrics.switch",
|
|
"trend": "flat",
|
|
"value": "dns_verified"
|
|
}
|
|
],
|
|
"designStatus": "interim",
|
|
"screenRoute": "/:tenant/settings/customer-portal/domain",
|
|
"viewModel": {
|
|
"data": {
|
|
"actions": {
|
|
"canActivateSwitch": true,
|
|
"canBuyDomainSetup": false,
|
|
"canBuyPortal": false,
|
|
"canCancelPortal": false,
|
|
"canClaimDomain": false,
|
|
"canReissueProof": false,
|
|
"canRemove": false,
|
|
"canRetry": false,
|
|
"canSwitch": false,
|
|
"canVerifyDns": false
|
|
},
|
|
"domain": {
|
|
"certificateExpiresAt": null,
|
|
"claimId": "claim-current",
|
|
"cnameRecordName": "portal.alt-acme.de",
|
|
"cnameRecordValue": "portal.hivegrid.de",
|
|
"cnameVerified": true,
|
|
"cooldownUntil": "2026-08-15T08:00:00.000Z",
|
|
"customPortalUrl": null,
|
|
"failureMessageKey": null,
|
|
"generation": 3,
|
|
"hostname": "portal.alt-acme.de",
|
|
"killSwitchEnabled": false,
|
|
"nextRetryAt": null,
|
|
"nextRevalidationAt": null,
|
|
"status": "cooldown",
|
|
"txtRecordName": "_hivegrid-portal.portal.alt-acme.de",
|
|
"txtRecordValue": null,
|
|
"txtVerified": true
|
|
},
|
|
"domainSetup": {
|
|
"active": true,
|
|
"amountCents": 29999,
|
|
"currency": "EUR",
|
|
"includedByContract": false,
|
|
"required": false,
|
|
"scopeKey": "portal-domain:claim-switch"
|
|
},
|
|
"monthlyAddOn": {
|
|
"active": true,
|
|
"amountCents": 1999,
|
|
"currency": "EUR",
|
|
"required": false
|
|
},
|
|
"pendingSwitch": {
|
|
"billingScopeKey": "portal-domain:claim-switch",
|
|
"claimId": "claim-switch",
|
|
"cnameRecordName": "portal.acme.de",
|
|
"cnameRecordValue": "portal.hivegrid.de",
|
|
"cnameVerified": true,
|
|
"hostname": "portal.acme.de",
|
|
"status": "dns_verified",
|
|
"txtRecordName": "_hivegrid-portal.portal.acme.de",
|
|
"txtRecordValue": "hivegrid-verification-proof-once",
|
|
"txtVerified": true,
|
|
"verificationExpiresAt": "2026-07-18T08:00:00.000Z"
|
|
},
|
|
"portalEntitled": true,
|
|
"portalEntitlementSource": "base_plan",
|
|
"readOnly": false,
|
|
"standardPortalUrl": "https://portal.hivegrid.de/acme",
|
|
"timeline": [
|
|
{
|
|
"id": "event-dns",
|
|
"labelKey": "customerPortal.domain.timeline.dnsVerified",
|
|
"occurredAt": "2026-07-16T08:30:00.000Z",
|
|
"tone": "positive"
|
|
},
|
|
{
|
|
"id": "event-claim",
|
|
"labelKey": "customerPortal.domain.timeline.claimed",
|
|
"occurredAt": "2026-07-16T08:00:00.000Z",
|
|
"tone": "neutral"
|
|
}
|
|
]
|
|
},
|
|
"status": "ready"
|
|
}
|
|
},
|
|
"status": "ready"
|
|
}</script>
|
|
<script type="application/json" id="mock-page-registries">{
|
|
"breadcrumbs": [
|
|
{
|
|
"href": "/:tenant/settings",
|
|
"id": "settings",
|
|
"labelKey": "settings.title"
|
|
},
|
|
{
|
|
"href": "/:tenant/settings/customer-portal",
|
|
"id": "customer-portal",
|
|
"labelKey": "customerPortal.admin.title"
|
|
},
|
|
{
|
|
"href": "/:tenant/settings/customer-portal/domain",
|
|
"id": "domain",
|
|
"labelKey": "customerPortal.domain.title"
|
|
}
|
|
],
|
|
"sidebar": [
|
|
{
|
|
"href": "/:tenant/settings/customer-portal/domain",
|
|
"id": "va-p26c-domain-admin",
|
|
"labelKey": "mock.va-p26c.interim.nav.domain",
|
|
"permission": "portal.admin"
|
|
}
|
|
]
|
|
}</script>
|
|
</main>
|
|
</div>
|
|
</body>
|
|
</html>
|