Spaces:
No application file
No application file
Download web/index.html from Pankaj10346/Openenv-Hackathon: direct link, hf CLI and curl.
- Browser
- Download file 3.77 kB
-
https://huggingface.co/spaces/Pankaj10346/Openenv-Hackathon/resolve/main/web/index.html
- Command line
-
hf download hf://spaces/Pankaj10346/Openenv-Hackathon/web/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Pankaj10346/Openenv-Hackathon/resolve/main/web/index.html
3.77 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <title>Legal Contract Review — OpenEnv</title> | |
| <link rel="stylesheet" href="styles.css" /> | |
| </head> | |
| <body> | |
| <header class="top"> | |
| <div class="brand"> | |
| <span class="brand-mark" aria-hidden="true">¶</span> | |
| <div> | |
| <h1>Clause review desk</h1> | |
| <p class="tagline">OpenEnv · classify · risk · fix</p> | |
| </div> | |
| </div> | |
| <div class="conn-panel"> | |
| <label class="sr-only" for="ws-url">WebSocket base URL</label> | |
| <input | |
| id="ws-url" | |
| type="text" | |
| spellcheck="false" | |
| placeholder="ws://localhost:8000" | |
| aria-describedby="ws-hint" | |
| /> | |
| <span id="ws-hint" class="hint">Use <code>ws://127.0.0.1:PORT</code> (not <code>0.0.0.0</code> — browsers cannot connect there). <code>/ws</code> is appended if missing.</span> | |
| <button type="button" id="btn-connect" class="btn primary">Connect</button> | |
| <button type="button" id="btn-disconnect" class="btn ghost" disabled>Disconnect</button> | |
| <span id="conn-status" class="pill idle">Disconnected</span> | |
| </div> | |
| </header> | |
| <main class="layout"> | |
| <section class="panel controls" aria-labelledby="ep-title"> | |
| <h2 id="ep-title">Episode</h2> | |
| <div class="row"> | |
| <label for="task-select">Task</label> | |
| <select id="task-select"> | |
| <option value="classify">Classify (easy)</option> | |
| <option value="risk">Risk (medium)</option> | |
| <option value="fix">Suggest fix (hard)</option> | |
| </select> | |
| <button type="button" id="btn-reset" class="btn primary" disabled>Reset</button> | |
| </div> | |
| <div class="row actions-row"> | |
| <button type="button" id="btn-state" class="btn ghost" disabled>Refresh state</button> | |
| <button type="button" id="btn-finish" class="btn danger" disabled>Finish episode</button> | |
| </div> | |
| <div class="metrics" id="metrics" aria-live="polite"> | |
| <div class="metric"> | |
| <span class="metric-label">Step</span> | |
| <span class="metric-value" id="m-step">—</span> | |
| </div> | |
| <div class="metric"> | |
| <span class="metric-label">Last reward</span> | |
| <span class="metric-value" id="m-reward">—</span> | |
| </div> | |
| <div class="metric"> | |
| <span class="metric-label">Episode return</span> | |
| <span class="metric-value" id="m-return">—</span> | |
| </div> | |
| <div class="metric"> | |
| <span class="metric-label">Grader</span> | |
| <span class="metric-value" id="m-grader">—</span> | |
| </div> | |
| </div> | |
| </section> | |
| <section class="panel contract" aria-labelledby="doc-title"> | |
| <h2 id="doc-title">Contract</h2> | |
| <pre class="doc-block" id="document-text">Connect and reset to load text.</pre> | |
| <h3 class="subhead">Reference rules</h3> | |
| <dl class="rules" id="standard-rules"></dl> | |
| </section> | |
| <section class="panel clauses" aria-labelledby="clauses-title"> | |
| <h2 id="clauses-title">Clauses</h2> | |
| <p class="task-banner" id="task-banner">Task: —</p> | |
| <div id="clauses-root" class="clause-list"></div> | |
| </section> | |
| <section class="panel log" aria-labelledby="log-title"> | |
| <h2 id="log-title">Session log</h2> | |
| <ol class="log-list" id="log"></ol> | |
| </section> | |
| </main> | |
| <footer class="foot"> | |
| <span>Served under <code>/ui</code> · same origin WebSocket <code>/ws</code></span> | |
| </footer> | |
| <script src="app.js"></script> | |
| </body> | |
| </html> | |