313 lines
14 KiB
HTML
313 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: mock.r-p8.projects.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/projects" data-ui-mock-status="ready">
|
||
<div class="mock-shell" data-ui-mock-page="r-p8-projects-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/projects">mock.r-p8.projects.nav.board</a>
|
||
<a class="mock-link" data-active="false" href="/:tenant/projects/list">mock.r-p8.projects.nav.list</a>
|
||
</nav>
|
||
<main class="mock-main">
|
||
<div class="mock-breadcrumbs"><span>mock.r-p8.projects.nav.board</span></div>
|
||
<header class="mock-header">
|
||
<div>
|
||
<h1 class="mock-title">mock.r-p8.projects.title</h1>
|
||
<p class="mock-description">mock.r-p8.projects.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.r-p8.projects.metrics.stages</p>
|
||
<p class="mock-card-value">4</p>
|
||
<div class="mock-card-trend">Flat</div>
|
||
</article>
|
||
<article class="mock-card">
|
||
<p class="mock-card-label">mock.r-p8.projects.metrics.projects</p>
|
||
<p class="mock-card-value">3</p>
|
||
<div class="mock-card-trend">Flat</div>
|
||
</article>
|
||
<article class="mock-card">
|
||
<p class="mock-card-label">mock.r-p8.projects.metrics.designStatus</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>mock.r-p8.projects.activity.board</span><span>/:tenant/projects</span></li>
|
||
<li><span>mock.r-p8.projects.activity.list</span><span>/:tenant/projects/list</span></li>
|
||
<li><span>mock.r-p8.projects.activity.detail</span><span>/:tenant/projects/:id</span></li>
|
||
<li><span>mock.r-p8.projects.activity.admin</span><span>pipelines / lost-reasons</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.r-p8.projects.activity.board",
|
||
"meta": "/:tenant/projects"
|
||
},
|
||
{
|
||
"labelKey": "mock.r-p8.projects.activity.list",
|
||
"meta": "/:tenant/projects/list"
|
||
},
|
||
{
|
||
"labelKey": "mock.r-p8.projects.activity.detail",
|
||
"meta": "/:tenant/projects/:id"
|
||
},
|
||
{
|
||
"labelKey": "mock.r-p8.projects.activity.admin",
|
||
"meta": "pipelines / lost-reasons"
|
||
}
|
||
],
|
||
"cards": [
|
||
{
|
||
"labelKey": "mock.r-p8.projects.metrics.stages",
|
||
"trend": "flat",
|
||
"value": "4"
|
||
},
|
||
{
|
||
"labelKey": "mock.r-p8.projects.metrics.projects",
|
||
"trend": "flat",
|
||
"value": "3"
|
||
},
|
||
{
|
||
"labelKey": "mock.r-p8.projects.metrics.designStatus",
|
||
"trend": "flat",
|
||
"value": "interim"
|
||
}
|
||
],
|
||
"designStatus": "interim",
|
||
"screenRoute": "/:tenant/projects",
|
||
"viewModel": {
|
||
"data": {
|
||
"canAdmin": true,
|
||
"canChangeStage": true,
|
||
"canDelete": false,
|
||
"canWrite": true,
|
||
"columns": [
|
||
{
|
||
"aggregateValue": "12.500,00 €",
|
||
"aggregateVisible": true,
|
||
"cards": [
|
||
{
|
||
"appointmentIso": "2026-07-22T08:00:00.000Z",
|
||
"appointmentTitle": "Vor-Ort-Termin",
|
||
"canRedo": false,
|
||
"deadlineIso": "2026-07-30T00:00:00.000Z",
|
||
"detailHref": "/:tenant/projects/projekt-1",
|
||
"id": "projekt-1",
|
||
"isStuck": false,
|
||
"ownerLabel": "Rafael Referenz",
|
||
"prioritaet": "hoch",
|
||
"prioritaetLabelKey": "projects.priority.hoch",
|
||
"projektname": "Wärmepumpe Familie Muster",
|
||
"projektNummer": "P-00001",
|
||
"projekttyp": "Wärmepumpe",
|
||
"startIso": "2026-07-14T00:00:00.000Z",
|
||
"stuckDays": null,
|
||
"subtitle": "Familie Muster · Musterstadt",
|
||
"tags": [],
|
||
"undoUntilIso": null,
|
||
"value": "12.500,00 €",
|
||
"valueVisible": true
|
||
}
|
||
],
|
||
"color": "#2563eb",
|
||
"projectCount": 1,
|
||
"stageId": "stage-neu",
|
||
"stageKind": "offen",
|
||
"stageName": "Neu",
|
||
"winProbability": 25
|
||
},
|
||
{
|
||
"aggregateValue": null,
|
||
"aggregateVisible": false,
|
||
"cards": [
|
||
{
|
||
"appointmentIso": null,
|
||
"appointmentTitle": null,
|
||
"canRedo": false,
|
||
"deadlineIso": "2026-07-10T00:00:00.000Z",
|
||
"detailHref": "/:tenant/projects/projekt-2",
|
||
"id": "projekt-2",
|
||
"isStuck": true,
|
||
"ownerLabel": null,
|
||
"prioritaet": "normal",
|
||
"prioritaetLabelKey": "projects.priority.normal",
|
||
"projektname": "Badsanierung Beispiel GmbH",
|
||
"projektNummer": "P-00002",
|
||
"projekttyp": null,
|
||
"startIso": null,
|
||
"stuckDays": null,
|
||
"subtitle": null,
|
||
"tags": [],
|
||
"undoUntilIso": null,
|
||
"value": null,
|
||
"valueVisible": false
|
||
}
|
||
],
|
||
"color": "#f59e0b",
|
||
"projectCount": 1,
|
||
"stageId": "stage-angebot",
|
||
"stageKind": "offen",
|
||
"stageName": "Angebot",
|
||
"winProbability": 60
|
||
},
|
||
{
|
||
"aggregateValue": "8.900,00 €",
|
||
"aggregateVisible": true,
|
||
"cards": [
|
||
{
|
||
"appointmentIso": null,
|
||
"appointmentTitle": null,
|
||
"canRedo": false,
|
||
"deadlineIso": null,
|
||
"detailHref": "/:tenant/projects/projekt-3",
|
||
"id": "projekt-3",
|
||
"isStuck": false,
|
||
"ownerLabel": "Rafael Referenz",
|
||
"prioritaet": "dringend",
|
||
"prioritaetLabelKey": "projects.priority.dringend",
|
||
"projektname": "Solarthermie Nachrüstung",
|
||
"projektNummer": "P-00003",
|
||
"projekttyp": null,
|
||
"startIso": null,
|
||
"stuckDays": null,
|
||
"subtitle": null,
|
||
"tags": [],
|
||
"undoUntilIso": "2026-07-16T09:00:00.000Z",
|
||
"value": "8.900,00 €",
|
||
"valueVisible": true
|
||
}
|
||
],
|
||
"color": "#16a34a",
|
||
"projectCount": 1,
|
||
"stageId": "stage-gewonnen",
|
||
"stageKind": "gewonnen",
|
||
"stageName": "Gewonnen",
|
||
"winProbability": 100
|
||
},
|
||
{
|
||
"aggregateValue": "0,00 €",
|
||
"aggregateVisible": true,
|
||
"cards": [],
|
||
"color": "#dc2626",
|
||
"projectCount": 0,
|
||
"stageId": "stage-verloren",
|
||
"stageKind": "verloren",
|
||
"stageName": "Verloren",
|
||
"winProbability": 0
|
||
}
|
||
],
|
||
"generatedAtIso": "2026-07-15T09:00:00.000Z",
|
||
"lostReasons": [
|
||
{
|
||
"id": "lost-preis",
|
||
"name": "Preis"
|
||
},
|
||
{
|
||
"id": "lost-wettbewerber",
|
||
"name": "Wettbewerber"
|
||
}
|
||
],
|
||
"lostStageId": "stage-verloren",
|
||
"openStages": [
|
||
{
|
||
"id": "stage-neu",
|
||
"name": "Neu"
|
||
},
|
||
{
|
||
"id": "stage-angebot",
|
||
"name": "Angebot"
|
||
}
|
||
],
|
||
"pipelineId": "pipeline-sales",
|
||
"pipelineName": "Vertrieb (SHK)",
|
||
"pipelines": [
|
||
{
|
||
"id": "pipeline-sales",
|
||
"name": "Vertrieb (SHK)",
|
||
"typHint": "sales"
|
||
},
|
||
{
|
||
"id": "pipeline-auftrag",
|
||
"name": "Aufträge",
|
||
"typHint": "auftrag"
|
||
}
|
||
],
|
||
"sseHref": "/:tenant/projects/pipelines/pipeline-sales/stream",
|
||
"wonStageId": "stage-gewonnen"
|
||
},
|
||
"status": "ready"
|
||
}
|
||
},
|
||
"status": "ready"
|
||
}</script>
|
||
<script type="application/json" id="mock-page-registries">{
|
||
"breadcrumbs": [
|
||
{
|
||
"href": "/:tenant/projects",
|
||
"id": "projects",
|
||
"labelKey": "mock.r-p8.projects.nav.board"
|
||
}
|
||
],
|
||
"sidebar": [
|
||
{
|
||
"href": "/:tenant/projects",
|
||
"id": "r-p8-projects-board",
|
||
"labelKey": "mock.r-p8.projects.nav.board",
|
||
"permission": "projects.read_own"
|
||
},
|
||
{
|
||
"href": "/:tenant/projects/list",
|
||
"id": "r-p8-projects-list",
|
||
"labelKey": "mock.r-p8.projects.nav.list",
|
||
"permission": "projects.read_own"
|
||
}
|
||
]
|
||
}</script>
|
||
</main>
|
||
</div>
|
||
</body>
|
||
</html>
|