diff options
| author | Taras Madan <tarasmadan@google.com> | 2025-08-21 19:00:20 +0200 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2025-08-28 11:36:44 +0000 |
| commit | d401b9d77980e7469e1c6eaa282f33df0fcfb3df (patch) | |
| tree | 4a3f1285ece64120bbe75e5f336056adc77ef3dc /pkg/manager/html | |
| parent | 030f691787a240a447c5ec1491804160afa4050d (diff) | |
pkg/manager: add Rank column with tooltips to the main page
Diffstat (limited to 'pkg/manager/html')
| -rw-r--r-- | pkg/manager/html/main.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/manager/html/main.html b/pkg/manager/html/main.html index 42e92ac2b..43652cbf6 100644 --- a/pkg/manager/html/main.html +++ b/pkg/manager/html/main.html @@ -26,6 +26,7 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the <thead> <tr> <th><a onclick="return sortTable(this, 'Description', textSort)" href="#">Description</a></th> + <th><a onclick="return sortTable(this, 'Rank', numSort)" href="#">Rank</a></th> <th><a onclick="return sortTable(this, 'Count', numSort)" href="#">Count</a></th> <th><a onclick="return sortTable(this, 'First Time', textSort, true)" href="#">First Time</a></th> <th><a onclick="return sortTable(this, 'Last Time', textSort, true)" href="#">Last Time</a></th> @@ -37,6 +38,14 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the {{range $c := $.Crashes}} <tr> <td class="title"><a href="/crash?id={{$c.ID}}">{{$c.Title}}</a></td> + <td class="rank {{if not $c.Active}}inactive{{end}}"> + {{if $c.RankTooltip}} + <b>{{$c.Rank}}</b> + <pre class="tooltiptext">{{$c.RankTooltip}}</pre> + {{else}} + {{$c.Rank}} + {{end}} + </td> <td class="stat {{if not $c.Active}}inactive{{end}}">{{len $c.Crashes}}</td> <td class="time {{if not $c.New}}inactive{{end}}">{{formatTime $c.FirstTime}}</td> <td class="time {{if not $c.Active}}inactive{{end}}">{{formatTime $c.LastTime}}</td> |
