Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion dashboard/app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -1898,7 +1898,6 @@ func loadDupsForBug(c context.Context, bug *Bug, state *ReportingState,
}
group := &uiBugGroup{
Now: timeNow(c),
Caption: "duplicates",
ShowPatched: true,
ShowStatus: true,
Bugs: results,
Expand Down
8 changes: 7 additions & 1 deletion dashboard/app/templates/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@
{{end}}
{{template "bug_filter" $.BugFilter}}
{{range $group := $.Groups}}
{{template "bug_list" $group}}
<details open>
<summary class="bug_list_caption">
{{$group.Caption}} ({{len $group.Bugs}})
<a id="{{$group.Fragment}}" href="#{{$group.Fragment}}">🔗</a>
</summary>
{{template "bug_list" $group}}
</details>
{{end}}
</body>
</html>
10 changes: 0 additions & 10 deletions dashboard/app/templates/templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,16 +164,6 @@ <h1><a href="/{{$.Namespace}}">syzbot</a></h1>
{{if .}}
{{if .Bugs}}
<table class="list_table">
{{if $.Caption}}
{{if $.Fragment}}
<caption id="{{$.Fragment}}"><a class="plain" href="#{{$.Fragment}}">
{{else}}
<caption>
{{end}}
{{$.Caption}} ({{len $.Bugs}}):
{{if $.Fragment}}</a>{{end}}
</caption>
{{end}}
<thead>
<tr>
{{if $.ShowNamespace}}
Expand Down
7 changes: 7 additions & 0 deletions pkg/html/pages/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ table td, table th {
color: #375EAB;
}

.bug_list_caption {
font-weight: bold;
font-size: large;
color: #375EAB;
cursor: pointer;
}

.position_table {
border: 0px;
margin: 0px;
Expand Down
Loading