aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/main.html
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-12-04 09:00:28 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-12-04 09:00:28 +0100
commit96ca35f4c7ac6fecc3f129eb340cfd29f18cfdf1 (patch)
treef4c830e9674623545f6da3401e47222a34677335 /dashboard/app/main.html
parent48359b97770f794600de4b58aab8aa069ee993db (diff)
dashboard/app: show info about duplicates and similar bugs
Show info about duplicates and similar bugs in other kernels on the bug page.
Diffstat (limited to 'dashboard/app/main.html')
-rw-r--r--dashboard/app/main.html30
1 files changed, 8 insertions, 22 deletions
diff --git a/dashboard/app/main.html b/dashboard/app/main.html
index 6a9c84f75..abdc632f5 100644
--- a/dashboard/app/main.html
+++ b/dashboard/app/main.html
@@ -1,3 +1,10 @@
+{{/*
+Copyright 2017 syzkaller project authors. All rights reserved.
+Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+Main page.
+*/}}
+
<!doctype html>
<html>
<head>
@@ -101,28 +108,7 @@
<br><br>
{{range $group := $.BugGroups}}
- <table class="list_table">
- <caption>{{.Namespace}} ({{len $group.Bugs}}):</caption>
- <tr>
- <th>Title</th>
- <th>Count</th>
- <th>Repro</th>
- <th>Last</th>
- <th>Status</th>
- <th>Patched</th>
- </tr>
- {{range $b := $group.Bugs}}
- <tr>
- <td class="title"><a href="{{$b.Link}}">{{$b.Title}}</a></td>
- <td class="stat {{if $b.NumCrashesBad}}bad{{end}}">{{$b.NumCrashes}}</td>
- <td class="stat">{{formatReproLevel $b.ReproLevel}}</td>
- <td class="stat">{{formatLateness $.Now $b.LastTime}}</td>
- <td class="status">{{if $b.Link}}<a href="{{$b.ExternalLink}}">{{$b.Status}}</a>{{else}}{{$b.Status}}{{end}}</td>
- <td class="patched" title="{{$b.Commits}}">{{if $b.Commits}}{{len $b.PatchedOn}}/{{len $b.MissingOn}}{{end}}</td>
- </tr>
- {{end}}
- </table>
- <br><br>
+ {{template "bug_list" $group}}
{{end}}
</body>
</html>