diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-02-24 02:01:24 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-02-24 02:01:24 +0000 |
| commit | 135d8eb1e9612ede642e5341ccd865f72bab3869 (patch) | |
| tree | 57953da718e558506f27286a0f9896f3037d55a1 /web/index.html | |
| parent | f27d4f7ef3949627c9cb1077f90135a5268b7631 (diff) | |
Add embedded web UI and wire it into the HTTP server
Serves a lightweight dashboard (HTML/CSS/JS) from an embedded FS at
GET /. The JS polls the REST API to display tasks and stream logs
via WebSocket. Static files are embedded at build time via web/embed.go.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'web/index.html')
| -rw-r--r-- | web/index.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..cb2b670 --- /dev/null +++ b/web/index.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Claudomator</title> + <link rel="stylesheet" href="style.css" /> +</head> +<body> + <header> + <h1>Claudomator</h1> + </header> + <main id="app"> + <div class="task-list"> + <div id="loading">Loading tasks…</div> + </div> + </main> + <script src="app.js" defer></script> +</body> +</html> |
