-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (61 loc) · 2.2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!--@author Ramond Belmo Tanifor Tamah, Katerina Irini Geniou
@version 2.0 -->
<!DOCTYPE html>
<html>
<head>
<title>Chatroom</title>
<link rel="stylesheet" type="text/css" href="public/stylesheet.css">
</head>
<body>
<!-- Login Link Button on top -->
<div id="LoginLink">
<form id="LoginForm">
<h4 id="loginQuestion">Are you already signed in? <button class="button2" id="LoginLinkButton">Login</button></h4>
</form>
</div>
<!-- SignUp Link Button on top -->
<div id="SignUpLink">
<form id="SignupForm">
<button class="button2" id="SignupLinkButton">Back to Sign up</button>
</form>
</div>
<!-- Sign up webpage -->
<div id="usernameWrap">
<h1 id="welcomePage">Chatroom | Sign up</h1>
<!--<p id="p">Please enter a username to login:</p>-->
<form id="setUsername">
<input type="text" size="35" id="username" placeholder="username"></input>
<input type="password" size="43" id="password" placeholder="password" autocomplete="off"></input>
<input type="password" size="43" id="password2" placeholder="verify password" autocomplete="off"></input><br>
<button class="button"><span>Sign up</span></button>
</form>
</div>
<!-- Login wegpage -->
<div id="LoginWrap">
<h1 id="welcomePage"> Chatroom | Login </h1>
<form id="signUpForm">
<input type="text" size="43" id="loginusername" placeholder="username"></input>
<input type="password" size="43" id="loginpassword" placeholder="password" autocomplete="off"></input>
<button class="button"><span>Login</span></button>
</form>
</div>
<!-- Chatroom wegpage -->
<div id="contentWrap">
<h1 id="welcomePage">Welcome to the Chatroom!</h1>
<img src="public/icon.png"> <br>
<div id="chatWrap">
<div id="chat"></div>
<form id="send-message">
<input size="35" id="message"></input>
<button class="button"><span>Senden</span></button>
</form>
</div>
<div id="users"></div> <!--users on the right side-->
</div>
<!-- external ressources -->
<script src="https://code.jquery.com/jquery-latest.min.js"></script>
<!--<script src="/socket.io/socket.io.js"></script>-->
<script src="https://cdn.socket.io/socket.io-1.3.5.js"></script>
<script type="text/javascript" src="public/javascript.js"></script>
</body>
</html>