X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=public%2Fjavascripts%2Fcomponents%2FtabGames.js;fp=public%2Fjavascripts%2Fcomponents%2FtabGames.js;h=0000000000000000000000000000000000000000;hb=625022fdcf750f0aff8fcd699f7e9b89730e1d10;hp=3861dbac189440f67722a7a8c2a8850afb4910bf;hpb=b955c65b942d09d24b5c3bed0d755d4f2f8f71f1;p=vchess.git diff --git a/public/javascripts/components/tabGames.js b/public/javascripts/components/tabGames.js deleted file mode 100644 index 3861dbac..00000000 --- a/public/javascripts/components/tabGames.js +++ /dev/null @@ -1,40 +0,0 @@ -// "My" games: tabs my archived local games, my correspondance games -// + my imported games (of any type). -// TODO: later, also add possibility to upload a game (parse PGN). -Vue.component("my-tab-games", { - props: ["settings"], - data: function() { - return { - display: "", - imported: [], - local: [], - corr: [] - }; - }, - template: ` -
-
- - - -
- - - - - - - -
- `, - created: function() { - // TODO: fetch corr games, local and corr - // if any corr game where it's my turn, set display = "corr", - // else set display = "local" (if any) or imported (if any and no local) - }, - methods: { - update: function() { - // TODO: scan local + imported games, if any new then add it - }, - }, -});