Files
workbuddy_skills/open-design/design-templates/trading-analysis-dashboard-template/example.html
T

21 lines
1.1 KiB
HTML
Raw Normal View History

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Trading Analysis Dashboard Template Example</title>
<style>html,body{margin:0;height:100%;background:#0a1220}iframe{width:100%;height:100%;border:0;display:block}</style>
</head>
<body>
<!-- Iframe-only shell (recvqholN2wcep): the daemon's sandboxed preview
route unwraps a body that is EXACTLY one iframe and serves the inner
template directly (see iframeOnlyHtmlShellTarget in
apps/daemon/src/routes/plugins/assets.ts). The previous wrapper added a
header strip above the iframe, which defeated the unwrap — the nested
iframe was then blocked by the preview CSP (default-src 'none', no
frame-src), so both the live preview and the baked gallery poster
rendered a gray broken frame. Keep this file a bare iframe shell, like
flowai-live-dashboard-template. -->
<iframe src="./assets/template.html" title="Trading Analysis Dashboard Template Example"></iframe>
</body>
</html>