part of the private lobby

This commit is contained in:
Giulio 2020-11-25 19:43:00 +01:00
parent 12b3f0b5eb
commit 32658c741c
4 changed files with 12 additions and 0 deletions

2
.gitignore vendored
View File

@ -136,3 +136,5 @@ dmypy.json
# Cython debug symbols
cython_debug/
frontend/package-lock.json

View File

@ -9,6 +9,7 @@
},
"dependencies": {
"core-js": "^3.6.5",
"pretty-checkbox": "^3.0.3",
"socket.io-client": "^3.0.3",
"vue": "^2.6.11",
"vue-socket.io": "^3.0.10"

View File

@ -134,6 +134,7 @@ export default {
</script>
<style>
@import '../node_modules/pretty-checkbox/dist/pretty-checkbox.css';
#app {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

View File

@ -3,6 +3,14 @@
<div style="flex-grow: 4;">
<h2 v-if="!started">Lobby: {{ lobbyName }}</h2>
<h3>Giocatori (tu sei {{username}})</h3>
<div v-if="startGameCard">
<div class="pretty p-switch p-fill">
<input type="checkbox" />
<div class="state">
<label>Stanza Privata</label>
</div>
</div>
</div>
<div class="players-table">
<Card v-if="startGameCard" :card="startGameCard" @click.native="startGame"/>
<!-- <div style="position: relative;width:260pt;height:400pt;"> -->