X-Git-Url: https://git.auder.net/pieces/Cwda/n_white_knight.svg?a=blobdiff_plain;f=views%2Fvariant.pug;h=490a13aefc4b515da0a04cb25b0ec2746a0a8e9b;hb=81bc1102368a5a8b9358f58b77c241f82f3c2c4b;hp=15c546d0bb4efd7998960c627b277f4c492c391b;hpb=26b8e4f7c71030d49e44fe1d89632ef91b886d67;p=vchess.git diff --git a/views/variant.pug b/views/variant.pug index 15c546d0..490a13ae 100644 --- a/views/variant.pug +++ b/views/variant.pug @@ -28,9 +28,11 @@ block content .row //my-room(v-show="display=='room'") //my-game-list(v-show="display=='gameList'") - my-rules(v-show="display=='rules'") - my-problems(v-show="display=='problems'") + //my-rules(v-show="display=='rules'") + //my-problems(v-show="display=='problems'") //my-game(v-show="display=='game'" :gameId="gameid") + my-board(:vr="vr" :mode="mode" :orientation="orientation" + :user-color="userColor" v-on:play-move="play") block javascripts script(src="/javascripts/utils/array.js") @@ -44,8 +46,9 @@ block javascripts const variant = !{JSON.stringify(variant)}; //script(src="/javascripts/components/room.js") //script(src="/javascripts/components/gameList.js") - script(src="/javascripts/components/rules.js") - script(src="/javascripts/components/problemPreview.js") - script(src="/javascripts/components/problems.js") + //script(src="/javascripts/components/rules.js") + script(src="/javascripts/components/board.js") + //script(src="/javascripts/components/problemPreview.js") + //script(src="/javascripts/components/problems.js") //script(src="/javascripts/components/game.js") script(src="/javascripts/variant.js")