Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -252,3 +252,4 @@ uv.lock
.pypirc

.deployment/
.playwright-cli/
15 changes: 15 additions & 0 deletions src/supervaizer/admin/templates/workbench.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,21 @@ <h4 class="text-xs font-semibold text-gray-400 uppercase tracking-wider mb-4">Jo
Start Job
</button>

{# Poll button — visible only when agent has job_poll #}
{% if has_poll %}
<button
id="btn-poll"
type="button"
onclick="workbenchForm && workbenchForm.pollJob()"
class="hidden inline-flex items-center gap-1.5 rounded-md bg-blue-50 px-3 py-1.5 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-200 hover:bg-blue-100 cursor-pointer transition-colors"
>
<svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"/>
</svg>
Check for updates
</button>
{% endif %}

{# Stop button #}
<button
id="btn-stop"
Expand Down
Loading