aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/admin.html
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-05-08 15:40:27 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-05-08 15:48:07 +0200
commite97b06d3cef9296e9d0e827c42bccdd36b555986 (patch)
tree50b5412c21b4db8eeeb028947498f586144415c6 /dashboard/app/admin.html
parenta788005625429fe22b1b55fd969e22f1864cb88e (diff)
dashboard/app: show patch testing requests on bug page
Fixes #1547
Diffstat (limited to 'dashboard/app/admin.html')
-rw-r--r--dashboard/app/admin.html58
1 files changed, 1 insertions, 57 deletions
diff --git a/dashboard/app/admin.html b/dashboard/app/admin.html
index edbdc9f7e..172070821 100644
--- a/dashboard/app/admin.html
+++ b/dashboard/app/admin.html
@@ -23,62 +23,6 @@ Main page.
<br><br>
{{template "manager_list" $.Managers}}
-
- <table class="list_table">
- <caption id="jobs"><a class="plain" href="#jobs">Recent jobs:</a></caption>
- <thead>
- <tr>
- <th>Bug</th>
- <th>Created</th>
- <th>Duration</th>
- <th>User</th>
- <th>Patch</th>
- <th>Repo</th>
- <th>Manager</th>
- <th>Result</th>
- </tr>
- </thead>
- <tbody>
- {{range $job := $.Jobs}}
- <tr>
- <td class="title"><a href="{{$job.BugLink}}">{{$job.BugTitle}}</a></td>
- <td class="time">{{link $job.ExternalLink (formatTime $job.Created)}}</td>
- <td class="time" title="started: {{formatTime $job.Started}}&#013;finished: {{formatTime $job.Finished}}">
- {{formatDuration $job.Duration}}{{if gt $job.Attempts 1}} ({{$job.Attempts}}){{end}}
- </td>
- <td>
- {{if eq $job.Type 0}}
- {{$job.User}}
- {{else if eq $job.Type 1}}
- bisect
- {{else if eq $job.Type 2}}
- bisect fix
- {{end}}
- </td>
- <td>{{optlink $job.PatchLink "patch"}}</td>
- <td class="kernel" title="{{$job.KernelAlias}}">{{$job.KernelAlias}}</td>
- <td title="{{$job.Namespace}}/{{$job.Reporting}}">{{$job.Manager}}</td>
- <td class="result">
- {{if $job.ErrorLink}}
- {{link $job.ErrorLink "error"}}
- {{else if $job.LogLink}}
- {{link $job.LogLink "log"}}
- ({{if $job.Commit}}1{{else}}{{len $job.Commits}}{{end}})
- {{else if $job.CrashTitle}}
- {{optlink $job.CrashReportLink "report"}}
- {{optlink $job.CrashLogLink "log"}}
- {{else if formatTime $job.Finished}}
- OK
- {{else if formatTime $job.Started}}
- running
- {{else}}
- pending
- {{end}}
- </td>
- </tr>
- {{end}}
- </tbody>
- </table>
- <br><br>
+ {{template "job_list" $.Jobs}}
</body>
</html>