Files
WidgetWorkbench/hmi-examples/Workbench_Neon_Designvorschau.html
2026-10-22 19:23:47 +00:00

405 lines
42 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html><html lang="de"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>WidgetWorkbench – Workbench Neon / iOS Designvorschau</title>
<style>*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}body{background:#101827}.shell{--hmi-accent:#4686fb;--hmi-scale:1;--bg:#101827;--panel:#192537;--panel-deep:#142032;--subtle:#243248;--line:#2d3b51;--text:#e8eef7;--muted:#94a6be;--input:#121f31;min-height:100vh;display:flex;background:var(--bg);color:var(--text);font-size:calc(14px * var(--hmi-scale))}.shell.light{--bg:#edf2f8;--panel:white;--panel-deep:#f8fbfe;--subtle:#edf3f9;--line:#d8e0ec;--text:#132338;--muted:#5f738b;--input:#fff}.shell.high-contrast{--line:#9eaebf;--muted:#d1dbe7}.shell.light.high-contrast{--muted:#31475f}.sidebar{width:238px;flex-shrink:0;min-height:100vh;background:var(--panel-deep);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:20px 12px;gap:8px}.brand{display:flex;align-items:center;gap:12px;padding:4px 12px 27px}.brand-icon{font-size:29px;color:var(--hmi-accent);font-weight:bold}.brand strong{font-size:1.05em;display:block}.brand small,.sidebar-bottom small{display:block;font-size:.65em;letter-spacing:1px;color:var(--muted);margin-top:5px}.nav-caption{font-size:.71em;font-weight:800;letter-spacing:1.4px;color:var(--muted);padding:12px 12px 7px}.nav-link{width:100%;border:0;color:var(--muted);background:transparent;padding:12px 14px;border-radius:10px;display:flex;gap:11px;text-align:left;cursor:pointer;align-items:center;font:inherit}.nav-link.active{background:color-mix(in srgb,var(--hmi-accent) 18%,transparent);color:var(--text);border-left:3px solid var(--hmi-accent)}.nav-link:hover{background:var(--subtle);color:var(--text)}.nav-add{margin:8px 9px;background:transparent;border:1px dashed var(--line);color:var(--muted);padding:11px;border-radius:9px;cursor:pointer}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;gap:12px;padding:18px 12px;border-top:1px solid var(--line)}.online-dot,.status-dot{background:#35bd78;width:10px;height:10px;border-radius:50%;display:inline-block;box-shadow:0 0 0 4px #35bd7822}.content{display:flex;flex-direction:column;flex:1;min-width:0}.toolbar{padding:22px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--panel-deep)}.toolbar h1{font-size:1.6em;margin:0 0 5px;font-weight:750}.subtitle,.muted{color:var(--muted)}.subtitle{font-size:.85em}.toolbar-right{display:flex;align-items:center;gap:14px}.station-label{display:flex;align-items:center;gap:10px;color:var(--muted)}.station-input{width:150px}.icon-button{font-size:22px;line-height:1;padding:9px 14px}.work-area{flex:1;padding:24px 28px}.work-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}.mode-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}button{font:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.mode-btn,.subtle-button,.primary-button,.publish-button,.danger-button,.icon-button{border-radius:9px;padding:9px 14px;border:1px solid var(--line);background:var(--panel);color:var(--text)}.mode-btn.active{background:var(--hmi-accent);color:white;border-color:var(--hmi-accent)}.primary-button{background:var(--hmi-accent);border-color:var(--hmi-accent);color:white;font-weight:600}.publish-button{background:#157f59;border-color:#157f59;color:white;font-weight:600}.danger-button{color:#fc9191;border-color:#734347}.version{color:var(--muted);font-size:.8em;margin-left:8px}.work-layout{display:flex;gap:22px;align-items:flex-start}.canvas{flex:1;min-width:0;min-height:550px;background:var(--panel-deep);border:1px solid var(--line);border-radius:14px;padding:11px}.canvas.editable{background-image:radial-gradient(var(--line) .8px, transparent .8px);background-size:18px 18px}.grid-stack{min-height:500px}.grid-stack-item-content{height:100%;border:1px solid var(--line);border-radius:13px;overflow:hidden!important;background:var(--panel);box-shadow:0 5px 15px #0000000b}.grid-stack-item-content.selected{outline:2px solid var(--hmi-accent)}.widget{height:100%;display:flex;flex-direction:column;min-height:0}.widget-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border-bottom:1px solid var(--line);min-height:48px}.widget-name{font-size:.92em;font-weight:700}.widget-label{font-size:.65em;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}.widget-body{flex:1;padding:16px;min-height:0;overflow:auto}.info-number{font-size:1.7em;letter-spacing:-.3px;font-weight:750;display:inline-block;margin:3px 13px 6px 0}.widget .muted{font-size:.86em}.widget input,.inspector input,.inspector textarea,.inspector select,.station-input{background:var(--input);color:var(--text);border:1px solid var(--line);border-radius:9px;padding:10px 12px;width:100%;font:inherit}.widget input:focus,.inspector input:focus,.inspector textarea:focus{outline:2px solid var(--hmi-accent)}.widget-table{border-collapse:collapse;width:100%;font-size:.87em;text-align:left}.widget-table th{background:var(--subtle);font-weight:650}.widget-table td,.widget-table th{padding:9px;border-bottom:1px solid var(--line)}.text-widget{white-space:pre-wrap;font-size:1.05em}.inspector{width:315px;flex-shrink:0;background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:18px;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - 190px);overflow:auto}.inspector h3{font-size:1.08em;margin:5px 0 0}.inspector-help{color:var(--muted);font-size:.85em;line-height:1.45;margin:0}.widget-picker{display:grid;grid-template-columns:1fr;gap:6px;margin:8px 0}.widget-picker button{background:var(--subtle);color:var(--text);border:1px solid var(--line);border-radius:8px;text-align:left;padding:9px}.widget-picker button:hover{border-color:var(--hmi-accent)}.input-label{color:var(--muted);font-size:.84em;margin-top:8px}.check-row{display:flex;align-items:center;gap:8px}.check-row input{width:auto}.inspector textarea{font-size:.83em;font-family:ui-monospace,monospace;resize:vertical}.notice{padding:15px 25px;background:#8b631e26;color:#dfbd78;border-bottom:1px solid #8b631e99}.error-notice{background:#913a3a22;color:#f6a3a3}.success-msg{background:#157f592e;color:#66dfac;padding:11px 27px}.error{color:#fd8585}.link-btn{border:0;background:transparent;color:var(--hmi-accent);margin-top:12px;padding:0}.empty{padding:70px 20px;text-align:center;color:var(--muted)}.footer{padding:13px 30px;font-size:.77em;color:var(--muted);border-top:1px solid var(--line)}@media(max-width:1050px){.inspector{width:260px}.sidebar{width:194px}.work-area{padding:16px}}@media(max-width:800px){.shell{display:block}.sidebar{width:100%;min-height:0}.sidebar-bottom{display:none}.content{min-height:85vh}.toolbar{padding:15px}.work-layout{flex-direction:column}.inspector{width:100%;max-height:none}.work-area{padding:12px}.grid-stack-item-content{border-radius:8px}}
.hmi-diagnostic-notice{border:1px solid #ad793c;background:var(--panel);border-radius:12px;margin:18px 27px;padding:18px;color:var(--text);box-shadow:0 2px 18px #0002}
.hmi-diagnostic-notice strong{font-size:1.07em}.hmi-diagnostic-notice p{color:var(--muted);line-height:1.45}.diagnostic-line{font-family:ui-monospace,monospace;font-size:.85em}.diagnostic-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.diagnostic-actions a{display:inline-block;text-decoration:none}
/* IMSAPI login: iOS tokens inherited from existing ios.css design. */
.hmi-mes-login{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:14px 0}
.hmi-mes-login label{display:grid;gap:5px;font-size:.85rem;min-width:165px;flex:1}
.hmi-mes-login input{background:var(--hmi-surface,#182a40);color:inherit;border:1px solid var(--hmi-line,#41556b);border-radius:10px;padding:10px 12px;max-width:100%}
.hmi-mes-login .primary-button{min-height:40px}
/* V5 Page-Designer widgets share the existing iOS/iTAC design tokens. */
.hmi-heading-frame{display:flex;flex-direction:column;justify-content:center;gap:5px;width:100%;height:100%;min-height:65px;border:1px solid;box-sizing:border-box;padding:18px 22px;overflow:hidden}
.hmi-heading-frame .heading-subtitle{opacity:.77;font-size:.93em}
.hmi-image-frame{display:flex;justify-content:center;align-items:center;width:100%;height:100%;border-radius:8px;overflow:hidden}
.hmi-image-frame img{display:block;width:100%;height:100%}
.hmi-role-picker{max-height:160px;overflow-y:auto;border:1px solid var(--line);border-radius:9px;padding:6px}
.widget-picker button[draggable=true]{cursor:grab}.widget-picker button[draggable=true]:active{cursor:grabbing}
/* V5.1 portable widget controls - uses the existing ios.css design tokens. */
.widget-portable-actions{display:grid;gap:8px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--panel-deep)}
.widget-portable-actions small{font-size:.77em;line-height:1.35;color:var(--muted)}
.widget-portable-actions .subtle-button{width:100%}
/* V5.2: iOS-compatible left navigation with nested pages. */
.nav-group{display:flex;flex-direction:column;gap:2px}
.nav-root{display:flex;gap:10px;align-items:center;width:100%;padding:12px;background:transparent;border:0;border-radius:10px;color:var(--text);text-align:left;font:inherit;cursor:pointer}
.nav-root:hover{background:var(--subtle)}.nav-root strong{font-size:.89em;flex:1}
.nav-count{font-size:.74em;border:1px solid var(--line);border-radius:7px;padding:2px 6px;color:var(--muted)}
.nav-page-line{display:flex;align-items:center;padding-left:calc(var(--nav-depth) * 13px);gap:2px}
.nav-expander,.nav-expander-spacer{width:22px;min-width:22px;display:grid;place-items:center;border:0;background:transparent;color:var(--muted);padding:5px 0}
.nav-expander{cursor:pointer}.nav-expander:hover{color:var(--text)}
.nav-page{min-width:0;flex:1;gap:7px;padding:9px 8px;font-size:.91em}.nav-page-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-page.disabled{opacity:.55}.nav-page small{font-size:.71em}.nav-page-icon{color:var(--muted)}
/**
* Color/token bridge for backend/src/main/webapp/ios.css.
* DO NOT @import the legacy global CSS into Vue: it contains selectors for
* body, header, nav and iframe which would destroy the GridStack editor.
* Keep these variables in sync with :root in the legacy ios.css.
*/
.shell {
--itac-red:#a40640; --itac-red-light:#bd0749; --itac-red-dark:#73042d;
--itac-blue:#00488e; --itac-ink:#243746; --itac-slate:#375169;
--itac-muted:#838c93; --itac-border:#dfe5eb; --itac-soft:#f6f7fb;
--itac-surface:#fff; --itac-shadow:0 12px 34px rgba(36,55,70,.16);
--itac-radius:8px; --ios-tap:44px;
}
.shell.ios {
--bg:#f1f4f8;--panel:#fff;--panel-deep:#f9fafc;
--subtle:#eef2f6;--line:var(--itac-border);--text:var(--itac-ink);
--muted:#637487;--input:#fff;
font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
}
.shell.ios .sidebar {background:#fff;border-right:1px solid var(--itac-border)}
.shell.ios .toolbar{background:#fff;border-bottom-color:var(--itac-border)}
.shell.ios .toolbar h1{color:var(--itac-ink);letter-spacing:-.035em}
.shell.ios .brand-icon{color:var(--itac-red)}
.shell.ios .brand small{letter-spacing:.11em;color:var(--itac-muted)}
.shell.ios .nav-link.active {color:var(--itac-red);background:rgba(164,6,64,.065);border-left:3px solid var(--itac-red)}
.shell.ios .nav-link:hover{background:#f5f7fb}
.shell.ios .canvas{background:#f5f7fa;border-color:#dfe5eb}
.shell.ios .canvas.editable{background-image:radial-gradient(#ccd6e0 0.8px,transparent 0.8px)}
.shell.ios .grid-stack-item-content{border:1px solid #e1e7ef;border-radius:13px;background:#fff;box-shadow:0 4px 18px rgba(30,56,87,.045)}
.shell.ios .grid-stack-item-content:hover{box-shadow:0 9px 25px rgba(30,56,87,.09)}
.shell.ios .widget-head{border-bottom:1px solid #eaf0f5;background:linear-gradient(#fff,#fcfdfe)}
.shell.ios .primary-button,.shell.ios .mode-btn.active{background:var(--itac-red);border-color:var(--itac-red)}
.shell.ios .widget-label{color:#8191a3}
.shell.ios .sidebar-bottom .online-dot{background:#139469}
.shell.ios .inspector{background:#fff}
.shell.ios .widget-picker button{background:#fff;border:1px solid #dde5ed}
.shell.ios .widget-picker button:hover{border-color:var(--itac-red);background:#fff8fb}
.shell.ios .widget input,.shell.ios .inspector input,.shell.ios .inspector textarea,.shell.ios .inspector select{background:#fff;color:#243746}
.shell.ios .widget input:focus,.shell.ios .inspector input:focus{outline-color:var(--itac-red)}
.shell.ios .widget-table th{background:#f4f6f9}
/* Component namespace: never style legacy .touch-tree*, table, or body globally. */
.wb-widget-title{display:flex;align-items:center;gap:10px;min-width:0}
.wb-widget-symbol{width:29px;height:29px;border-radius:9px;background:color-mix(in srgb,var(--hmi-accent) 10%,transparent);color:var(--hmi-accent);display:grid;place-items:center;font-weight:750;font-size:1.1em;flex-shrink:0}
.wb-widget .widget-body{padding:0;overflow:auto}
.wb-widget :is(button,input,select){font:inherit}
.wb-widget button{min-height:34px}
.wb-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px 8px}
.wb-meta{display:flex;align-items:center;gap:6px;font-size:.85em;color:var(--muted)}
.wb-meta b{color:var(--text);font-size:1.07em}
.wb-live-dot{width:8px;height:8px;border-radius:50%;background:#17a978;box-shadow:0 0 0 3px #17a97820;flex-shrink:0}
.wb-live-dot.inactive{background:#f2a737;box-shadow:0 0 0 3px #f2a73720}
.wb-inline-actions{display:flex;align-items:center;gap:7px}
.wb-btn{border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:8px;padding:7px 11px;font-size:.86em;white-space:nowrap;min-height:34px}
.wb-btn:hover:not(:disabled){border-color:var(--hmi-accent);color:var(--hmi-accent)}
.wb-btn:focus-visible,.wb-widget input:focus-visible{outline:2px solid var(--hmi-accent);outline-offset:2px}
.wb-btn-icon{font-size:1.1em;min-width:34px;padding:5px}
.wb-btn.wb-primary{background:var(--hmi-accent);color:#fff;border-color:var(--hmi-accent);font-weight:700}
.wb-btn.wb-primary:hover:not(:disabled){filter:brightness(1.12);color:#fff}
.wb-btn.wb-small{font-size:.78em;padding:6px 9px}
.wb-filter{position:relative;padding:6px 15px 12px}
.wb-filter input{display:block;width:100%;border-radius:9px;background:var(--input);border:1px solid var(--line);padding:9px 11px 9px 34px;min-height:39px;font-size:.87em;color:var(--text)}
.wb-search-icon{position:absolute;top:7px;left:25px;color:var(--muted);font-size:1.5em;pointer-events:none}
.wb-placeholder{margin:12px 16px;color:var(--muted);font-size:.86em}
.wb-alert{margin:9px 15px;padding:10px;background:color-mix(in srgb,#c8414c 10%,var(--panel));border:1px solid color-mix(in srgb,#c8414c 40%,transparent);border-radius:8px;font-size:.83em;color:#dd7676}
.shell.ios .wb-alert{color:#a72a37}
.wb-table-scroll{overflow:auto;max-height:100%;min-height:60px;margin:0 12px;border:1px solid var(--line);border-radius:9px}
.wb-table{border-collapse:collapse;min-width:100%;font-size:.82em;white-space:nowrap}
.wb-table thead{position:sticky;top:0;z-index:1}
.wb-table th{background:var(--subtle);padding:11px 12px;text-align:left;color:var(--muted);font-weight:700;font-size:.83em;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--line)}
.wb-table td{padding:10px 12px;border-bottom:1px solid var(--line);color:var(--text);max-width:320px;overflow:hidden;text-overflow:ellipsis}
.wb-table tbody tr:hover{background:color-mix(in srgb,var(--hmi-accent) 6%,transparent)}
.wb-mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.94em}
.wb-empty{text-align:center;padding:20px!important;color:var(--muted)!important}
.wb-footer{padding:10px 15px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:.76em;flex-wrap:wrap}
.wb-tree-list{overflow:auto;flex:1;padding:2px 14px 8px}
.wb-tree-group{border:1px solid var(--line);border-radius:9px;background:var(--panel);margin-bottom:8px;overflow:hidden}
.wb-tree-group>summary{display:flex;align-items:center;gap:10px;cursor:pointer;min-height:48px;padding:9px 13px;list-style:none;color:var(--text);font-size:.88em}
.wb-tree-group>summary::-webkit-details-marker{display:none}
.wb-tree-group>summary:hover{background:var(--subtle)}
.wb-tree-group[open]>summary{background:color-mix(in srgb,var(--hmi-accent) 7%,var(--panel));border-bottom:1px solid var(--line)}
.wb-tree-group>summary::after{content:'⌄';margin-left:7px;color:var(--muted);font-size:1.1em}
.wb-tree-group[open]>summary::after{transform:rotate(180deg)}
.wb-tree-name{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.wb-tree-name span{font-size:.84em;color:var(--muted);font-weight:400}
.wb-tree-count{border-radius:8px;background:var(--subtle);padding:2px 7px;font-size:.75em;color:var(--muted)}
.wb-tree-children{padding:8px 8px 4px 14px;border-left:2px solid color-mix(in srgb,var(--hmi-accent) 25%,transparent);margin-left:15px}
.wb-tree-icon{flex-shrink:0;width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:color-mix(in srgb,var(--hmi-accent) 10%,transparent);color:var(--hmi-accent)}
.wb-tree-leaf{display:flex;align-items:center;width:100%;gap:10px;min-height:45px;border:1px solid var(--line);border-radius:8px;background:var(--panel);margin-bottom:6px;text-align:left;color:var(--text);padding:8px 10px;cursor:pointer}
.wb-tree-leaf:hover{border-color:var(--hmi-accent);background:color-mix(in srgb,var(--hmi-accent) 5%,var(--panel))}
.wb-tree-leaf>span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}
.wb-tree-leaf small{color:var(--muted);font-size:.77em}
.wb-tree-arrow{color:var(--hmi-accent);font-size:1.3em}
.wb-module{height:100%;min-height:0;padding:17px;display:flex;flex-direction:column;gap:12px;justify-content:center}
.wb-module-row{display:flex;align-items:center;gap:14px}
.wb-module-logo{width:52px;height:52px;display:grid;place-items:center;flex-shrink:0;border-radius:14px;color:var(--hmi-accent);font-size:1.5em;font-weight:800;background:color-mix(in srgb,var(--hmi-accent) 12%,var(--panel))}
.wb-module-text h3{font-size:1.08em;margin:0 0 6px;color:var(--text)}
.wb-module-text p{font-size:.85em;line-height:1.4;margin:0;color:var(--muted)}
.wb-module-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.wb-chip{font:600 .75em ui-monospace,monospace;color:var(--muted);padding:6px 8px;border-radius:7px;background:var(--subtle)}
.wb-module .wb-field{display:flex;flex-direction:column;font-size:.81em;gap:6px;color:var(--muted)}
.wb-module .wb-field input{min-height:38px}
.wb-hint{font-size:.76em;color:var(--muted);margin:0;line-height:1.5}
.wb-module-note{opacity:.83}
.wb-data-table,.wb-station-tree{height:100%;display:flex;flex-direction:column;min-height:0}
.wb-data-table .wb-table-scroll{flex:1}
.wb-station-tree .wb-tree-list{flex:1}
.widget-picker-group{font-size:.70em;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:12px 2px 6px}
.widget-picker button{display:flex;gap:9px;align-items:center}
.widget-picker-icon{color:var(--hmi-accent);font-size:1.15em;width:20px;text-align:center}
.widget-picker-name{display:flex;flex-direction:column;gap:3px;font-weight:600}
.widget-picker-desc{color:var(--muted);font-size:.72em;line-height:1.2;font-weight:400}
@media(max-width:800px){.wb-module{padding:12px}.wb-module-logo{width:40px;height:40px}.wb-widget .widget-head{padding:9px}.wb-toolbar{padding:8px 10px}.wb-table-scroll{margin:0 6px}}
.widget-search{padding:9px 12px;border:1px solid var(--line);background:var(--input);color:var(--text);width:100%;border-radius:8px;margin-top:6px}
.wb-value-pill{font-weight:700;border-radius:7px;padding:4px 10px;display:inline-block;font-size:.9em}.wb-value-pill.on{color:#16825b;background:#dcf6e8}.wb-value-pill.off{color:#a76122;background:#fff0d8}
/* Native MES widgets. Shared iOS tokens from the published ios.css root. */
.wb-mes-client{display:flex;flex-direction:column;min-height:0;height:100%;gap:10px;color:var(--text,var(--itac-ink,#243746));font-size:calc(.91rem * var(--hmi-scale,1))}
.wb-mes-strip{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 13px;background:var(--subtle,#f1f3f6);border-radius:10px;font-size:.84em}
.wb-mes-pill{padding:5px 10px;border-radius:8px;font-weight:750;background:color-mix(in srgb,var(--hmi-accent,#a40640) 12%,transparent);color:var(--hmi-accent,#a40640)}
.wb-mes-muted,.wb-mes-note{font-size:.83em;color:var(--muted,#637487);line-height:1.45}.wb-mes-note{padding:0 12px}
.wb-mes-form{padding:0 12px;display:flex;gap:10px;align-items:end}.wb-mes-form>label{display:flex;flex-direction:column;gap:5px;flex:1;font-weight:600;font-size:.84em}.wb-mes-form input{min-height:42px;padding:10px 12px;border:1px solid var(--line,#dfe5eb);border-radius:9px;min-width:0;width:100%;color:var(--text,#243746);background:var(--panel,#fff)}
.wb-mes-tabs{display:flex;gap:5px;padding:0 12px;flex-wrap:nowrap;overflow-x:auto;flex-shrink:0}.wb-mes-tab{white-space:nowrap;padding:8px 10px;min-height:38px;border:1px solid var(--line,#dfe5eb);border-radius:10px;background:var(--subtle,#eef2f6);color:var(--muted,#637487);cursor:pointer;font-size:.84em}.wb-mes-tab.selected{background:var(--hmi-accent,#a40640);color:white;border-color:var(--hmi-accent,#a40640)}.wb-mes-tab small{opacity:.8;margin-left:4px}.wb-mes-client>.wb-table-scroll{flex:1;min-height:90px;max-height:none;margin:0 12px 11px}.wb-mes-actions{display:flex;gap:5px;align-items:center;white-space:nowrap}.wb-mes-actions .wb-btn{padding:5px 9px}
.wb-mes-overlay{position:fixed;inset:0;z-index:25000;display:grid;place-items:center;padding:12px;background:rgba(14,21,33,.68);backdrop-filter:blur(4px)}.wb-mes-dialog{box-sizing:border-box;width:min(700px,95vw);max-height:90vh;overflow-y:auto;border-radius:19px;background:#fff;color:#243746;border:1px solid #dfe5eb;box-shadow:0 25px 90px rgba(0,0,0,.25);padding:19px 23px;display:flex;flex-direction:column;gap:15px;--line:#dfe5eb;--muted:#637487;--panel:#fff;--text:#243746}.wb-mes-dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #dfe5eb;padding-bottom:12px}.wb-mes-dialog header strong{font-size:1.15em}.wb-mes-dialog label:not(.wb-mes-check){display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:.87em}.wb-mes-dialog input:not([type=checkbox]),.wb-mes-dialog select{display:block;padding:10px 13px;width:100%;border:1px solid #dfe5eb;border-radius:9px;background:#fff;color:#243746}.wb-mes-dialog p{margin:0;color:#375169}.wb-mes-check{display:flex;align-items:center;gap:9px;font-size:.87em;cursor:pointer;padding:8px 0}.wb-mes-check input{width:19px;height:19px;flex-shrink:0;accent-color:#a40640}.wb-mes-orders{display:flex;flex-direction:column;gap:5px;overflow:auto;max-height:230px}.wb-mes-order{display:flex;gap:8px;flex-wrap:wrap;align-items:center;text-align:left;border:1px solid #dfe5eb;background:#f8fafc;padding:11px;border-radius:9px;color:#243746}.wb-mes-order:hover,.wb-mes-order.chosen{border-color:#a40640;background:#fff5f8}.wb-mes-order small{color:#637487}.wb-mes-order span{margin-left:auto;color:#a40640}.wb-mes-dialog>.wb-btn.wb-primary{align-self:end}.wb-mes-dialog .wb-alert{margin:0}
/**
* Workbench Neon – optional industrial theme inspired by the user's supplied
* dark Workbench UI reference. Scoped to .shell.neon, except native MES dialogs
* that Teleport to <body>. Does not replace or modify the live ios.css file.
* Accessibility: high text contrast, keyboard focus, reduced motion.
*/
.shell.neon {
--bg:#070f16;
--panel:#13232d;
--panel-deep:#0c1821;
--subtle:#19303d;
--line:#355461;
--text:#e2f2f8;
--muted:#a3becd;
--input:#0e1b25;
--neon-cyan:#42daf5;
--neon-blue:#56a9ee;
--neon-purple:#bc75e7;
--neon-magenta:#e65ab7;
--neon-green:#72f2b2;
--neon-border:rgba(105,213,238,.5);
font-family:'Segoe UI',Arial,system-ui,sans-serif;
color-scheme:dark;
background:
radial-gradient(ellipse 70% 50% at 74% 20%,rgba(24,73,92,.13),transparent 75%),
repeating-linear-gradient(45deg,rgba(126,172,189,.025) 0 1px,transparent 1px 5px),
#070f16;
}
.shell.neon.high-contrast{--line:#a8d9e7;--muted:#d7eaf2;--neon-border:#9ef0ff}
.shell.neon .sidebar{
background:linear-gradient(100deg,#090f15,#192530 43%,#0b151c 90%);
border-right:2px solid #274f62;
box-shadow:inset -4px 0 12px rgba(0,0,0,.65), 3px 0 18px rgba(54,177,217,.13);
padding-top:14px;
}
.shell.neon .brand{
margin:-6px -4px 10px;
padding:17px 10px 20px;
border:1px solid #4d626b;
border-radius:13px 24px 13px 24px;
background:
linear-gradient(160deg,rgba(255,255,255,.12),transparent 29%),
linear-gradient(180deg,#3e4c55 0%,#202b33 15%,#0e1b24 61%,#0c141b 84%,#43515a 100%);
box-shadow:0 5px 0 #060b0f,inset 0 1px 0 #839ca9,0 0 15px rgba(52,219,244,.21);
position:relative;
}
.shell.neon .brand::after{content:'';position:absolute;bottom:5px;left:17px;right:23px;height:2px;background:linear-gradient(90deg,transparent,#42e9fb 46%,#4e97d5,transparent);box-shadow:0 0 9px #36d2ee}
.shell.neon .brand-icon{color:#8bebfb;text-shadow:0 0 8px rgba(35,222,247,.7)}
.shell.neon .brand strong{color:#c7edff;text-shadow:0 0 12px rgba(45,163,244,.45)}
.shell.neon .brand small{color:#a4c0cf;letter-spacing:.15em}
.shell.neon .nav-caption{color:#83c8e4;letter-spacing:.22em}
.shell.neon .nav-root,
.shell.neon .nav-link,
.shell.neon .nav-add{
border:1px solid #334954;
border-radius:8px 15px 8px 13px;
color:#c5e4f0;
background:linear-gradient(115deg,#23343f,#111e27 61%,#26333b);
box-shadow:inset 0 1px 0 #52626b, 0 3px 4px #03070b9c;
margin:2px 0;
position:relative;
transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease;
}
.shell.neon .nav-link{min-height:39px}
.shell.neon .nav-root::after,
.shell.neon .nav-link::after{content:'';position:absolute;bottom:3px;left:12%;width:62%;height:1px;background:linear-gradient(90deg,transparent,#54d1f2,transparent);box-shadow:0 0 9px #31d9f8;pointer-events:none}
.shell.neon .nav-link.active,
.shell.neon .nav-root[aria-expanded=true]{
background:linear-gradient(115deg,#176075,#105064 35%,#0c3445 80%,#145f77);
color:#f1ffff;border:1px solid #62e9ff;
box-shadow:inset 0 1px 0 #a6faff,0 0 11px rgba(0,219,255,.52),0 0 26px rgba(0,219,255,.19);
}
.shell.neon .nav-link:hover,
.shell.neon .nav-root:hover,
.shell.neon .nav-add:hover{color:#fff;border-color:#8ee8fa;box-shadow:0 0 13px rgba(54,226,255,.38),inset 0 1px 0 #8ca4ad}
.shell.neon .nav-expander{color:#8fcde0}
.shell.neon .sidebar-bottom{border-top:1px solid #3c5d6d}
.shell.neon .online-dot{background:#47e6b0;box-shadow:0 0 10px #47e6b080}
.shell.neon .toolbar{
min-height:95px;
padding:19px 28px;
background:
linear-gradient(90deg,rgba(178,221,241,.12),transparent 20%,rgba(119,151,167,.07) 79%,transparent),
linear-gradient(180deg,#3e4a53 0%,#1b2933 20%,#0b171f 68%,#293b46 94%,#57656c 100%);
border:1px solid #627782;border-left:0;
border-bottom:4px ridge #435f6a;
border-radius:0 0 26px 12px;
box-shadow:inset 0 1px 0 #9aacb6,0 6px 18px rgba(0,0,0,.7),0 0 17px rgba(29,198,242,.16);
position:relative;
}
.shell.neon .toolbar::after{
content:'';position:absolute;left:6%;right:22%;bottom:4px;height:2px;
background:linear-gradient(90deg,transparent,#4cd8f6 29%,#55aefa 58%,#bb63dd,transparent);
box-shadow:0 0 10px rgba(62,216,245,.7);pointer-events:none;
}
.shell.neon .toolbar h1{color:#a7dfff;font-size:1.62em;letter-spacing:.02em;font-weight:500;text-shadow:0 0 16px #2b9ee67a}
.shell.neon .subtitle{color:#b1ceda}
.shell.neon .toolbar-design-label{color:#b8dcea}
.shell.neon .toolbar-theme-select{color:#e6f6ff;border-color:#497387;background:linear-gradient(#1e3442,#101b27)}
.shell.neon .work-area{
background:radial-gradient(ellipse 100% 80% at 70% 0%,rgba(44,97,117,.17),transparent 75%),
repeating-linear-gradient(135deg,rgba(156,203,228,.018) 0 1px,transparent 1px 4px);
}
.shell.neon .canvas{
border:1px solid #466a78;
background:linear-gradient(125deg,#081219,#101d26 68%,#121924);
box-shadow:inset 0 0 32px #000c,0 0 0 3px #101d26,0 0 12px #2ea7d91f;
border-radius:15px;
}
.shell.neon .canvas.editable{background-image:radial-gradient(#3c7a92 .8px,transparent .8px);background-size:18px 18px}
.shell.neon .grid-stack-item-content{
border:1px solid #638c9f;
background:linear-gradient(160deg,#1e343e,#101e27 32%,#11242d 100%);
border-radius:10px 18px 12px 16px;
box-shadow:inset 0 1px 0 #638b99,0 0 0 2px #0a1b24,0 4px 17px #0008,0 0 12px rgba(48,186,226,.14);
}
.shell.neon .grid-stack-item-content:hover{border-color:#93e9fb;box-shadow:0 0 0 2px #0b2533,0 0 20px #33ccea52,0 6px 16px #0008}
.shell.neon .grid-stack-item-content.selected{outline:2px solid #3be4fd;outline-offset:2px}
.shell.neon .widget-head{
border-bottom:1px solid #3d6e7f;
min-height:52px;
background:linear-gradient(#4a657073,#16252df0 36%,#142630);
box-shadow:inset 0 1px 0 #6287956b;
}
.shell.neon .widget-name{color:#d3f4ff;text-shadow:0 0 8px #19bcf54d;letter-spacing:.015em}
.shell.neon .widget-label{color:#b6cfda;letter-spacing:.14em}
.shell.neon .wb-widget-symbol{background:#163d4b;color:#77e1f3;box-shadow:0 0 9px #19bdd338}
.shell.neon .inspector{
background:linear-gradient(150deg,#182934,#0b1720);
border-color:#5f8997;box-shadow:0 0 14px #35a7d524;
}
.shell.neon .widget-picker button{
background:linear-gradient(160deg,#253944,#101f28);border:1px solid #496a78;
box-shadow:inset 0 1px 0 #597582;
}
.shell.neon .widget-picker button:hover{background:#183544;border-color:#60d8fa}
.shell.neon :is(.mode-btn,.subtle-button,.primary-button,.publish-button,.icon-button,.wb-btn){
border-radius:6px 11px 7px 11px;
border:1px solid #587787;
background:linear-gradient(180deg,#365260,#172d3b 52%,#111c28);
color:#ecfaff;
box-shadow:inset 0 1px 0 #7a9aa9,0 2px 5px #0007;
}
.shell.neon :is(.mode-btn.active,.primary-button,.wb-btn.wb-primary){
border-color:#58daf5;
background:linear-gradient(180deg,#2484a8,#175779 53%,#09314c);
box-shadow:inset 0 1px 0 #a1eaff,0 0 11px #1cbbed70;
}
.shell.neon .publish-button{border-color:#64d8ba;background:linear-gradient(#298f76,#0b5644);box-shadow:0 0 9px #31ddad55}
.shell.neon .danger-button{border-color:#a55467;background:#3b1a2d;color:#ffd6df}
.shell.neon :is(button,.nav-link,.nav-root):focus-visible{outline:2px solid #c0f7ff;outline-offset:2px}
.shell.neon .wb-mes-tab{background:linear-gradient(#344b59,#172c38);color:#d8eef8;border:1px solid #658b9a;border-radius:5px 9px 5px 9px;box-shadow:inset 0 1px 0 #6a919e}
.shell.neon .wb-mes-tab.selected{background:linear-gradient(#158bbb,#10547a);color:#fff;box-shadow:0 0 12px #39b7e65c;border-color:#66e6ff}
.shell.neon .wb-mes-tabs .wb-mes-tab:nth-child(2n).selected{background:linear-gradient(#2c8d99,#1b525b)}
.shell.neon .wb-mes-tabs .wb-mes-tab:nth-child(3n).selected{background:linear-gradient(#8a5ca6,#4e3574)}
.shell.neon .wb-table-scroll{border-color:#547785;box-shadow:inset 0 0 12px #0009}
.shell.neon :is(.wb-table,.widget-table) th{
background:linear-gradient(180deg,#35515c,#1a2f39);color:#ceebf6;border-color:#567c89;
}
.shell.neon :is(.wb-table,.widget-table) td{border-color:#33515d;color:#d5edf5}
.shell.neon :is(.wb-table,.widget-table) tbody tr:hover{background:#1a3a48}
.shell.neon .wb-mes-strip{background:linear-gradient(#24404e,#132936);border:1px solid #3d6375}
.shell.neon .wb-mes-pill{background:#134655;color:#9decff;box-shadow:0 0 8px #43cee52a}
.shell.neon .wb-value-pill.on{background:#0e4a3a;color:#8ff5be}
.shell.neon .hmi-heading-frame.neon-frame{
background:linear-gradient(170deg,#51636f 0%,#152732 22%,#0b1924 63%,#304653 94%,#617582 100%)!important;
color:#bceaff!important;border-color:#69d6f2!important;
text-shadow:0 0 18px #51bdf17c;
box-shadow:inset 0 1px 0 #a5bbc6,inset 0 -2px 0 #42687c,0 0 13px rgba(63,206,247,.33);
}
.shell.neon .footer{border-color:#31515d;background:#0b1720}
.shell.neon .hmi-diagnostic-notice{background:#18232e;border-color:#ad8744}
/* Native MES dialogs teleport to body; only their own classes are themed. */
body[data-hmi-theme='neon'] .wb-mes-overlay{background:rgba(1,7,12,.82)}
body[data-hmi-theme='neon'] .wb-mes-dialog{
--line:#456d7f;--muted:#b1c8d6;--panel:#192c37;--text:#eff8fd;
background:linear-gradient(160deg,#284450,#0c1b26 38%,#142a36);
border:2px solid #6a9aa9;border-radius:12px 22px;
color:#ebf7fb;box-shadow:inset 0 1px 0 #a4c1cc,0 0 26px rgba(46,201,246,.33),0 25px 65px #000b;
}
body[data-hmi-theme='neon'] .wb-mes-dialog header{border-color:#476b79}
body[data-hmi-theme='neon'] .wb-mes-dialog p{color:#c7dfea}
body[data-hmi-theme='neon'] .wb-mes-dialog :is(input:not([type=checkbox]),select){background:#101f2a;color:#f0fbff;border-color:#537e8e}
body[data-hmi-theme='neon'] .wb-mes-order{background:#182e39;border-color:#507684;color:#edf9ff}
body[data-hmi-theme='neon'] .wb-mes-order:hover{background:#17475c;border-color:#65e1ff}
body[data-hmi-theme='neon'] .wb-mes-dialog .wb-btn{background:#193c50;border-color:#5fa5bf;color:#dff8ff}
body[data-hmi-theme='neon'] .wb-mes-dialog .wb-btn.wb-primary{background:#13587b;border-color:#3cb9e4;color:white}
/* Toolbar and theme picker are shared across all themes. */
.toolbar-design-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.86em}
.toolbar-theme-select{max-width:168px;border:1px solid var(--line);background:var(--input);border-radius:9px;color:var(--text);padding:9px;font:inherit;cursor:pointer}
.theme-picker{display:grid;gap:7px}
.theme-choice{background:var(--panel-deep);border:1px solid var(--line);border-radius:11px;padding:8px 10px;display:flex;align-items:center;gap:10px;text-align:left;color:var(--text);width:100%}
.theme-choice.chosen{border:2px solid var(--hmi-accent);padding:7px 9px}
.theme-choice-label{display:flex;flex-direction:column;gap:3px;flex:1}.theme-choice-label strong{font-size:.9em}.theme-choice-label small{font-size:.75em;color:var(--muted)}
.theme-selected{color:var(--hmi-accent);font-size:1.2em}
.theme-swatch{display:block;width:54px;height:34px;flex-shrink:0;border:2px solid #334957;border-radius:6px;overflow:hidden;background:#1b2d39;position:relative}
.theme-swatch i{position:absolute;top:0;bottom:0;left:0;width:14px;background:#10222d;border-right:1px solid #5395b1}
.theme-swatch b{position:absolute;top:5px;left:19px;right:4px;height:8px;border:1px solid #80c5df;background:#2c4656;border-radius:2px}
.theme-swatch em{position:absolute;bottom:5px;left:19px;right:4px;height:8px;border:1px solid #5e95aa;background:#1f3947;border-radius:2px}
.theme-choice-neon .theme-swatch{box-shadow:inset 0 0 7px #42d5f8,0 0 8px #28c8ff77;border-color:#6ae7ff}
.theme-choice-neon .theme-swatch b{box-shadow:0 0 6px #54e1ff}
.theme-choice-ios .theme-swatch{background:#f5f7fa;border-color:#bdcbd7}.theme-choice-ios .theme-swatch i{background:#ffffff;border-color:#e4e8ee}.theme-choice-ios .theme-swatch b{background:#e7ebef;border-color:#d8dfe8}.theme-choice-ios .theme-swatch em{background:#a40640;border-color:#a40640}
.theme-choice-light .theme-swatch{background:#f4f7fb}.theme-choice-light .theme-swatch i{background:#dce6ef}.theme-choice-light .theme-swatch b{background:#cbd8e4}.theme-choice-light .theme-swatch em{background:#5f86b5}
.theme-choice-system .theme-swatch{background:linear-gradient(100deg,#f0f4fa 50%,#1b2e3b 50%)}
@media(max-width:1000px){.toolbar-design-label{font-size:.75em}.toolbar-theme-select{max-width:125px}}
@media(max-width:800px){.shell.neon .toolbar{border-radius:0 0 15px 15px}.toolbar-right{flex-wrap:wrap}.shell.neon .sidebar{min-height:0}.shell.neon .nav-root::after{width:25%}}
@media(prefers-reduced-motion:reduce){.shell.neon :is(.nav-root,.nav-link,.nav-add){transition:none}}
.preview-banner{position:sticky;top:0;z-index:3;text-align:center;background:#ffcf55;color:#192b33;font:600 12px system-ui;padding:6px}
.sample-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px}.tile{grid-column:span 12;min-height:145px}.tile.half{grid-column:span 6}.tile.third{grid-column:span 4}.tile .widget-body{overflow:visible}
.sample-tabs{display:flex;flex-wrap:wrap;gap:5px;margin:13px}.sample-tabs button{padding:8px 12px;border:1px solid var(--line);border-radius:9px;color:var(--text);background:var(--panel)}.sample-tabs button.active{background:var(--hmi-accent);color:#fff}
.sample-meta{display:flex;align-items:center;justify-content:space-between;padding:15px;flex-wrap:wrap;gap:8px}.sample-meta .info-number{font-size:20px}.tile.tablewide{grid-column:span 12;min-height:230px}
.shell.ios{--hmi-accent:#a40640}.shell.neon{--hmi-accent:#32d5ee}.shell.neon .sample-tabs button{background:linear-gradient(#384d59,#172a36);border-color:#678995}.shell.neon .sample-tabs button.active{background:linear-gradient(#148dba,#184d75);border-color:#91efff;box-shadow:0 0 10px #3cddff77}
body{background:#030b10!important}.preview-frame .sidebar{min-height:100vh}.preview-frame .work-area{min-height:calc(100vh - 120px)}
@media(max-width:900px){.sample-grid>.tile.half,.sample-grid>.tile.third{grid-column:span 12}.preview-frame .sidebar{min-height:0}.sample-tabs{overflow-x:auto;flex-wrap:nowrap}}
</style></head><body><div class="preview-banner">INTERAKTIVE DESIGNVORSCHAU · Keine Verbindung zum MES · Keine Buchungen</div>
<div id="screen" class="shell neon preview-frame">
<aside class="sidebar"><header class="brand"><span class="brand-icon">◈</span><div><strong>Workbench HMI</strong><small>DESIGN EDITION</small></div></header>
<div class="nav-caption">PRODUKTION</div>
<div class="nav-group"><button class="nav-root" aria-expanded="true"><span>▾</span><strong>Fertigung</strong><span class="nav-count">4</span></button>
<button class="nav-link" onclick="chooseNav(this)">◈ &nbsp; Auftragsverwaltung</button><button class="nav-link" onclick="chooseNav(this)">▦ &nbsp; Station</button><button class="nav-link" onclick="chooseNav(this)">◷ &nbsp; HistoryData</button>
<button class="nav-link active" onclick="chooseNav(this)">▣ &nbsp; Manuelle Fertigung</button></div>
<div class="nav-group"><button class="nav-root" aria-expanded="false" onclick="this.setAttribute('aria-expanded',String(this.getAttribute('aria-expanded')!=='true'))"><span>▸</span><strong>Administration</strong><span class="nav-count">3</span></button></div>
<button class="nav-add">+ Pages / Menüs verwalten</button><div class="sidebar-bottom"><span class="online-dot"></span><div><strong>Vorschau-Modus</strong><small>Designvergleich</small></div></div>
</aside>
<main class="content"><header class="toolbar"><div><h1>Workbench – Produktionscockpit</h1><div class="subtitle">Manuelle Fertigung · Arbeitsplan & Buchungen</div></div>
<div class="toolbar-right"><label class="toolbar-design-label">Design<select id="theme" class="toolbar-theme-select" onchange="changeTheme(this.value)"><option value="neon">Workbench Neon</option><option value="ios">iOS / iTAC</option></select></label><label class="station-label">Station <input class="station-input" value="00001-M0100" readonly></label></div></header>
<section class="work-area"><div class="work-head"><div class="mode-actions"><button class="mode-btn active">▣ Ansicht</button><button class="mode-btn">↔ Mein Layout</button><button class="mode-btn">✎ Designer</button></div><div class="mode-actions"><span class="version">Statische Beispielansicht</span></div></div>
<div class="canvas"><div class="sample-grid">
<section class="tile third grid-stack-item-content"><div class="widget"><div class="widget-head"><strong class="widget-name">Aktiver Auftrag</strong><small class="widget-label">MES</small></div><div class="widget-body"><div class="info-number">00001202010715001</div><p class="muted">Baugruppe Gehäuse</p></div></div></section>
<section class="tile third grid-stack-item-content"><div class="widget"><div class="widget-head"><strong class="widget-name">Stationsstatus</strong><small class="widget-label">LIVE</small></div><div class="widget-body"><span class="status-dot"></span>&nbsp; <b>Bereit</b><p class="muted">Station 00001-M0100</p></div></div></section>
<section class="tile third grid-stack-item-content"><div class="widget"><div class="widget-head"><strong class="widget-name">Buchungen</strong><small class="widget-label">ÜBERSICHT</small></div><div class="widget-body"><span class="info-number">1</span><span class="muted">Buchung gefunden</span><p class="muted">Arbeitsplan: 1 · Rezept: 1 · Setup: 1</p></div></div></section>
<section class="tile tablewide grid-stack-item-content"><div class="widget"><div class="widget-head"><span class="widget-name">Workplan & Details</span><small class="widget-label">MANUELLE FERTIGUNG</small></div><div class="widget-body"><table class="wb-table" style="width:100%"><thead><tr><th>AVO</th><th>Arbeitsschritt</th><th>Prozesslage</th><th>Beschreibung</th><th>Status</th><th>Aktionen</th></tr></thead><tbody><tr><td>1</td><td>1</td><td>2</td><td>Gehäuse</td><td><span style="color:#64eeb2">✔ Gut</span></td><td><button class="wb-btn wb-primary">Messwert</button> <button class="wb-btn">Fehler</button> <button class="wb-btn">Rüsten</button></td></tr></tbody></table><p class="muted" style="padding:15px">Tipp: Workorder aktivieren · Doppelklick für Statusbuchung</p></div></div></section>
<section class="tile tablewide grid-stack-item-content"><div class="widget"><div class="widget-head"><strong class="widget-name">History & Booking</strong><small class="widget-label">BUCHUNGSDETAILS</small></div><div class="widget-body"><div class="sample-tabs"><button class="active" onclick="tab(this)">Booking</button><button onclick="tab(this)">Failure</button><button onclick="tab(this)">FailureSlip</button><button onclick="tab(this)">Measurement</button><button onclick="tab(this)">Setup</button><button onclick="tab(this)">SetupCheck</button><button onclick="tab(this)">Attribute</button></div><table class="wb-table" style="width:100%"><thead><tr><th>Seriennummer</th><th>Station</th><th>Workorder</th><th>Arbeitsschritt</th><th>Status</th></tr></thead><tbody><tr><td>00001202010715001</td><td>00001-M0100</td><td>12</td><td>Gehäuse</td><td>Gut</td></tr></tbody></table></div></div></section>
</div></div>
</section><footer class="footer">WidgetWorkbench · Optionale Designvariante „Workbench Neon“ · Layouts und Rollen bleiben unverändert</footer></main>
</div><script>
function changeTheme(v){let el=document.getElementById('screen');el.className='shell '+v+' preview-frame';document.body.dataset.hmiTheme=v;}
function tab(el){document.querySelectorAll('.sample-tabs button').forEach(x=>x.classList.remove('active'));el.classList.add('active')}
function chooseNav(el){document.querySelectorAll('.nav-link').forEach(x=>x.classList.remove('active'));el.classList.add('active')}
changeTheme('neon');
</script></body></html>