2023-06-30 19:41:35 +00:00
|
|
|
<div class="menu">
|
2023-07-02 21:29:35 +00:00
|
|
|
listing:
|
|
|
|
<a href="{{ .ListBy "All"}}" {{if eq .Listing "All"}}class="selected"{{end}}>all</a>
|
|
|
|
<span>-</span>
|
|
|
|
<a href="{{ .ListBy "Local"}}" {{if eq .Listing "Local"}}class="selected"{{end}}>local</a>
|
|
|
|
{{ if .Session }}
|
|
|
|
<span>-</span>
|
|
|
|
<a href="{{ .ListBy "Subscribed"}}" {{if eq .Listing "Subscribed"}}class="selected"{{end}}>subscribed</a>
|
|
|
|
{{ end }}
|
2023-06-30 19:41:35 +00:00
|
|
|
{{ if contains .Sort "Top" }}
|
|
|
|
links from past:
|
2023-07-14 13:55:42 +00:00
|
|
|
<a {{ if eq .Sort "TopHour"}}class="selected"{{end}} href="{{ .SortBy "TopHour"}}">1h</a>
|
2023-06-30 19:41:35 +00:00
|
|
|
<span>-</span>
|
2023-07-14 13:55:42 +00:00
|
|
|
<a {{ if eq .Sort "TopSixHour"}}class="selected"{{end}} href="{{ .SortBy "TopSixHour"}}">6h</a>
|
|
|
|
<span>-</span>
|
|
|
|
<a {{ if eq .Sort "TopTwelveHour"}}class="selected"{{end}} href="{{ .SortBy "TopTwelveHour"}}">12h</a>
|
|
|
|
<span>-</span>
|
|
|
|
<a {{ if eq .Sort "TopDay"}}class="selected"{{end}} href="{{ .SortBy "TopDay"}}">day</a>
|
2023-06-30 19:41:35 +00:00
|
|
|
<span>-</span>
|
|
|
|
<a {{ if eq .Sort "TopWeek"}}class="selected"{{end}} href="{{ .SortBy "TopWeek"}}">week</a>
|
|
|
|
<span>-</span>
|
2023-07-14 13:55:42 +00:00
|
|
|
<a {{ if eq .Sort "TopMonth"}}class="selected"{{end}} href="{{ .SortBy "TopMonth"}}">month</a>
|
|
|
|
<span>-</span>
|
2023-06-30 19:41:35 +00:00
|
|
|
<a {{ if eq .Sort "TopYear"}}class="selected"{{end}} href="{{ .SortBy "TopYear"}}">year</a>
|
|
|
|
<span>-</span>
|
|
|
|
<a {{ if eq .Sort "TopAll"}}class="selected"{{end}} href="{{ .SortBy "TopAll"}}">all time</a>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
</div>
|