Refactored and cleaned up
This commit is contained in:
@@ -4,12 +4,13 @@
|
||||
<meta charset="UTF-8">
|
||||
<title>Projektmanagement Game</title>
|
||||
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Material+Icons">
|
||||
<link href="https://fonts.googleapis.com/css?family=Material+Icons" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="css/components.css">
|
||||
<link rel="stylesheet" href="css/header.css">
|
||||
<link href="css/components.css" rel="stylesheet">
|
||||
<link href="css/header.css" rel="stylesheet">
|
||||
<link href="css/chat.css" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="css/index.css">
|
||||
<link href="css/index.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
@@ -18,20 +19,25 @@
|
||||
<main>
|
||||
<div id="game"></div>
|
||||
<div id="chat">
|
||||
<div id="messages"></div>
|
||||
<div id="messages_received"></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 id="message_add">
|
||||
<form onsubmit="sendMessage(); return false;">
|
||||
<label for="message_input"></label>
|
||||
<textarea id="message_input" name="message" placeholder="Type here..."></textarea>
|
||||
<button id="message_send" type="submit">Send</button>
|
||||
</form>
|
||||
</div>
|
||||
</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 crossorigin="anonymous"
|
||||
integrity="sha384-cPwlPLvBTa3sKAgddT6krw0cJat7egBga3DJepJyrLl4Q9/5WLra3rrnMcyTyOnh"
|
||||
src="https://cdn.socket.io/3.1.3/socket.io.min.js"></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>
|
||||
|
Reference in New Issue
Block a user