2020-09-02 05:15:57 +07:00
|
|
|
|
<!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>
|