wip first chat
This commit is contained in:
23
tests_hugo/chat/chat_client/index.html
Normal file
23
tests_hugo/chat/chat_client/index.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div>
|
||||
<ul id="messages"></ul>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<input type="text" id="message" />
|
||||
<button onclick="handle_submit_new_message()">Submit</button>
|
||||
</div>
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.3.0/socket.io.js"></script>
|
||||
<script src="./chat_socket.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user