| <!DOCTYPE html>
|
| <html lang="en">
|
| <head>
|
| <meta charset="UTF-8">
|
| <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-src 'self'; connect-src 'self'; object-src 'none'; base-uri 'none'; form-action 'none'">
|
| <title>Dev Launcher</title>
|
| <link rel="stylesheet" href="./node_modules/@xterm/xterm/css/xterm.css">
|
| <link rel="stylesheet" href="./web/styles.css">
|
| </head>
|
| <body>
|
|
|
|
|
| <div id="header">
|
| <div id="project-name">Loading…</div>
|
| <div id="project-path"></div>
|
| <span id="type-badge"></span>
|
|
|
| <button class="nav-tab active" id="tab-home">
|
| <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2z"/><polyline points="9 22 9 12 15 12 15 22"/></svg>
|
| Home
|
| </button>
|
| <button class="nav-tab" id="btn-select-project" title="Select project folder">
|
| <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></svg>
|
| Select Project
|
| </button>
|
| <button class="nav-tab" id="btn-use-launcher-project" title="Use launcher project root">
|
| <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v14"/><path d="M5 12h14"/></svg>
|
| Use Launcher
|
| </button>
|
| <button class="nav-tab" id="tab-run">
|
| <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="5 3 19 12 5 21 5 3"/></svg>
|
| Run
|
| </button>
|
| <button class="nav-tab" id="support-btn" title="Support the Project">
|
| <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78z"/></svg>
|
| Support the Project
|
| </button>
|
| </div>
|
|
|
|
|
| <div id="content-wrap">
|
|
|
|
|
| <div class="page active" id="page-home">
|
| <iframe id="home-iframe" src="./web/home.html" title="Home"></iframe>
|
| </div>
|
|
|
|
|
| <div class="page" id="page-run">
|
|
|
|
|
| <div id="main">
|
| <div id="cmd-panel">
|
| <div id="dev-quick-panel">
|
| <div id="dev-quick-title">DEV Tools</div>
|
| <div id="dev-quick-actions">
|
| <button id="btn-dev-main-tools" class="dev-quick-btn" type="button">Main DevTools</button>
|
| <button id="btn-dev-popup-tools" class="dev-quick-btn" type="button">Popup DevTools</button>
|
| <button id="btn-dev-security-status" class="dev-quick-btn" type="button">Security Status</button>
|
| </div>
|
| <div id="dev-quick-note">Debug shortcuts and security diagnostics</div>
|
| </div>
|
| <div id="cmd-scroll">
|
| <div id="cmd-groups"></div>
|
| </div>
|
| </div>
|
| <div id="term-panel">
|
| <div id="term-output"></div>
|
| </div>
|
| </div>
|
|
|
|
|
| <div id="footer">
|
| <button id="btn-kill" disabled>■ Kill</button>
|
| <button id="btn-clear">Clear</button>
|
| <div id="stream-mode-wrap" title="Real-time = immediate chunks. Stable = small batching to reduce UI jitter.">
|
| <label for="stream-mode">Stream</label>
|
| <select id="stream-mode" aria-label="Output stream mode">
|
| <option value="realtime" selected>Real-time</option>
|
| <option value="stable">Stable</option>
|
| </select>
|
| </div>
|
| <div id="status-dot"></div>
|
| <span id="status-text">Idle</span>
|
| <span id="running-label"></span>
|
| </div>
|
|
|
| </div>
|
|
|
|
|
| <div class="page" id="page-support">
|
| <iframe id="support-iframe" src="./web/support-the-project.html" allow="clipboard-read; clipboard-write" title="Support the Project"></iframe>
|
| </div>
|
|
|
| </div>
|
|
|
| <div class="modal-backdrop" id="security-block-backdrop">
|
| <div class="security-modal" role="dialog" aria-modal="true" aria-labelledby="security-block-title">
|
| <div class="security-modal-head">
|
| <div class="security-modal-title" id="security-block-title">SECURITY POLICY NOTICE</div>
|
| </div>
|
| <div class="security-modal-body">
|
| <div class="security-modal-text" id="security-block-message"></div>
|
| <div class="security-modal-path" id="security-block-path"></div>
|
| <div class="security-modal-actions">
|
| <button class="security-modal-btn" id="security-block-close">Close</button>
|
| </div>
|
| </div>
|
| </div>
|
| </div>
|
|
|
| <script src="./node_modules/@xterm/xterm/lib/xterm.js"></script>
|
| <script src="./node_modules/@xterm/addon-fit/lib/addon-fit.js"></script>
|
| <script src="./web/renderer.js"></script>
|
| </body>
|
| </html>
|
|
|