Add playground entry selector
This commit is contained in:
@@ -9,14 +9,22 @@ import ManualLayout from '../layouts/ManualLayout.astro';
|
||||
<p>Virtual files are evaluated in the browser through WebAssembly. Use import paths such as <code>./schemas/service.dcdl</code>.</p>
|
||||
</div>
|
||||
<div class="playground-actions">
|
||||
<label class="example-picker">
|
||||
<span>Example</span>
|
||||
<select id="example-select" aria-label="Playground example"></select>
|
||||
</label>
|
||||
<button id="load-example" type="button">Load</button>
|
||||
<div class="action-group example-actions">
|
||||
<label class="example-picker">
|
||||
<span>Example</span>
|
||||
<select id="example-select" aria-label="Playground example"></select>
|
||||
</label>
|
||||
<button id="load-example" type="button">Load</button>
|
||||
</div>
|
||||
<div class="action-group run-actions">
|
||||
<button id="format" disabled>Format</button>
|
||||
<label class="entry-picker">
|
||||
<span>Entry</span>
|
||||
<select id="entry-select" aria-label="Entry point file"></select>
|
||||
</label>
|
||||
<button id="run" disabled>Run</button>
|
||||
</div>
|
||||
<p id="status" class="status">Loading WASM...</p>
|
||||
<button id="format" disabled>Format</button>
|
||||
<button id="run" disabled>Run</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user