X-Git-Url: https://git.auder.net/variants/Baroque/current/gitweb.js?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FMoveList.vue;h=6ff93d8d8ba3a57937c62e1c7aa10e1d77ef52c3;hb=5b3dc10e34bf5bf970494be6ee1fa0b67e2ca88c;hp=920d5240579692424f421e8f9f15b7f4bf6dc15a;hpb=311cba767e3c461edb0c8c758bfb193ef670a68f;p=vchess.git
diff --git a/client/src/components/MoveList.vue b/client/src/components/MoveList.vue
index 920d5240..6ff93d8d 100644
--- a/client/src/components/MoveList.vue
+++ b/client/src/components/MoveList.vue
@@ -1,5 +1,23 @@
div
+ input#modalAdjust.modal(type="checkbox")
+ div#adjuster(
+ role="dialog"
+ data-checkbox="modalAdjust"
+ )
+ .card.text-center
+ label.modal-close(for="modalAdjust")
+ label(for="boardSize") {{ st.tr["Board size"] }}
+ input#boardSize.slider(
+ type="range"
+ min="0"
+ max="100"
+ value="50"
+ @input="adjustBoard()"
+ )
+ div#boardSizeBtnContainer
+ button#boardSizeBtn(onClick="window.doClick('modalAdjust')")
+ | {{ st.tr["Board size"] }}
#scoreInfo(v-if="score!='*'")
p {{ score }}
p {{ st.tr[message] }}
@@ -17,13 +35,12 @@ div
@click="() => gotoMove(moveIdx+1)"
)
| {{ notation(moves[moveIdx+1]) }}
- // Else: just add an empty cell
- //.td(v-else)