SimpleClient added, maybe other stuff

This commit is contained in:
nannal 2020-03-12 20:24:53 +02:00
parent fc354feb20
commit d50ccb48f8
3 changed files with 53 additions and 3 deletions

View File

@ -1,4 +1,5 @@
<header class="header-banner"> <header class="header-banner">
<!-- <img src="https://b.thumbs.redditmedia.com/DVZcy19t2uXvJWg9YIQm8dwBjSbx0HMg1cubAThOpBc.png"></img> -->
<link rel="stylesheet" type="text/css" href="index.css"> <link rel="stylesheet" type="text/css" href="index.css">
<script src="index.js"></script> <script src="index.js"></script>
<div class="container-width"> <div class="container-width">
@ -99,7 +100,7 @@
<input type="number" class="input"/> <input type="number" class="input"/>
</div> </div>
<div class="cell"> <div class="cell">
<button class="button">Send</button> <button class="button" >Send</button>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,12 +1,24 @@
function register(){ function register(){
console.log("join") console.log("register")
} }
function make(){ function make(){
console.log("join") console.log("make")
} }
function join(){ function join(){
console.log("join") console.log("join")
} }
function start(){
console.log("start")
}
function donate(){
console.log("donate")
}
function accuse(){
console.log("accuse")
}

37
client/simpleclient.html Normal file
View File

@ -0,0 +1,37 @@
<html>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding"/>
<script src="index.js"></script>
<div id="controls">
</br>Register
<input id="register" type="text" placeholder="Name"/> <button onclick="register()">Register</button>
</br>Make
<input id="make" type="text" placeholder="GameName"/> <button onclick="make()">Make</button>
</br>Join
<input id="join" type="text" placeholder="Name"/> <button onclick="join()">Join</button>
</br>Start
<button onclick="start()">Start</button>
</br>Donate
<select id="donate" name="list">
<option value="x">x</option>
</select>
<input id="amount" type="number">
<button onclick="donate()">Donate</button>
</br>Accuse
<input id="accuse" type="text" placeholder="Name"/> <button onclick="accuse()">Accuse</button>
</div>
<div id="info"></div>
</html>