chat functions
This commit is contained in:
38
public/index.html
Normal file
38
public/index.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Projektmanagement Game</title>
|
||||
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Material+Icons">
|
||||
|
||||
<link rel="stylesheet" href="css/components.css">
|
||||
<link rel="stylesheet" href="css/header.css">
|
||||
|
||||
<link rel="stylesheet" href="css/index.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="title">Projektmanagement Game</div>
|
||||
</header>
|
||||
<main>
|
||||
<div id="game"></div>
|
||||
<div id="chat">
|
||||
<div id="messages"></div>
|
||||
|
||||
<form id="message_form" onsubmit="sendMessage(); return false;">
|
||||
<label for="message"></label>
|
||||
<input id="message" name="message" placeholder="Type here..."/>
|
||||
<button type="submit" id="send">Send</button>
|
||||
</form>
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
|
||||
</footer>
|
||||
|
||||
<script src="https://cdn.socket.io/3.1.3/socket.io.min.js" integrity="sha384-cPwlPLvBTa3sKAgddT6krw0cJat7egBga3DJepJyrLl4Q9/5WLra3rrnMcyTyOnh" crossorigin="anonymous"></script><script src="js/chat.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/5.1.3/pixi.min.js"></script>
|
||||
<script src="js/index.js"></script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user