209 lines
9.5 KiB
HTML
209 lines
9.5 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: Email detail interim drill (AK-UI-02)</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/ak-ui-02/emails/msg-1" data-ui-mock-status="ready">
|
|
<div class="mock-shell" data-ui-mock-page="ak-ui-02-email-detail-interim">
|
|
<nav class="mock-nav" aria-label="Mock sidebar">
|
|
<div class="mock-brand">HiveGrid mock</div>
|
|
</nav>
|
|
<main class="mock-main">
|
|
<div class="mock-breadcrumbs"><span>Mock</span><span>/</span><span>Email detail interim</span></div>
|
|
<header class="mock-header">
|
|
<div>
|
|
<h1 class="mock-title">Email detail interim drill (AK-UI-02)</h1>
|
|
<p class="mock-description">Static fixture for the AK-UI-02 email message detail interim screen (AD-28).</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">Thread messages</p>
|
|
<p class="mock-card-value">2</p>
|
|
<div class="mock-card-trend">Flat</div>
|
|
</article>
|
|
<article class="mock-card">
|
|
<p class="mock-card-label">Attachments</p>
|
|
<p class="mock-card-value">1</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>Thread accordion</span><span>thread</span></li>
|
|
<li><span>Link assignment dialog</span><span>dialog</span></li>
|
|
<li><span>Attachment import dialog</span><span>dialog</span></li>
|
|
<li><span>Read toggle</span><span>action</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.ak-ui-02.detail.activity.thread",
|
|
"meta": "thread"
|
|
},
|
|
{
|
|
"labelKey": "mock.ak-ui-02.detail.activity.linkDialog",
|
|
"meta": "dialog"
|
|
},
|
|
{
|
|
"labelKey": "mock.ak-ui-02.detail.activity.importDialog",
|
|
"meta": "dialog"
|
|
},
|
|
{
|
|
"labelKey": "mock.ak-ui-02.detail.activity.toggleRead",
|
|
"meta": "action"
|
|
}
|
|
],
|
|
"cards": [
|
|
{
|
|
"labelKey": "mock.ak-ui-02.detail.metrics.threadLength",
|
|
"trend": "flat",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"labelKey": "mock.ak-ui-02.detail.metrics.attachments",
|
|
"trend": "flat",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"labelKey": "mock.ak-ui-02.detail.metrics.designStatus",
|
|
"trend": "flat",
|
|
"value": "interim"
|
|
}
|
|
],
|
|
"designStatus": "interim",
|
|
"screenRoute": "/emails/:id",
|
|
"viewModel": {
|
|
"data": {
|
|
"allowExternalImages": false,
|
|
"attachments": [
|
|
{
|
|
"attachmentId": "att-1",
|
|
"downloadHref": null,
|
|
"filename": "angebot.pdf",
|
|
"importedFileId": null,
|
|
"sizeBytes": 245760
|
|
}
|
|
],
|
|
"backHref": "/mock/ak-ui-02/emails",
|
|
"canWrite": true,
|
|
"focusedId": "msg-1",
|
|
"forwardHref": "/mock/ak-ui-02/emails/new?forward=msg-1",
|
|
"mailbox": {
|
|
"emailAddress": "sales@demo-pro.example",
|
|
"provider": "gmail"
|
|
},
|
|
"match": {
|
|
"confidence": "manual",
|
|
"isManual": true,
|
|
"links": [
|
|
{
|
|
"href": "/mock/ak-ui-02/contacts/contact-1",
|
|
"id": "contact-1",
|
|
"type": "kontakt"
|
|
}
|
|
],
|
|
"sourceKey": "emailInbox.detail.match.manual"
|
|
},
|
|
"replyHref": "/mock/ak-ui-02/emails/new?replyTo=msg-1",
|
|
"subject": "Fixture thread subject",
|
|
"thread": [
|
|
{
|
|
"blockedImageCount": 0,
|
|
"ccSummary": null,
|
|
"collapsedByDefault": true,
|
|
"direction": "outbound",
|
|
"fromAddress": "sales@demo-pro.example",
|
|
"fromName": "Demo Pro",
|
|
"id": "msg-0",
|
|
"isFocused": false,
|
|
"isRead": true,
|
|
"safeBodyHtml": "<p>Guten Tag, anbei unser Angebot.</p>",
|
|
"sentAt": "2026-07-01T10:00:00.000Z",
|
|
"subject": "Fixture original subject",
|
|
"toSummary": "buero@demo-pro.example"
|
|
},
|
|
{
|
|
"blockedImageCount": 2,
|
|
"ccSummary": null,
|
|
"collapsedByDefault": false,
|
|
"direction": "inbound",
|
|
"fromAddress": "buero@demo-pro.example",
|
|
"fromName": "Sandra Vogel",
|
|
"id": "msg-1",
|
|
"isFocused": true,
|
|
"isRead": false,
|
|
"safeBodyHtml": "<p>Vielen Dank, wir pruefen das Angebot.</p>",
|
|
"sentAt": "2026-07-02T09:30:00.000Z",
|
|
"subject": "Fixture thread subject",
|
|
"toSummary": "sales@demo-pro.example"
|
|
}
|
|
]
|
|
},
|
|
"status": "ready"
|
|
}
|
|
},
|
|
"status": "ready"
|
|
}</script>
|
|
<script type="application/json" id="mock-page-registries">{
|
|
"breadcrumbs": [
|
|
{
|
|
"href": "/mock",
|
|
"id": "mock",
|
|
"labelKey": "mock.root"
|
|
},
|
|
{
|
|
"href": "/mock/ak-ui-02/emails/msg-1",
|
|
"id": "ak-ui-02-email-detail",
|
|
"labelKey": "mock.ak-ui-02.detail.label"
|
|
}
|
|
]
|
|
}</script>
|
|
</main>
|
|
</div>
|
|
</body>
|
|
</html>
|