329 lines
14 KiB
HTML
329 lines
14 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: Dashboard interim drill (R-P11b)</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="/mock/r-p11b/dashboard" data-ui-mock-status="ready">
|
||
<div class="mock-shell" data-ui-mock-page="r-p11b-dashboard-interim">
|
||
<nav class="mock-nav" aria-label="Mock sidebar">
|
||
<div class="mock-brand">HiveGrid mock</div>
|
||
<a class="mock-link" data-active="false" href="/mock/phase-c">Phase C home</a>
|
||
<a class="mock-link" data-active="true" href="/mock/r-p11b/dashboard">Dashboard interim</a>
|
||
</nav>
|
||
<main class="mock-main">
|
||
<div class="mock-breadcrumbs"><span>Mock</span><span>/</span><span>Dashboard interim</span></div>
|
||
<header class="mock-header">
|
||
<div>
|
||
<h1 class="mock-title">Dashboard interim drill (R-P11b)</h1>
|
||
<p class="mock-description">Static fixture page for the R-P11b dashboard interim screen (AD-28).</p>
|
||
</div>
|
||
<div class="mock-status">Ready</div>
|
||
</header>
|
||
<section class="mock-grid" aria-label="Mock metrics">
|
||
</section>
|
||
<section class="mock-card" aria-label="Mock activity">
|
||
<ul class="mock-activity">
|
||
</ul>
|
||
</section>
|
||
<section class="mock-state" aria-label="Mock state payload">
|
||
<strong>Serialized state</strong>
|
||
<pre>{
|
||
"activity": 0,
|
||
"cards": 0,
|
||
"status": "Ready"
|
||
}</pre>
|
||
</section>
|
||
<script type="application/json" id="mock-page-state">{
|
||
"data": {
|
||
"activeRole": "gf",
|
||
"canCustomize": true,
|
||
"generatedAt": "2026-07-12T08:00:00.000Z",
|
||
"layout": {
|
||
"descriptionKey": "app.dashboard.roles.gf.description",
|
||
"mobileFirst": false,
|
||
"nameKey": "app.dashboard.roles.gf.name",
|
||
"role": "gf",
|
||
"widgets": [
|
||
{
|
||
"chart": null,
|
||
"descriptionKey": "app.dashboard.widgets.orderIntake.description",
|
||
"domain": "sales",
|
||
"items": [],
|
||
"key": "sales.order_intake",
|
||
"kind": "trend",
|
||
"loadingMode": "lazy",
|
||
"metrics": [
|
||
{
|
||
"labelKey": "app.dashboard.metrics.orderIntakeCurrentMonth",
|
||
"value": "42.000,00 €"
|
||
},
|
||
{
|
||
"labelKey": "app.dashboard.metrics.orderIntakeTrailingYear",
|
||
"value": "318.000,00 €"
|
||
}
|
||
],
|
||
"period": "quarter",
|
||
"position": {
|
||
"x": 0,
|
||
"y": 0
|
||
},
|
||
"series": {
|
||
"hasComparison": true,
|
||
"points": [
|
||
{
|
||
"comparisonValue": 18000,
|
||
"id": "2026-05",
|
||
"value": 21000
|
||
},
|
||
{
|
||
"comparisonValue": 30000,
|
||
"id": "2026-06",
|
||
"value": 35000
|
||
},
|
||
{
|
||
"comparisonValue": 26000,
|
||
"id": "2026-07",
|
||
"value": 42000
|
||
}
|
||
],
|
||
"valueFormat": "currency"
|
||
},
|
||
"size": {
|
||
"h": 3,
|
||
"w": 8
|
||
},
|
||
"titleKey": "app.dashboard.widgets.orderIntake.title",
|
||
"visible": true
|
||
},
|
||
{
|
||
"chart": null,
|
||
"descriptionKey": "app.dashboard.widgets.salesKpis.description",
|
||
"domain": "sales",
|
||
"items": [],
|
||
"key": "sales.kpis",
|
||
"kind": "kpi",
|
||
"loadingMode": "lazy",
|
||
"metrics": [
|
||
{
|
||
"labelKey": "app.dashboard.metrics.openProjects",
|
||
"value": "7"
|
||
},
|
||
{
|
||
"labelKey": "app.dashboard.metrics.wonProjects",
|
||
"value": "3"
|
||
}
|
||
],
|
||
"period": "30d",
|
||
"position": {
|
||
"x": 8,
|
||
"y": 0
|
||
},
|
||
"series": null,
|
||
"size": {
|
||
"h": 2,
|
||
"w": 4
|
||
},
|
||
"titleKey": "app.dashboard.widgets.salesKpis.title",
|
||
"visible": true
|
||
},
|
||
{
|
||
"chart": {
|
||
"points": [
|
||
{
|
||
"color": "#94a3b8",
|
||
"id": "not_due",
|
||
"labelKey": "app.dashboard.receivables.notDue",
|
||
"value": 35500
|
||
},
|
||
{
|
||
"color": "#64748b",
|
||
"id": "overdue_1_30",
|
||
"labelKey": "app.dashboard.receivables.overdue1To30",
|
||
"value": 8000
|
||
},
|
||
{
|
||
"color": "#475569",
|
||
"id": "overdue_31_60",
|
||
"labelKey": "app.dashboard.receivables.overdue31To60",
|
||
"value": 3000
|
||
},
|
||
{
|
||
"color": "#d97706",
|
||
"id": "overdue_61_90",
|
||
"labelKey": "app.dashboard.receivables.overdue61To90",
|
||
"value": 1000
|
||
},
|
||
{
|
||
"color": "#b91c1c",
|
||
"id": "overdue_90_plus",
|
||
"labelKey": "app.dashboard.receivables.overdue90Plus",
|
||
"value": 500
|
||
}
|
||
],
|
||
"valueFormat": "currency"
|
||
},
|
||
"descriptionKey": "app.dashboard.widgets.receivables.description",
|
||
"domain": "finance",
|
||
"items": [],
|
||
"key": "finance.receivables",
|
||
"kind": "chart",
|
||
"loadingMode": "lazy",
|
||
"metrics": [
|
||
{
|
||
"labelKey": "app.dashboard.metrics.openReceivables",
|
||
"value": "48.000,00 €"
|
||
},
|
||
{
|
||
"labelKey": "app.dashboard.metrics.overdueReceivables",
|
||
"value": "12.500,00 €"
|
||
}
|
||
],
|
||
"period": "30d",
|
||
"position": {
|
||
"x": 0,
|
||
"y": 3
|
||
},
|
||
"series": null,
|
||
"size": {
|
||
"h": 3,
|
||
"w": 8
|
||
},
|
||
"titleKey": "app.dashboard.widgets.receivables.title",
|
||
"visible": true
|
||
},
|
||
{
|
||
"chart": null,
|
||
"descriptionKey": "app.dashboard.widgets.salesForecast.description",
|
||
"domain": "sales",
|
||
"items": [],
|
||
"key": "sales.forecast",
|
||
"kind": "trend",
|
||
"loadingMode": "lazy",
|
||
"metrics": [
|
||
{
|
||
"labelKey": "app.dashboard.metrics.forecast",
|
||
"value": "125.000,00 €"
|
||
}
|
||
],
|
||
"period": "quarter",
|
||
"position": {
|
||
"x": 8,
|
||
"y": 3
|
||
},
|
||
"series": null,
|
||
"size": {
|
||
"h": 2,
|
||
"w": 4
|
||
},
|
||
"titleKey": "app.dashboard.widgets.salesForecast.title",
|
||
"visible": true
|
||
},
|
||
{
|
||
"chart": {
|
||
"points": [
|
||
{
|
||
"color": "#2563eb",
|
||
"id": "stage-1",
|
||
"labelKey": "mock.r-p11b.dashboard.stage.qualified",
|
||
"value": 4
|
||
},
|
||
{
|
||
"color": "#d97706",
|
||
"id": "stage-2",
|
||
"labelKey": "mock.r-p11b.dashboard.stage.offer",
|
||
"value": 2
|
||
}
|
||
]
|
||
},
|
||
"descriptionKey": "app.dashboard.widgets.stageDistribution.description",
|
||
"domain": "projects",
|
||
"items": [],
|
||
"key": "projects.stage_distribution",
|
||
"kind": "chart",
|
||
"loadingMode": "lazy",
|
||
"metrics": [],
|
||
"period": "30d",
|
||
"position": {
|
||
"x": 0,
|
||
"y": 3
|
||
},
|
||
"series": null,
|
||
"size": {
|
||
"h": 3,
|
||
"w": 8
|
||
},
|
||
"titleKey": "app.dashboard.widgets.stageDistribution.title",
|
||
"visible": true
|
||
}
|
||
]
|
||
},
|
||
"streamUrl": "/mock/r-p11b/dashboard/stream"
|
||
},
|
||
"status": "ready"
|
||
}</script>
|
||
<script type="application/json" id="mock-page-registries">{
|
||
"breadcrumbs": [
|
||
{
|
||
"href": "/mock",
|
||
"id": "mock",
|
||
"labelKey": "mock.root"
|
||
},
|
||
{
|
||
"href": "/mock/r-p11b/dashboard",
|
||
"id": "r-p11b-dashboard",
|
||
"labelKey": "mock.r-p11b.dashboard.label"
|
||
}
|
||
],
|
||
"mobile": [
|
||
{
|
||
"href": "/mock/r-p11b/dashboard",
|
||
"id": "r-p11b-dashboard",
|
||
"labelKey": "mock.r-p11b.dashboard.label",
|
||
"priority": 1
|
||
}
|
||
],
|
||
"sidebar": [
|
||
{
|
||
"href": "/mock/phase-c",
|
||
"id": "phase-c-home",
|
||
"labelKey": "mock.phase-c.home"
|
||
},
|
||
{
|
||
"href": "/mock/r-p11b/dashboard",
|
||
"id": "r-p11b-dashboard",
|
||
"labelKey": "mock.r-p11b.dashboard.label"
|
||
}
|
||
]
|
||
}</script>
|
||
</main>
|
||
</div>
|
||
</body>
|
||
</html>
|