200 lines
9.0 KiB
HTML
200 lines
9.0 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: AK-P20 interim UI</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/billing" data-ui-mock-status="ready">
|
|
<div class="mock-shell" data-ui-mock-page="ak-p20-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/billing">Subscription</a>
|
|
<a class="mock-link" data-active="false" href="/:tenant/settings/billing/usage">Usage</a>
|
|
<a class="mock-link" data-active="false" href="/:tenant/settings/billing/invoices">Billing</a>
|
|
<a class="mock-link" data-active="false" href="/:tenant/settings/workspace/demo-data">Demo data</a>
|
|
<a class="mock-link" data-active="false" href="/:tenant/onboarding/checklist">First steps</a>
|
|
</nav>
|
|
<main class="mock-main">
|
|
<div class="mock-breadcrumbs"><span>Settings</span><span>/</span><span>Subscription</span></div>
|
|
<header class="mock-header">
|
|
<div>
|
|
<h1 class="mock-title">AK-P20 interim UI</h1>
|
|
<p class="mock-description">Static fixture for the billing and onboarding interim screens.</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">Screens</p>
|
|
<p class="mock-card-value">5</p>
|
|
<div class="mock-card-trend">Flat</div>
|
|
</article>
|
|
<article class="mock-card">
|
|
<p class="mock-card-label">View models</p>
|
|
<p class="mock-card-value">5</p>
|
|
<div class="mock-card-trend">Flat</div>
|
|
</article>
|
|
<article class="mock-card">
|
|
<p class="mock-card-label">Design status</p>
|
|
<p class="mock-card-value">interim</p>
|
|
<div class="mock-card-trend">Flat</div>
|
|
</article>
|
|
</section>
|
|
<section class="mock-card" aria-label="Mock activity">
|
|
<ul class="mock-activity">
|
|
<li><span>Subscription overview</span><span>/:tenant/settings/billing</span></li>
|
|
<li><span>Usage overview</span><span>/:tenant/settings/billing/usage</span></li>
|
|
<li><span>Invoices and payments</span><span>/:tenant/settings/billing/invoices</span></li>
|
|
<li><span>Demo data</span><span>/:tenant/settings/workspace/demo-data</span></li>
|
|
<li><span>First steps checklist</span><span>/:tenant/onboarding/checklist</span></li>
|
|
</ul>
|
|
</section>
|
|
<section class="mock-state" aria-label="Mock state payload">
|
|
<strong>Serialized state</strong>
|
|
<pre>{
|
|
"activity": 5,
|
|
"cards": 3,
|
|
"status": "Ready"
|
|
}</pre>
|
|
</section>
|
|
<script type="application/json" id="mock-page-state">{
|
|
"data": {
|
|
"activity": [
|
|
{
|
|
"labelKey": "mock.p20.interim.activity.subscription",
|
|
"meta": "/:tenant/settings/billing"
|
|
},
|
|
{
|
|
"labelKey": "mock.p20.interim.activity.usage",
|
|
"meta": "/:tenant/settings/billing/usage"
|
|
},
|
|
{
|
|
"labelKey": "mock.p20.interim.activity.billing",
|
|
"meta": "/:tenant/settings/billing/invoices"
|
|
},
|
|
{
|
|
"labelKey": "mock.p20.interim.activity.demoData",
|
|
"meta": "/:tenant/settings/workspace/demo-data"
|
|
},
|
|
{
|
|
"labelKey": "mock.p20.interim.activity.checklist",
|
|
"meta": "/:tenant/onboarding/checklist"
|
|
}
|
|
],
|
|
"cards": [
|
|
{
|
|
"labelKey": "mock.p20.interim.metrics.screens",
|
|
"trend": "flat",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"labelKey": "mock.p20.interim.metrics.viewModels",
|
|
"trend": "flat",
|
|
"value": "5"
|
|
},
|
|
{
|
|
"labelKey": "mock.p20.interim.metrics.designStatus",
|
|
"trend": "flat",
|
|
"value": "interim"
|
|
}
|
|
],
|
|
"designStatus": "interim",
|
|
"screenRoutes": [
|
|
"/:tenant/settings/billing",
|
|
"/:tenant/settings/billing/usage",
|
|
"/:tenant/settings/billing/invoices",
|
|
"/:tenant/settings/workspace/demo-data",
|
|
"/:tenant/onboarding/checklist"
|
|
],
|
|
"viewModels": {
|
|
"billing": {
|
|
"status": "empty"
|
|
},
|
|
"checklist": {
|
|
"status": "empty"
|
|
},
|
|
"demoData": {
|
|
"status": "empty"
|
|
},
|
|
"subscription": {
|
|
"status": "empty"
|
|
},
|
|
"usage": {
|
|
"status": "empty"
|
|
}
|
|
}
|
|
},
|
|
"status": "ready"
|
|
}</script>
|
|
<script type="application/json" id="mock-page-registries">{
|
|
"breadcrumbs": [
|
|
{
|
|
"href": "/:tenant/settings",
|
|
"id": "settings",
|
|
"labelKey": "mock.p20.interim.breadcrumb.settings"
|
|
},
|
|
{
|
|
"href": "/:tenant/settings/billing",
|
|
"id": "subscription",
|
|
"labelKey": "mock.p20.interim.nav.subscription"
|
|
}
|
|
],
|
|
"sidebar": [
|
|
{
|
|
"href": "/:tenant/settings/billing",
|
|
"id": "ak-p20-subscription",
|
|
"labelKey": "mock.p20.interim.nav.subscription"
|
|
},
|
|
{
|
|
"href": "/:tenant/settings/billing/usage",
|
|
"id": "ak-p20-usage",
|
|
"labelKey": "mock.p20.interim.nav.usage"
|
|
},
|
|
{
|
|
"href": "/:tenant/settings/billing/invoices",
|
|
"id": "ak-p20-billing",
|
|
"labelKey": "mock.p20.interim.nav.billing"
|
|
},
|
|
{
|
|
"href": "/:tenant/settings/workspace/demo-data",
|
|
"id": "ak-p20-demoData",
|
|
"labelKey": "mock.p20.interim.nav.demoData"
|
|
},
|
|
{
|
|
"href": "/:tenant/onboarding/checklist",
|
|
"id": "ak-p20-checklist",
|
|
"labelKey": "mock.p20.interim.nav.checklist"
|
|
}
|
|
]
|
|
}</script>
|
|
</main>
|
|
</div>
|
|
</body>
|
|
</html>
|