X-Git-Url: https://git.auder.net/doc/screen_ranking.png?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FMyGames.vue;h=a29e0e98170fbd1bfd6162eadd815c9104daf95d;hb=ff0150d1eb0ce3778310e67bb4ce87d0666a37d7;hp=c9c6565979f6bcef41f077272de8a1a610c5e75d;hpb=cba6ec9460cf635a21e9a0df8e628cc387a3f95a;p=vchess.git
diff --git a/client/src/views/MyGames.vue b/client/src/views/MyGames.vue
index c9c65659..a29e0e98 100644
--- a/client/src/views/MyGames.vue
+++ b/client/src/views/MyGames.vue
@@ -7,29 +7,55 @@ main
| {{ st.tr["Live games"] }}
button.tabbtn#corrGames(@click="setDisplay('corr',$event)")
| {{ st.tr["Correspondance games"] }}
+ button.tabbtn#importGames(@click="setDisplay('import',$event)")
+ | {{ st.tr["Imported games"] }}
GameList(
+ ref="livegames"
v-show="display=='live'"
:games="liveGames"
@show-game="showGame"
+ @abortgame="abortGame"
)
GameList(
v-show="display=='corr'"
+ ref="corrgames"
:games="corrGames"
@show-game="showGame"
+ @abortgame="abortGame"
)
+ UploadGame(
+ v-show="display=='import'"
+ @game-uploaded="addGameImport"
+ )
+ GameList(
+ v-show="display=='import'"
+ ref="importgames"
+ :games="importGames"
+ :show-both="true"
+ @show-game="showGame"
+ )
+ button#loadMoreBtn(
+ v-show="hasMore[display]"
+ @click="loadMore(display)"
+ )
+ | {{ st.tr["Load more"] }}
-
+
+
+