Change leaderboard redirects

This commit is contained in:
Alicia 2019-02-24 00:21:25 +00:00
parent 872d1eec92
commit fabc20d4f2
2 changed files with 7 additions and 2 deletions

2
static/dist.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -114,7 +114,12 @@
</div>
</div>
</div>
{{ $user := . }}
{{ $user := . }}
<div class="ui two item bottom attached menu" id="rx-menu">
<a class="0 item" data-rx="0" href="/u/{{ $user.id }}">Vanilla</a>
<a class="1 item" data-rx="1" href="/rx/u/{{ $user.id }}">Relax</a>
<a class="1 item" data-rx="2" href="/ap/u/{{ $user.id }}">AutoPilot</a>
</div>
<div class="ui four item bottom attached menu" id="mode-menu">
{{ range $k, $v := modes }}
<a class="{{ favMode $favouritemode $k }}item" data-mode="{{ $k }}" href="/u/{{ $user.id }}?mode={{ $k }}">{{ $v }}</a>