2016-07-29 09:56:03 +00:00
|
|
|
<!DOCTYPE html>
|
2016-08-17 10:48:31 +00:00
|
|
|
|
2016-07-29 09:56:03 +00:00
|
|
|
<head>
|
2016-08-16 10:51:06 +00:00
|
|
|
<title>Chat</title>
|
2016-08-17 10:48:31 +00:00
|
|
|
<meta charset="UTF-8" />
|
2016-07-29 09:56:03 +00:00
|
|
|
<script src="js/jquery-3.1.0.js"></script>
|
2016-08-10 12:05:30 +00:00
|
|
|
<script src="js/moment-with-locales.js" charset="UTF-8"></script>
|
2016-07-29 09:56:03 +00:00
|
|
|
<script src="js/utils.js"></script>
|
2016-08-11 10:28:36 +00:00
|
|
|
<script src="js/sendmessage.js"></script>
|
|
|
|
<script src="js/receivemessage.js"></script>
|
2016-07-29 09:56:03 +00:00
|
|
|
<script src="js/login.js"></script>
|
|
|
|
<script src="js/register.js"></script>
|
2016-08-17 10:48:31 +00:00
|
|
|
<link rel="stylesheet" href="css/style.css" />
|
2016-08-05 11:39:31 +00:00
|
|
|
<script src="js/index.js"></script>
|
2016-08-17 12:31:29 +00:00
|
|
|
<script src="js/conversations.js"></script>
|
2016-08-18 20:35:23 +00:00
|
|
|
<script src="js/users.js"></script>
|
2016-07-29 09:56:03 +00:00
|
|
|
</head>
|
2016-08-17 10:48:31 +00:00
|
|
|
|
2016-07-29 09:56:03 +00:00
|
|
|
<body>
|
2016-08-17 10:48:31 +00:00
|
|
|
<div id="errormsg">
|
2016-07-29 09:56:03 +00:00
|
|
|
</div>
|
2016-08-18 20:35:23 +00:00
|
|
|
<div id="sidebarl">
|
|
|
|
<div id="conversations">
|
2016-08-17 12:31:29 +00:00
|
|
|
</div>
|
2016-07-29 09:56:03 +00:00
|
|
|
</div>
|
2016-08-18 20:35:23 +00:00
|
|
|
<div id="sidebarr">
|
2016-08-17 10:48:31 +00:00
|
|
|
<div id="userbox">
|
|
|
|
<p>Logged in as
|
|
|
|
<username/>
|
|
|
|
</p>
|
|
|
|
<a href="/logout">Logout</a>
|
|
|
|
</div>
|
2016-08-18 20:35:23 +00:00
|
|
|
<div id="usersinconv">
|
|
|
|
</div>
|
2016-07-29 09:56:03 +00:00
|
|
|
</div>
|
2016-08-17 10:48:31 +00:00
|
|
|
<div id="loginregisterbox">
|
|
|
|
<div id="loginbox">
|
|
|
|
<h2>Login</h2>
|
|
|
|
<form>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td>E-mail:</td>
|
|
|
|
<td>
|
|
|
|
<input type="email" name="email">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Password:</td>
|
|
|
|
<td>
|
|
|
|
<input type="password" name="pass">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<input type="button" value="Login" onclick="login(this.form)">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div id="registerbox">
|
|
|
|
<h2>Register</h2>
|
|
|
|
<form name="form">
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td>Name:</td>
|
|
|
|
<td>
|
|
|
|
<input type="text" name="name" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>E-mail:</td>
|
|
|
|
<td>
|
|
|
|
<input type="email" name="email" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Password</td>
|
|
|
|
<td>
|
|
|
|
<input type="password" name="pass" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Password confirm</td>
|
|
|
|
<td>
|
|
|
|
<input type="password" name="pass2" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<input type="button" value="Register" onclick="register(this.form)" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="usercontent">
|
|
|
|
<div id="channelmessages"></div>
|
|
|
|
<textarea id="msginput" autofocus="autofocus"></textarea>
|
|
|
|
</div>
|
2016-08-18 20:35:23 +00:00
|
|
|
<div id="hoverdialogcont">
|
|
|
|
<div id="hoverdialogmid">
|
|
|
|
<div id="hoverdialog">
|
|
|
|
<p>Loading...</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-08-17 10:48:31 +00:00
|
|
|
</body>
|