Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/ui-mock/visual-baseline/ak-ui-05-plugins.html
T

263 lines
13 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: Plugin catalog interim drill (AK-UI-05)</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-05/plugins" data-ui-mock-status="ready">
<div class="mock-shell" data-ui-mock-page="ak-ui-05-plugins-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>Plugin catalog interim</span></div>
<header class="mock-header">
<div>
<h1 class="mock-title">Plugin catalog interim drill (AK-UI-05)</h1>
<p class="mock-description">Static fixture for the AK-UI-05 tenant plugin catalog 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">Installed plugins</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">Consent pending</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>Capability review dialog</span><span>dialog</span></li>
<li><span>Enable and disable</span><span>lifecycle</span></li>
<li><span>Destructive revoke confirm</span><span>dialog</span></li>
<li><span>Manifest preview</span><span>manifest</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.ak-ui-05.plugins.activity.consent&quot;,
&quot;meta&quot;: &quot;dialog&quot;
},
{
&quot;labelKey&quot;: &quot;mock.ak-ui-05.plugins.activity.lifecycle&quot;,
&quot;meta&quot;: &quot;lifecycle&quot;
},
{
&quot;labelKey&quot;: &quot;mock.ak-ui-05.plugins.activity.revoke&quot;,
&quot;meta&quot;: &quot;dialog&quot;
},
{
&quot;labelKey&quot;: &quot;mock.ak-ui-05.plugins.activity.manifest&quot;,
&quot;meta&quot;: &quot;manifest&quot;
}
],
&quot;cards&quot;: [
{
&quot;labelKey&quot;: &quot;mock.ak-ui-05.plugins.metrics.plugins&quot;,
&quot;trend&quot;: &quot;flat&quot;,
&quot;value&quot;: &quot;2&quot;
},
{
&quot;labelKey&quot;: &quot;mock.ak-ui-05.plugins.metrics.pendingConsent&quot;,
&quot;trend&quot;: &quot;flat&quot;,
&quot;value&quot;: &quot;1&quot;
},
{
&quot;labelKey&quot;: &quot;mock.ak-ui-05.plugins.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;/settings/integrations/plugins&quot;,
&quot;viewModel&quot;: {
&quot;data&quot;: {
&quot;canManage&quot;: true,
&quot;emptyBodyKey&quot;: &quot;settings.plugins.emptyBody&quot;,
&quot;emptyHeadlineKey&quot;: &quot;settings.plugins.empty&quot;,
&quot;rows&quot;: [
{
&quot;auditHref&quot;: &quot;/mock/ak-ui-05/settings/integrations/plugins/pl-1/audit&quot;,
&quot;canEnable&quot;: false,
&quot;canReviewCapabilities&quot;: false,
&quot;capabilities&quot;: [
{
&quot;approvable&quot;: true,
&quot;availabilityKey&quot;: &quot;settings.plugins.consent.available&quot;,
&quot;availabilityTone&quot;: &quot;subtle-positive&quot;,
&quot;granted&quot;: true,
&quot;grantedAtIso&quot;: &quot;2026-07-01T10:30:00.000Z&quot;,
&quot;label&quot;: {
&quot;key&quot;: &quot;settings.plugins.capabilityNames.http_outbound&quot;
},
&quot;name&quot;: &quot;http.outbound&quot;,
&quot;productionAvailable&quot;: true,
&quot;risk&quot;: &quot;high&quot;,
&quot;riskKey&quot;: &quot;settings.plugins.consent.risk.high&quot;,
&quot;riskTone&quot;: &quot;subtle-warning&quot;,
&quot;scopeParts&quot;: [
{
&quot;key&quot;: &quot;settings.plugins.consent.allowedHosts&quot;,
&quot;params&quot;: {
&quot;hosts&quot;: &quot;api.demo-pro.example&quot;
}
}
],
&quot;statusKey&quot;: &quot;settings.plugins.consent.granted&quot;,
&quot;statusTone&quot;: &quot;subtle-positive&quot;
}
],
&quot;capabilitiesToReview&quot;: [],
&quot;capabilityReviewDigest&quot;: &quot;digest-granted&quot;,
&quot;enabled&quot;: true,
&quot;grantOp&quot;: &quot;grant&quot;,
&quot;hasUnapprovableCapability&quot;: false,
&quot;id&quot;: &quot;pl-1&quot;,
&quot;installedAtIso&quot;: &quot;2026-07-01T10:00:00.000Z&quot;,
&quot;manifestJson&quot;: &quot;{\n \&quot;id\&quot;: \&quot;com.demo.outbound\&quot;\n}&quot;,
&quot;missingCapabilities&quot;: [],
&quot;pluginId&quot;: &quot;com.demo.outbound&quot;,
&quot;settingsHref&quot;: &quot;/mock/ak-ui-05/settings/integrations/plugins/pl-1&quot;,
&quot;statusKey&quot;: &quot;shared.enabled&quot;,
&quot;statusTone&quot;: &quot;subtle-positive&quot;,
&quot;version&quot;: &quot;1.2.3&quot;
},
{
&quot;auditHref&quot;: &quot;/mock/ak-ui-05/settings/integrations/plugins/pl-2/audit&quot;,
&quot;canEnable&quot;: false,
&quot;canReviewCapabilities&quot;: true,
&quot;capabilities&quot;: [
{
&quot;approvable&quot;: true,
&quot;availabilityKey&quot;: &quot;settings.plugins.consent.available&quot;,
&quot;availabilityTone&quot;: &quot;subtle-positive&quot;,
&quot;granted&quot;: false,
&quot;grantedAtIso&quot;: null,
&quot;label&quot;: {
&quot;key&quot;: &quot;settings.plugins.consent.hookLabel&quot;,
&quot;params&quot;: {
&quot;hook&quot;: &quot;workflow.executed&quot;
}
},
&quot;name&quot;: &quot;hook:workflow.executed&quot;,
&quot;productionAvailable&quot;: true,
&quot;risk&quot;: &quot;medium&quot;,
&quot;riskKey&quot;: &quot;settings.plugins.consent.risk.medium&quot;,
&quot;riskTone&quot;: &quot;subtle-information&quot;,
&quot;scopeParts&quot;: [],
&quot;statusKey&quot;: &quot;settings.plugins.consent.missing&quot;,
&quot;statusTone&quot;: &quot;subtle-warning&quot;
}
],
&quot;capabilitiesToReview&quot;: [
{
&quot;approvable&quot;: true,
&quot;availabilityKey&quot;: &quot;settings.plugins.consent.available&quot;,
&quot;availabilityTone&quot;: &quot;subtle-positive&quot;,
&quot;granted&quot;: false,
&quot;grantedAtIso&quot;: null,
&quot;label&quot;: {
&quot;key&quot;: &quot;settings.plugins.consent.hookLabel&quot;,
&quot;params&quot;: {
&quot;hook&quot;: &quot;workflow.executed&quot;
}
},
&quot;name&quot;: &quot;hook:workflow.executed&quot;,
&quot;productionAvailable&quot;: true,
&quot;risk&quot;: &quot;medium&quot;,
&quot;riskKey&quot;: &quot;settings.plugins.consent.risk.medium&quot;,
&quot;riskTone&quot;: &quot;subtle-information&quot;,
&quot;scopeParts&quot;: [],
&quot;statusKey&quot;: &quot;settings.plugins.consent.missing&quot;,
&quot;statusTone&quot;: &quot;subtle-warning&quot;
}
],
&quot;capabilityReviewDigest&quot;: &quot;digest-pending&quot;,
&quot;enabled&quot;: false,
&quot;grantOp&quot;: &quot;grantAndEnable&quot;,
&quot;hasUnapprovableCapability&quot;: false,
&quot;id&quot;: &quot;pl-2&quot;,
&quot;installedAtIso&quot;: &quot;2026-07-02T09:00:00.000Z&quot;,
&quot;manifestJson&quot;: &quot;{\n \&quot;id\&quot;: \&quot;com.demo.workflow-hook\&quot;\n}&quot;,
&quot;missingCapabilities&quot;: [
&quot;hook:workflow.executed&quot;
],
&quot;pluginId&quot;: &quot;com.demo.workflow-hook&quot;,
&quot;settingsHref&quot;: null,
&quot;statusKey&quot;: &quot;shared.disabled&quot;,
&quot;statusTone&quot;: &quot;subtle-neutral&quot;,
&quot;version&quot;: &quot;0.9.0&quot;
}
],
&quot;tenantSlug&quot;: &quot;demo-pro&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;/mock&quot;,
&quot;id&quot;: &quot;mock&quot;,
&quot;labelKey&quot;: &quot;mock.root&quot;
},
{
&quot;href&quot;: &quot;/mock/ak-ui-05/plugins&quot;,
&quot;id&quot;: &quot;ak-ui-05-plugins&quot;,
&quot;labelKey&quot;: &quot;mock.ak-ui-05.plugins.label&quot;
}
]
}</script>
</main>
</div>
</body>
</html>