Skip to content

Commit

Permalink
dashboard/app: fix coverage menu
Browse files Browse the repository at this point in the history
  • Loading branch information
tarasmadan committed Jul 17, 2024
1 parent 57a588e commit ee498bb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dashboard/app/templates/templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,11 @@ <h1><a href="/{{$.Namespace}}">syzbot</a></h1>
{{if .ShowCoverageMenu}}
<div class="dropdown navigation_tab">
<button class="dropbtn"><span style="color:DarkOrange;">📈</span>Coverage</button>
<div class="dropdown-content navigation_tab{{if eq .URLPath (printf "/%v/graph/coverage" $.Namespace)}}_selected{{end}}">
<a href="/{{$.Namespace}}/graph/coverage">Total</a>
<a href="/{{$.Namespace}}/graph/coverage_heatmap">Heatmap</a>
<div class="dropdown-content">
<a class="navigation_tab{{if eq .URLPath (printf "/%v/graph/coverage" $.Namespace)}}_selected{{end}}"
href="/{{$.Namespace}}/graph/coverage">Total</a>
<a class="navigation_tab{{if eq .URLPath (printf "/%v/graph/coverage_heatmap" $.Namespace)}}_selected{{end}}"
href="/{{$.Namespace}}/graph/coverage_heatmap">Heatmap</a>
</div>
</div>
{{end}}
Expand Down

0 comments on commit ee498bb

Please sign in to comment.