- div#boardSizeBtnContainer
- button#boardSizeBtn(onClick="window.doClick('modalAdjust')")
- | {{ st.tr["Set board size"] }}
+ #aboveMoves
+ // NOTE: variants pages already have a "Rules" link on top
+ span#rulesBtn(
+ v-if="!$route.path.match('/variants/')"
+ @click="$emit('showrules')"
+ )
+ | {{ st.tr["Rules"] }}
+ button.tooltip(
+ onClick="window.doClick('modalAdjust')"
+ :aria-label="st.tr['Resize board']"
+ )
+ img.inline(src="/images/icons/resize.svg")
+ button.tooltip(
+ v-if="canAnalyze"
+ @click="$emit('analyze')"
+ :aria-label="st.tr['Analyse']"
+ )
+ img.inline(src="/images/icons/analyse.svg")
+ #downloadDiv(v-if="canDownload")
+ a#download(href="#")
+ button.tooltip(
+ @click="$emit('download')"
+ :aria-label="st.tr['Download'] + ' PGN'"
+ )
+ img.inline(src="/images/icons/download.svg")