|
| 1 | +<!doctype html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | + <title>First-Class Tool Starter</title> |
| 7 | + <link rel="stylesheet" href="./styles/toolStarter.css"> |
| 8 | + <script type="module" src="./js/bootstrap.js"></script> |
| 9 | + </head> |
| 10 | + <body> |
| 11 | + <header id="shared-theme-header" class="tool-starter__header"> |
| 12 | + <div> |
| 13 | + <h1>First-Class Tool Starter</h1> |
| 14 | + <p>Replace this shell with the new tool name and purpose.</p> |
| 15 | + </div> |
| 16 | + <p class="tool-starter__header-meta">Self-contained starter</p> |
| 17 | + </header> |
| 18 | + |
| 19 | + <nav class="tool-starter__menu" aria-label="Tool actions"> |
| 20 | + <button id="runToolButton" type="button">Run</button> |
| 21 | + <button id="resetToolButton" type="button">Reset</button> |
| 22 | + <button id="exportToolStateButton" type="button">Export toolState</button> |
| 23 | + </nav> |
| 24 | + |
| 25 | + <main class="tool-starter app-shell" data-tool-id="first-class-tool-starter"> |
| 26 | + <aside class="tool-starter__panel tool-starter__panel--left" aria-label="Tool inputs"> |
| 27 | + <section class="accordion-v2 tool-starter__accordion is-open" data-accordion-open="true"> |
| 28 | + <button class="accordion-v2__header" type="button" aria-expanded="true" aria-controls="sourceInputContent"> |
| 29 | + <span>Input Source</span> |
| 30 | + <span class="accordion-v2__icon" aria-hidden="true">+</span> |
| 31 | + </button> |
| 32 | + <div id="sourceInputContent" class="accordion-v2__content"> |
| 33 | + <label class="tool-starter__field" for="sourceInput"> |
| 34 | + <span>Source value</span> |
| 35 | + <input id="sourceInput" type="text" autocomplete="off" placeholder="Enter a value to process"> |
| 36 | + </label> |
| 37 | + <p id="sourceValidationMessage" class="tool-starter__hint">Input is required before Run can process.</p> |
| 38 | + </div> |
| 39 | + </section> |
| 40 | + |
| 41 | + <section class="accordion-v2 tool-starter__accordion is-open" data-accordion-open="true"> |
| 42 | + <button class="accordion-v2__header" type="button" aria-expanded="true" aria-controls="statusLogContent"> |
| 43 | + <span>Status</span> |
| 44 | + <span class="accordion-v2__icon" aria-hidden="true">+</span> |
| 45 | + </button> |
| 46 | + <div id="statusLogContent" class="accordion-v2__content"> |
| 47 | + <button id="clearStatusButton" type="button">Clear</button> |
| 48 | + <textarea id="statusLog" readonly rows="10" aria-label="Status log"></textarea> |
| 49 | + </div> |
| 50 | + </section> |
| 51 | + </aside> |
| 52 | + |
| 53 | + <section class="tool-starter__panel tool-starter__panel--center" aria-label="Tool preview"> |
| 54 | + <section class="accordion-v2 tool-starter__accordion tool-starter__accordion--fill is-open" data-accordion-open="true"> |
| 55 | + <button class="accordion-v2__header" type="button" aria-expanded="true" aria-controls="previewPanelContent"> |
| 56 | + <span>Preview</span> |
| 57 | + <span class="accordion-v2__icon" aria-hidden="true">+</span> |
| 58 | + </button> |
| 59 | + <div id="previewPanelContent" class="accordion-v2__content"> |
| 60 | + <div id="previewOutput" class="tool-starter__preview" role="img" aria-label="Tool preview output"> |
| 61 | + <p>No preview rendered yet.</p> |
| 62 | + </div> |
| 63 | + </div> |
| 64 | + </section> |
| 65 | + </section> |
| 66 | + |
| 67 | + <aside class="tool-starter__panel tool-starter__panel--right" aria-label="Tool output"> |
| 68 | + <section class="accordion-v2 tool-starter__accordion is-open" data-accordion-open="true"> |
| 69 | + <button class="accordion-v2__header" type="button" aria-expanded="true" aria-controls="inspectorContent"> |
| 70 | + <span>Output Summary</span> |
| 71 | + <span class="accordion-v2__icon" aria-hidden="true">+</span> |
| 72 | + </button> |
| 73 | + <div id="inspectorContent" class="accordion-v2__content"> |
| 74 | + <pre id="inspectorOutput" class="tool-starter__output">{}</pre> |
| 75 | + </div> |
| 76 | + </section> |
| 77 | + </aside> |
| 78 | + </main> |
| 79 | + </body> |
| 80 | +</html> |
0 commit comments