2021-07-22 20:09:02 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>Chat Room</title>
|
|
|
|
<meta name="author" content="Luna">
|
|
|
|
<meta name="description" content="Maya's Stream Chat">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<link rel="stylesheet" href="chat.css">
|
|
|
|
<link rel="icon" href="">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<h1>Welcome to the chat!</h1>
|
|
|
|
|
|
|
|
<div id="chatbox">
|
|
|
|
|
|
|
|
<div id="innerchatbox">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2021-07-23 06:51:26 +00:00
|
|
|
<form autocomplete="off">
|
2021-07-22 20:09:02 +00:00
|
|
|
<input type="text" id="message" name="message" required>
|
2021-07-23 14:30:43 +00:00
|
|
|
<label for="message">Input Message Above</label>
|
2021-07-22 20:09:02 +00:00
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="loggeduser"></div>
|
|
|
|
|
2021-07-23 14:30:43 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
window.onload = function() {
|
|
|
|
let a = document.getElementById("logoutlink");
|
|
|
|
a.onclick = function() {
|
|
|
|
logout()
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<a id="logoutlink" href="stream.html">(logout)</a>
|
|
|
|
|
|
|
|
<div id="errormessage"></div>
|
|
|
|
|
2021-07-22 20:09:02 +00:00
|
|
|
<script src="chat.js"></script>
|
2021-07-23 14:30:43 +00:00
|
|
|
<script src="logout.js"></script>
|
2021-07-22 20:09:02 +00:00
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|