Started adding client functions
This commit is contained in:
parent
9ef945e575
commit
fc354feb20
@ -1,5 +1,6 @@
|
|||||||
<header class="header-banner">
|
<header class="header-banner">
|
||||||
<link rel="stylesheet" type="text/css" href="index.css">
|
<link rel="stylesheet" type="text/css" href="index.css">
|
||||||
|
<script src="index.js"></script>
|
||||||
<div class="container-width">
|
<div class="container-width">
|
||||||
<div class="logo-container">
|
<div class="logo-container">
|
||||||
</div>
|
</div>
|
||||||
@ -12,20 +13,20 @@
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<footer class="footer-under">
|
<footer class="footer-under">
|
||||||
<form method="post" action="localhost:3001/lobby/register" class="form register">
|
<form class="form register">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="label">Name</label>
|
<label class="label">Name</label>
|
||||||
<input placeholder="Type here your name" class="input"/>
|
<input placeholder="Type here your name" class="input" id="registerName"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<button type="submit" class="button">Register</button>
|
<button type="button" class="button" onclick="register()">Register</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<form method="post" action="http://localhost:3001/make" class="form">
|
<form class="form">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -35,12 +36,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
</div>
|
</div>
|
||||||
<input type="number" class="input"/>
|
<input type="number" class="input" id="seatsSelector"/>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<button type="submit" class="button">Send</button>
|
<button type="button" class="button" onclick="make()">Send</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<form method="post" action="http://localhost:3001/lobby/join" class="form game-list">
|
<form class="form game-list">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="label">Game List<br/></label>
|
<label class="label">Game List<br/></label>
|
||||||
</div>
|
</div>
|
||||||
@ -49,10 +50,10 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group jsme">
|
<div class="form-group jsme">
|
||||||
<button type="submit" class="button">Name</button>
|
<button type="button" class="button" onclick="join()">Name</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<form method="post" action="http://localhost:3001/lobby/join" class="form game-list">
|
<form class="form game-list">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="label">Lobby<br draggable="true" id="il3dmw-2-2"/></label>
|
<label class="label">Lobby<br draggable="true" id="il3dmw-2-2"/></label>
|
||||||
</div>
|
</div>
|
||||||
@ -69,7 +70,7 @@
|
|||||||
<div class="cell" id="in2itk">
|
<div class="cell" id="in2itk">
|
||||||
</div>
|
</div>
|
||||||
<div class="cell" id="ibmekl">
|
<div class="cell" id="ibmekl">
|
||||||
<button type="submit" class="button">Start</button>
|
<button type="button" class="button" onclick="start()">Start</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
fetch().then(result => {
|
|
||||||
console.log("Do the thing")
|
function register(){
|
||||||
})
|
console.log("join")
|
||||||
|
}
|
||||||
|
|
||||||
|
function make(){
|
||||||
|
console.log("join")
|
||||||
|
}
|
||||||
|
|
||||||
|
function join(){
|
||||||
|
console.log("join")
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user