aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/templates/templates.html
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2024-07-17 15:33:18 +0200
committerTaras Madan <tarasmadan@google.com>2024-07-17 16:14:03 +0000
commit2a76be22a7e1048b5b1062afa20d00cba88e93a9 (patch)
tree77dad5544c82c89a9c41488288cea00409855125 /dashboard/app/templates/templates.html
parent21615ebe39314f7e873e5acafe5e5b3f4331dac6 (diff)
dashboard/app: move graphs to submenu
Diffstat (limited to 'dashboard/app/templates/templates.html')
-rw-r--r--dashboard/app/templates/templates.html36
1 files changed, 14 insertions, 22 deletions
diff --git a/dashboard/app/templates/templates.html b/dashboard/app/templates/templates.html
index 718b6d878..5478d027a 100644
--- a/dashboard/app/templates/templates.html
+++ b/dashboard/app/templates/templates.html
@@ -87,30 +87,22 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the
</div>
{{end}}
- <div class="navigation_tab{{if eq .URLPath (printf "/%v/graph/bugs" $.Namespace)}}_selected{{end}}">
- <a href='/{{$.Namespace}}/graph/bugs'>
- <span style="color:DarkOrange;">πŸ“ˆ</span> Kernel Health</a>
- </div>
-
- <div class="navigation_tab{{if eq .URLPath (printf "/%v/graph/found-bugs" $.Namespace)}}_selected{{end}}">
- <a href='/{{$.Namespace}}/graph/found-bugs'>
- <span style="color:DarkOrange;">πŸ“ˆ</span> Bugs/Month</a>
- </div>
-
- <div class="navigation_tab{{if eq .URLPath (printf "/%v/graph/lifetimes" $.Namespace)}}_selected{{end}}">
- <a href='/{{$.Namespace}}/graph/lifetimes'>
- <span style="color:DarkOrange;">πŸ“ˆ</span> Bug Lifetimes</a>
- </div>
-
- <div class="navigation_tab{{if eq .URLPath (printf "/%v/graph/fuzzing" $.Namespace)}}_selected{{end}}">
- <a href='/{{$.Namespace}}/graph/fuzzing'>
- <span style="color:DarkOrange;">πŸ“ˆ</span> Fuzzing</a>
+ <div class="dropdown navigation_tab">
+ <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</>
+ <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}}"
+ href='/{{$.Namespace}}/graph/lifetimes'>Bug&nbsp;Lifetimes</a>
+ <a class="navigation_tab{{if eq .URLPath (printf "/%v/graph/fuzzing" $.Namespace)}}_selected{{end}}"
+ href='/{{$.Namespace}}/graph/fuzzing'>Fuzzing</a>
+ <a class="navigation_tab{{if eq .URLPath (printf "/%v/graph/crashes" $.Namespace)}}_selected{{end}}"
+ href='/{{$.Namespace}}/graph/crashes'>Crashes</a>
+ </div>
</div>
- <div class="navigation_tab{{if eq .URLPath (printf "/%v/graph/crashes" $.Namespace)}}_selected{{end}}">
- <a href='/{{$.Namespace}}/graph/crashes'>
- <span style="color:DarkOrange;">πŸ“ˆ</span> Crashes</a>
- </div>
{{if .ShowCoverageMenu}}
<div class="dropdown navigation_tab">
<button class="dropbtn"><span style="color:DarkOrange;">πŸ“ˆ</span>Coverage</button>