2016-07-19 09:34:42 +00:00
|
|
|
<!DOCTYPE html>
|
2016-07-20 13:02:49 +00:00
|
|
|
<head>
|
2016-07-26 10:54:06 +00:00
|
|
|
<title>ChatServer</title>
|
|
|
|
<script src="js/jquery-3.1.0.js"></script>
|
2016-07-27 10:22:04 +00:00
|
|
|
<script src="js/utils.js"></script>
|
2016-07-26 10:54:06 +00:00
|
|
|
<script src="js/message.js"></script>
|
2016-07-26 13:10:18 +00:00
|
|
|
<script src="js/login.js"></script>
|
2016-07-27 10:22:04 +00:00
|
|
|
<script src="js/register.js"></script>
|
2016-07-26 10:54:06 +00:00
|
|
|
<link rel="stylesheet" href="css/style.css"/>
|
2016-07-20 13:02:49 +00:00
|
|
|
</head>
|
2016-07-25 10:21:42 +00:00
|
|
|
<body>
|
2016-07-27 08:12:16 +00:00
|
|
|
<div id="errormsg">
|
|
|
|
</div>
|
2016-07-27 13:03:35 +00:00
|
|
|
<div id="sidebar">
|
|
|
|
<div id="userbox">
|
|
|
|
Logged in as
|
|
|
|
<username/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<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>
|
|
|
|
<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>
|
2016-07-27 10:22:04 +00:00
|
|
|
</div>
|
2016-07-27 13:03:35 +00:00
|
|
|
<div id="usercontent">
|
|
|
|
<div id="channelmessages"></div>
|
|
|
|
<textarea id="msginput"></textarea>
|
2016-07-26 10:54:06 +00:00
|
|
|
</div>
|
2016-07-25 10:21:42 +00:00
|
|
|
</body>
|