Merge pull request 'roomPage' (#84) from roomPage into master
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Reviewed-on: #84master
commit
02f974126e
@ -0,0 +1,2 @@
|
|||||||
|
# because you don't need to know what's in here
|
||||||
|
note.txt
|
@ -0,0 +1,81 @@
|
|||||||
|
body {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
background-color: rebeccapurple;
|
||||||
|
}
|
||||||
|
|
||||||
|
section {
|
||||||
|
display: flex;
|
||||||
|
padding: 3em;
|
||||||
|
flex-direction: column;
|
||||||
|
height: calc(100vh - 6em);
|
||||||
|
}
|
||||||
|
|
||||||
|
#left-section {
|
||||||
|
background-color: white;
|
||||||
|
width: 70vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
#right-section {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
background-color: white;
|
||||||
|
width: 30vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
padding: 1.2em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
background-color: white;
|
||||||
|
border: 0.2rem solid black;
|
||||||
|
border-radius: 0.5em;
|
||||||
|
font-family: var(--font);
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#or {
|
||||||
|
display: flex;
|
||||||
|
text-align: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-family: var(--font);
|
||||||
|
font-size: 4rem;
|
||||||
|
font-weight: bolder;
|
||||||
|
color: black;
|
||||||
|
margin: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle {
|
||||||
|
font-family: var(--font);
|
||||||
|
font-size: 1.6em;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="checkbox"] {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.group {
|
||||||
|
margin-bottom: 5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.param {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#players {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
#players span {
|
||||||
|
margin-top: 1em;
|
||||||
|
font-size: large;
|
||||||
|
}
|
||||||
|
|
||||||
|
#start {
|
||||||
|
bottom: 3vh;
|
||||||
|
right: 3vw;
|
||||||
|
}
|
@ -0,0 +1,69 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<title>Room - HyperSet</title>
|
||||||
|
<link rel='stylesheet' type='text/css' href='/styles/style.css' />
|
||||||
|
<link rel='stylesheet' type='text/css' href='/styles/room.css' />
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<section id="left-section">
|
||||||
|
<button>Orignal Set Game</button>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<label>Private</label>
|
||||||
|
<input type='checkbox' />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<span id="or">OR</span>
|
||||||
|
|
||||||
|
<div class="group">
|
||||||
|
<span class="subtitle">Game parameters</span>
|
||||||
|
<div id="game-param">
|
||||||
|
<label id="chrono-slider-label">js</label><br>
|
||||||
|
<input type="range" min="1" max="8" value="1" class="slider" id="chrono-slider"><br>
|
||||||
|
<label id="player-slider-label">js</label><br>
|
||||||
|
<input type="range" min="0" max="20" value="0" class="slider" id="player-slider"><br>
|
||||||
|
<span>HyperSet</span> <input type='checkbox' /><br>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="group">
|
||||||
|
<span class="subtitle">Card number to make a set</span>
|
||||||
|
<div id='card-param' class="param">
|
||||||
|
<input type='checkbox' /> <span>3</span>
|
||||||
|
<input type='checkbox' /> <span>4</span>
|
||||||
|
<input type='checkbox' /> <span>5</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="group">
|
||||||
|
<span class="subtitle">Attributes to play with</span>
|
||||||
|
<div id='attributes-param' class="param">
|
||||||
|
<input type='checkbox' /> <span>number</span>
|
||||||
|
<input type='checkbox' /> <span>color</span>
|
||||||
|
<input type='checkbox' /> <span>shape</span>
|
||||||
|
<input type='checkbox' /> <span>filling</span>
|
||||||
|
<input type='checkbox' /> <span>outline (honnêtement c'est nul)</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="right-section">
|
||||||
|
<div>
|
||||||
|
<span class="subtitle">List of players waiting in the room:</span>
|
||||||
|
<div id="players">
|
||||||
|
<span>Aurianus</span>
|
||||||
|
<span>Basuw</span>
|
||||||
|
<span>Raph</span>
|
||||||
|
<span>Remrem</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button id="start">START</button>
|
||||||
|
</section>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
Loading…
Reference in new issue