aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2024-07-17 16:57:46 +0200
committerTaras Madan <tarasmadan@google.com>2024-07-17 16:14:03 +0000
commit5dec23db380d17f6bc2b062de2aa6b5700921c63 (patch)
tree6a95c67d3c1dba6b2ab3caffae64ab935a4677ea /dashboard
parent2a76be22a7e1048b5b1062afa20d00cba88e93a9 (diff)
dashboard/app: fix coverage menu
Diffstat (limited to 'dashboard')
-rw-r--r--dashboard/app/templates/templates.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/dashboard/app/templates/templates.html b/dashboard/app/templates/templates.html
index 5478d027a..2f73d7f62 100644
--- a/dashboard/app/templates/templates.html
+++ b/dashboard/app/templates/templates.html
@@ -91,7 +91,7 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the
<button class="dropbtn"><span style="color:DarkOrange;">📈</span>Graphs</button>
<div class="dropdown-content">
<a class="navigation_tab{{if eq .URLPath (printf "/%v/graph/bugs" $.Namespace)}}_selected{{end}}"
- href='/{{$.Namespace}}/graph/bugs'>Kernel&nbsp;Health</>
+ href='/{{$.Namespace}}/graph/bugs'>Kernel&nbsp;Health</a>
<a class="navigation_tab{{if eq .URLPath (printf "/%v/graph/found-bugs" $.Namespace)}}_selected{{end}}"
href='/{{$.Namespace}}/graph/found-bugs'>Bugs/Month</a>
<a class="navigation_tab{{if eq .URLPath (printf "/%v/graph/lifetimes" $.Namespace)}}_selected{{end}}"
@@ -106,9 +106,11 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the
{{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}}