Files

313 lines
14 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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>{
&quot;activity&quot;: 4,
&quot;cards&quot;: 3,
&quot;status&quot;: &quot;Ready&quot;
}</pre>
</section>
<script type="application/json" id="mock-page-state">{
&quot;data&quot;: {
&quot;activity&quot;: [
{
&quot;labelKey&quot;: &quot;mock.r-p8.projects.activity.board&quot;,
&quot;meta&quot;: &quot;/:tenant/projects&quot;
},
{
&quot;labelKey&quot;: &quot;mock.r-p8.projects.activity.list&quot;,
&quot;meta&quot;: &quot;/:tenant/projects/list&quot;
},
{
&quot;labelKey&quot;: &quot;mock.r-p8.projects.activity.detail&quot;,
&quot;meta&quot;: &quot;/:tenant/projects/:id&quot;
},
{
&quot;labelKey&quot;: &quot;mock.r-p8.projects.activity.admin&quot;,
&quot;meta&quot;: &quot;pipelines / lost-reasons&quot;
}
],
&quot;cards&quot;: [
{
&quot;labelKey&quot;: &quot;mock.r-p8.projects.metrics.stages&quot;,
&quot;trend&quot;: &quot;flat&quot;,
&quot;value&quot;: &quot;4&quot;
},
{
&quot;labelKey&quot;: &quot;mock.r-p8.projects.metrics.projects&quot;,
&quot;trend&quot;: &quot;flat&quot;,
&quot;value&quot;: &quot;3&quot;
},
{
&quot;labelKey&quot;: &quot;mock.r-p8.projects.metrics.designStatus&quot;,
&quot;trend&quot;: &quot;flat&quot;,
&quot;value&quot;: &quot;interim&quot;
}
],
&quot;designStatus&quot;: &quot;interim&quot;,
&quot;screenRoute&quot;: &quot;/:tenant/projects&quot;,
&quot;viewModel&quot;: {
&quot;data&quot;: {
&quot;canAdmin&quot;: true,
&quot;canChangeStage&quot;: true,
&quot;canDelete&quot;: false,
&quot;canWrite&quot;: true,
&quot;columns&quot;: [
{
&quot;aggregateValue&quot;: &quot;12.500,00 €&quot;,
&quot;aggregateVisible&quot;: true,
&quot;cards&quot;: [
{
&quot;appointmentIso&quot;: &quot;2026-07-22T08:00:00.000Z&quot;,
&quot;appointmentTitle&quot;: &quot;Vor-Ort-Termin&quot;,
&quot;canRedo&quot;: false,
&quot;deadlineIso&quot;: &quot;2026-07-30T00:00:00.000Z&quot;,
&quot;detailHref&quot;: &quot;/:tenant/projects/projekt-1&quot;,
&quot;id&quot;: &quot;projekt-1&quot;,
&quot;isStuck&quot;: false,
&quot;ownerLabel&quot;: &quot;Rafael Referenz&quot;,
&quot;prioritaet&quot;: &quot;hoch&quot;,
&quot;prioritaetLabelKey&quot;: &quot;projects.priority.hoch&quot;,
&quot;projektname&quot;: &quot;Wärmepumpe Familie Muster&quot;,
&quot;projektNummer&quot;: &quot;P-00001&quot;,
&quot;projekttyp&quot;: &quot;Wärmepumpe&quot;,
&quot;startIso&quot;: &quot;2026-07-14T00:00:00.000Z&quot;,
&quot;stuckDays&quot;: null,
&quot;subtitle&quot;: &quot;Familie Muster · Musterstadt&quot;,
&quot;tags&quot;: [],
&quot;undoUntilIso&quot;: null,
&quot;value&quot;: &quot;12.500,00 €&quot;,
&quot;valueVisible&quot;: true
}
],
&quot;color&quot;: &quot;#2563eb&quot;,
&quot;projectCount&quot;: 1,
&quot;stageId&quot;: &quot;stage-neu&quot;,
&quot;stageKind&quot;: &quot;offen&quot;,
&quot;stageName&quot;: &quot;Neu&quot;,
&quot;winProbability&quot;: 25
},
{
&quot;aggregateValue&quot;: null,
&quot;aggregateVisible&quot;: false,
&quot;cards&quot;: [
{
&quot;appointmentIso&quot;: null,
&quot;appointmentTitle&quot;: null,
&quot;canRedo&quot;: false,
&quot;deadlineIso&quot;: &quot;2026-07-10T00:00:00.000Z&quot;,
&quot;detailHref&quot;: &quot;/:tenant/projects/projekt-2&quot;,
&quot;id&quot;: &quot;projekt-2&quot;,
&quot;isStuck&quot;: true,
&quot;ownerLabel&quot;: null,
&quot;prioritaet&quot;: &quot;normal&quot;,
&quot;prioritaetLabelKey&quot;: &quot;projects.priority.normal&quot;,
&quot;projektname&quot;: &quot;Badsanierung Beispiel GmbH&quot;,
&quot;projektNummer&quot;: &quot;P-00002&quot;,
&quot;projekttyp&quot;: null,
&quot;startIso&quot;: null,
&quot;stuckDays&quot;: null,
&quot;subtitle&quot;: null,
&quot;tags&quot;: [],
&quot;undoUntilIso&quot;: null,
&quot;value&quot;: null,
&quot;valueVisible&quot;: false
}
],
&quot;color&quot;: &quot;#f59e0b&quot;,
&quot;projectCount&quot;: 1,
&quot;stageId&quot;: &quot;stage-angebot&quot;,
&quot;stageKind&quot;: &quot;offen&quot;,
&quot;stageName&quot;: &quot;Angebot&quot;,
&quot;winProbability&quot;: 60
},
{
&quot;aggregateValue&quot;: &quot;8.900,00 €&quot;,
&quot;aggregateVisible&quot;: true,
&quot;cards&quot;: [
{
&quot;appointmentIso&quot;: null,
&quot;appointmentTitle&quot;: null,
&quot;canRedo&quot;: false,
&quot;deadlineIso&quot;: null,
&quot;detailHref&quot;: &quot;/:tenant/projects/projekt-3&quot;,
&quot;id&quot;: &quot;projekt-3&quot;,
&quot;isStuck&quot;: false,
&quot;ownerLabel&quot;: &quot;Rafael Referenz&quot;,
&quot;prioritaet&quot;: &quot;dringend&quot;,
&quot;prioritaetLabelKey&quot;: &quot;projects.priority.dringend&quot;,
&quot;projektname&quot;: &quot;Solarthermie Nachrüstung&quot;,
&quot;projektNummer&quot;: &quot;P-00003&quot;,
&quot;projekttyp&quot;: null,
&quot;startIso&quot;: null,
&quot;stuckDays&quot;: null,
&quot;subtitle&quot;: null,
&quot;tags&quot;: [],
&quot;undoUntilIso&quot;: &quot;2026-07-16T09:00:00.000Z&quot;,
&quot;value&quot;: &quot;8.900,00 €&quot;,
&quot;valueVisible&quot;: true
}
],
&quot;color&quot;: &quot;#16a34a&quot;,
&quot;projectCount&quot;: 1,
&quot;stageId&quot;: &quot;stage-gewonnen&quot;,
&quot;stageKind&quot;: &quot;gewonnen&quot;,
&quot;stageName&quot;: &quot;Gewonnen&quot;,
&quot;winProbability&quot;: 100
},
{
&quot;aggregateValue&quot;: &quot;0,00 €&quot;,
&quot;aggregateVisible&quot;: true,
&quot;cards&quot;: [],
&quot;color&quot;: &quot;#dc2626&quot;,
&quot;projectCount&quot;: 0,
&quot;stageId&quot;: &quot;stage-verloren&quot;,
&quot;stageKind&quot;: &quot;verloren&quot;,
&quot;stageName&quot;: &quot;Verloren&quot;,
&quot;winProbability&quot;: 0
}
],
&quot;generatedAtIso&quot;: &quot;2026-07-15T09:00:00.000Z&quot;,
&quot;lostReasons&quot;: [
{
&quot;id&quot;: &quot;lost-preis&quot;,
&quot;name&quot;: &quot;Preis&quot;
},
{
&quot;id&quot;: &quot;lost-wettbewerber&quot;,
&quot;name&quot;: &quot;Wettbewerber&quot;
}
],
&quot;lostStageId&quot;: &quot;stage-verloren&quot;,
&quot;openStages&quot;: [
{
&quot;id&quot;: &quot;stage-neu&quot;,
&quot;name&quot;: &quot;Neu&quot;
},
{
&quot;id&quot;: &quot;stage-angebot&quot;,
&quot;name&quot;: &quot;Angebot&quot;
}
],
&quot;pipelineId&quot;: &quot;pipeline-sales&quot;,
&quot;pipelineName&quot;: &quot;Vertrieb (SHK)&quot;,
&quot;pipelines&quot;: [
{
&quot;id&quot;: &quot;pipeline-sales&quot;,
&quot;name&quot;: &quot;Vertrieb (SHK)&quot;,
&quot;typHint&quot;: &quot;sales&quot;
},
{
&quot;id&quot;: &quot;pipeline-auftrag&quot;,
&quot;name&quot;: &quot;Aufträge&quot;,
&quot;typHint&quot;: &quot;auftrag&quot;
}
],
&quot;sseHref&quot;: &quot;/:tenant/projects/pipelines/pipeline-sales/stream&quot;,
&quot;wonStageId&quot;: &quot;stage-gewonnen&quot;
},
&quot;status&quot;: &quot;ready&quot;
}
},
&quot;status&quot;: &quot;ready&quot;
}</script>
<script type="application/json" id="mock-page-registries">{
&quot;breadcrumbs&quot;: [
{
&quot;href&quot;: &quot;/:tenant/projects&quot;,
&quot;id&quot;: &quot;projects&quot;,
&quot;labelKey&quot;: &quot;mock.r-p8.projects.nav.board&quot;
}
],
&quot;sidebar&quot;: [
{
&quot;href&quot;: &quot;/:tenant/projects&quot;,
&quot;id&quot;: &quot;r-p8-projects-board&quot;,
&quot;labelKey&quot;: &quot;mock.r-p8.projects.nav.board&quot;,
&quot;permission&quot;: &quot;projects.read_own&quot;
},
{
&quot;href&quot;: &quot;/:tenant/projects/list&quot;,
&quot;id&quot;: &quot;r-p8-projects-list&quot;,
&quot;labelKey&quot;: &quot;mock.r-p8.projects.nav.list&quot;,
&quot;permission&quot;: &quot;projects.read_own&quot;
}
]
}</script>
</main>
</div>
</body>
</html>