summaryrefslogtreecommitdiff
path: root/web/index.html
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-03-09 01:17:05 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-09 01:17:05 +0000
commit13846ea4ce4bacfadda6f86c5e48e5e76e13db07 (patch)
tree20838cbcbc343e8cd8b8f6bb0f8ad347c3fa52b3 /web/index.html
parentf9d2056f4d10fe7dde71f5d17d8e8c473b3a611f (diff)
feat: delete templates feature and allow requeueing BUDGET_EXCEEDED tasks
Removed all template-related code from frontend (tabs, modals, logic) and backend (routes, files, DB table). Updated BUDGET_EXCEEDED tasks to be requeueable with a Restart button. Fixed ReferenceError in isUserEditing for Node.js tests.
Diffstat (limited to 'web/index.html')
-rw-r--r--web/index.html33
1 files changed, 0 insertions, 33 deletions
diff --git a/web/index.html b/web/index.html
index ad79cee..0b4ee35 100644
--- a/web/index.html
+++ b/web/index.html
@@ -16,7 +16,6 @@
</header>
<nav class="tab-bar">
<button class="tab active" data-tab="tasks">Tasks</button>
- <button class="tab" data-tab="templates">Templates</button>
<button class="tab" data-tab="active">Active</button>
<button class="tab" data-tab="running">Running</button>
</nav>
@@ -32,13 +31,6 @@
<div id="loading">Loading tasks…</div>
</div>
</div>
- <div data-panel="templates" hidden>
- <div class="panel-header">
- <h2>Templates</h2>
- <button id="btn-new-template" class="btn-primary">New Template</button>
- </div>
- <div class="template-list"></div>
- </div>
<div data-panel="active" hidden>
<div class="active-task-list"></div>
</div>
@@ -95,31 +87,6 @@
</form>
</dialog>
- <dialog id="template-modal">
- <form id="template-form" method="dialog">
- <h2>New Template</h2>
- <label>Name <input name="name" required></label>
- <label>Description <textarea name="description" rows="2"></textarea></label>
- <label>Instructions <textarea name="instructions" rows="6" required></textarea></label>
- <label>Project Directory <input name="project_dir" placeholder="/path/to/repo"></label>
- <label>Max Budget (USD) <input name="max_budget_usd" type="number" step="0.01" value="1.00"></label>
- <label>Allowed Tools <input name="allowed_tools" placeholder="Bash, Read, Write"></label>
- <label>Timeout <input name="timeout" value="15m"></label>
- <label>Priority
- <select name="priority">
- <option value="normal" selected>Normal</option>
- <option value="high">High</option>
- <option value="low">Low</option>
- </select>
- </label>
- <label>Tags <input name="tags" placeholder="ci, daily"></label>
- <div class="form-actions">
- <button type="button" id="btn-cancel-template">Cancel</button>
- <button type="submit" class="btn-primary">Save Template</button>
- </div>
- </form>
- </dialog>
-
<!-- Side panel backdrop -->
<div id="task-panel-backdrop" class="panel-backdrop" hidden></div>