This commit is contained in:
Alicia 2019-02-24 00:24:23 +00:00
parent fabc20d4f2
commit 66eeed7848
3 changed files with 12 additions and 2 deletions

View File

@ -115,6 +115,11 @@
</div> </div>
</div> </div>
{{ $user := . }} {{ $user := . }}
<div class="ui three 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"> <div class="ui four item bottom attached menu" id="mode-menu">
{{ range $k, $v := modes }} {{ range $k, $v := modes }}
<a class="{{ favMode $favouritemode $k }}item" data-mode="{{ $k }}" href="/u/{{ $user.id }}?mode={{ $k }}">{{ $v }}</a> <a class="{{ favMode $favouritemode $k }}item" data-mode="{{ $k }}" href="/u/{{ $user.id }}?mode={{ $k }}">{{ $v }}</a>

View File

@ -115,7 +115,7 @@
</div> </div>
</div> </div>
{{ $user := . }} {{ $user := . }}
<div class="ui two item bottom attached menu" id="rx-menu"> <div class="ui three item bottom attached menu" id="rx-menu">
<a class="0 item" data-rx="0" href="/u/{{ $user.id }}">Vanilla</a> <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="1" href="/rx/u/{{ $user.id }}">Relax</a>
<a class="1 item" data-rx="2" href="/ap/u/{{ $user.id }}">AutoPilot</a> <a class="1 item" data-rx="2" href="/ap/u/{{ $user.id }}">AutoPilot</a>

View File

@ -114,7 +114,12 @@
</div> </div>
</div> </div>
</div> </div>
{{ $user := . }} {{ $user := . }}
<div class="ui three 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"> <div class="ui four item bottom attached menu" id="mode-menu">
{{ range $k, $v := modes }} {{ range $k, $v := modes }}
<a class="{{ favMode $favouritemode $k }}item" data-mode="{{ $k }}" href="/u/{{ $user.id }}?mode={{ $k }}">{{ $v }}</a> <a class="{{ favMode $favouritemode $k }}item" data-mode="{{ $k }}" href="/u/{{ $user.id }}?mode={{ $k }}">{{ $v }}</a>