diff options
Diffstat (limited to 'dashboard/app/templates/bug.html')
| -rw-r--r-- | dashboard/app/templates/bug.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dashboard/app/templates/bug.html b/dashboard/app/templates/bug.html index 94de735b4..697cd94ca 100644 --- a/dashboard/app/templates/bug.html +++ b/dashboard/app/templates/bug.html @@ -38,6 +38,28 @@ Page with details about a single bug. {{end}} {{end}} First crash: {{formatLateness $.Now $.Bug.FirstTime}}, last: {{formatLateness $.Now $.Bug.LastTime}}<br> + {{if .AIWorkflows}} + <form method="POST"> + <select name="ai-job-create"> + {{range $flow := .AIWorkflows}} + <option>{{$flow}}</option> + {{end}} + </select> + <input type="submit" value="✨ Create"/> + </form> + {{end}} + {{if .AIJobs}} + <div class="collapsible collapsible-show"> + <div class="head"> + <span class="show-icon">▶</span> + <span class="hide-icon">▼</span> + <span>✨ AI Jobs ({{len .AIJobs}})</span> + </div> + <div class="content"> + {{template "ai_job_list" .AIJobs}} + </div> + </div> + {{end}} {{if .Bug.FixCandidateJob}} <div class="fix-candidate-block">{{template "bisect_results" .Bug.FixCandidateJob}}</div> {{end}} |
