- #controls
- button(@click="gotoBegin()") <<
- button(@click="undo()") <
- button(v-if="canFlip" @click="flip()") ⇅
- button(@click="play()") >
- button(@click="gotoEnd()") >>
- #belowControls
- #downloadDiv(v-if="allowDownloadPGN")
- a#download(href="#")
- button(@click="download()") {{ st.tr["Download"] }} PGN
- button(
- v-if="canAnalyze"
- @click="analyzePosition()"
- )
- | {{ st.tr["Analyse"] }}
- // NOTE: variants pages already have a "Rules" link on top
- button(
- v-if="!$route.path.match('/variants/')"
- @click="showRules()"
- )
- | {{ st.tr["Rules"] }}
+ #controls.button-group
+ button(@click="gotoBegin()")
+ img.inline(src="/images/icons/fast-forward_rev.svg")
+ button(@click="undo()")
+ img.inline(src="/images/icons/play_rev.svg")
+ button(v-if="canFlip" @click="flip()")
+ img.inline(src="/images/icons/flip.svg")
+ button(@click="play()")
+ img.inline(src="/images/icons/play.svg")
+ button(@click="gotoEnd()")
+ img.inline(src="/images/icons/fast-forward.svg")