diff options
| -rw-r--r-- | dashboard/app/templates/main.html | 8 | ||||
| -rw-r--r-- | dashboard/app/templates/templates.html | 10 | ||||
| -rw-r--r-- | pkg/html/pages/style.css | 7 |
3 files changed, 14 insertions, 11 deletions
diff --git a/dashboard/app/templates/main.html b/dashboard/app/templates/main.html index 285070ba8..5425a47a4 100644 --- a/dashboard/app/templates/main.html +++ b/dashboard/app/templates/main.html @@ -19,7 +19,13 @@ Main page. {{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> diff --git a/dashboard/app/templates/templates.html b/dashboard/app/templates/templates.html index e469c18b3..a50197664 100644 --- a/dashboard/app/templates/templates.html +++ b/dashboard/app/templates/templates.html @@ -164,16 +164,6 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the {{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}} diff --git a/pkg/html/pages/style.css b/pkg/html/pages/style.css index f353bb583..8bc461882 100644 --- a/pkg/html/pages/style.css +++ b/pkg/html/pages/style.css @@ -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; |
