aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/bug.html
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-03-08 11:32:33 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-03-08 11:32:33 +0100
commit549f0dc24e0f395223d16069bb2692bafdf3e2da (patch)
treeaa3a49d9615b6116c4a81ea29e5750994672b56d /dashboard/app/bug.html
parent7166783e9b5219026ab0456ba1191c89897f38d6 (diff)
dashboard/app: allow sorting crash table
Sorting at least by date may be useful.
Diffstat (limited to 'dashboard/app/bug.html')
-rw-r--r--dashboard/app/bug.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/dashboard/app/bug.html b/dashboard/app/bug.html
index 89f8d6c05..3f99d798f 100644
--- a/dashboard/app/bug.html
+++ b/dashboard/app/bug.html
@@ -32,17 +32,17 @@ Page with details about a single bug.
<table class="list_table">
<caption>Crashes ({{.Bug.NumCrashes}}):</caption>
<tr>
- <th>Manager</th>
- <th>Time</th>
- <th>Kernel</th>
- <th>Commit</th>
- <th>Syzkaller</th>
- <th>Config</th>
- <th>Log</th>
- <th>Report</th>
- <th>Syz repro</th>
- <th>C repro</th>
- <th>Maintainers</th>
+ <th><a onclick="return sortTable('Manager', textSort)" href="#">Manager</a></th>
+ <th><a onclick="return sortTable('Time', dateSort)" href="#">Time</a></th>
+ <th><a onclick="return sortTable('Kernel', textSort)" href="#">Kernel</a></th>
+ <th><a onclick="return sortTable('Commit', textSort)" href="#">Commit</a></th>
+ <th><a onclick="return sortTable('Syzkaller', textSort)" href="#">Syzkaller</a></th>
+ <th><a onclick="return sortTable('Config', textSort)" href="#">Config</a></th>
+ <th><a onclick="return sortTable('Log', textSort)" href="#">Log</a></th>
+ <th><a onclick="return sortTable('Report', reproSort)" href="#">Report</a></th>
+ <th><a onclick="return sortTable('Syz repro', reproSort)" href="#">Syz repro</a></th>
+ <th><a onclick="return sortTable('C repro', textSort)" href="#">C repro</a></th>
+ <th><a onclick="return sortTable('Maintainers', textSort)" href="#">Maintainers</a></th>
</tr>
{{range $c := $.Crashes}}
<tr>