Skip to content

Commit

Permalink
dashboard/app: move graphs to submenu
Browse files Browse the repository at this point in the history
  • Loading branch information
tarasmadan committed Jul 17, 2024
1 parent 0e62b43 commit 82d914b
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions dashboard/app/templates/templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,30 +87,30 @@ <h1><a href="/{{$.Namespace}}">syzbot</a></h1>
</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="dropdown navigation_tab">
<button class="dropbtn"><span style="color:DarkOrange;">📈</span>Graphs</button>

<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="dropdown-content navigation_tab{{if eq .URLPath (printf "/%v/graph/bugs" $.Namespace)}}_selected{{end}}">
<a href='/{{$.Namespace}}/graph/bugs'>Kernel Health</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="dropdown-content navigation_tab{{if eq .URLPath (printf "/%v/graph/found-bugs" $.Namespace)}}_selected{{end}}">
<a href='/{{$.Namespace}}/graph/found-bugs'>Bugs/Month</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>
<div class="dropdown-content navigation_tab{{if eq .URLPath (printf "/%v/graph/lifetimes" $.Namespace)}}_selected{{end}}">
<a href='/{{$.Namespace}}/graph/lifetimes'>Bug Lifetimes</a>
</div>

<div class="dropdown-content navigation_tab{{if eq .URLPath (printf "/%v/graph/fuzzing" $.Namespace)}}_selected{{end}}">
<a href='/{{$.Namespace}}/graph/fuzzing'>Fuzzing</a>
</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 class="dropdown-content navigation_tab{{if eq .URLPath (printf "/%v/graph/crashes" $.Namespace)}}_selected{{end}}">
<a href='/{{$.Namespace}}/graph/crashes'>Crashes</a>
</div>
</div>

{{if .ShowCoverageMenu}}
<div class="dropdown navigation_tab">
<button class="dropbtn"><span style="color:DarkOrange;">📈</span>Coverage</button>
Expand Down

0 comments on commit 82d914b

Please sign in to comment.