go-websockets-talk/demo/static/index.html

35 lines
869 B
HTML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Go Chat Application</title>
<link rel="stylesheet" type="text/css" href="/css/style.css">
</head>
<div id="snackbar"></div>
<body>
<div id="modal" class="modal">
<div class="modal-content">
<h1>Enter a username:</h1>
<input type="text" id="nickI" placeholder="Nickname">
<button type="submit" id="nickB">Join </button>
</div>
</div>
<div class="container">
<div class="lhs">
<div class="chat">
<div class="chat-inner">
<input type="text" id="chatI" placeholder="Enter your message">
<button id="chatB">Send </button>
</div>
</div>
<div class="messages" id="messages">
</div>
</div>
<div class="rhs" id="users">
<h3>Online Users</h3>
</div>
</div>
<script src="/js/index.js"></script>
</body>
</html>