-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
77 lines (77 loc) · 2.75 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
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="utf-8" />
<title>Canvas Team Draw</title>
<link href="https://fonts.googleapis.com/css?family=Patrick+Hand+SC" rel="stylesheet" type="text/css" />
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="css/bootstrap-responsive.css" rel="stylesheet" type="text/css" />
<link href="css/styles.css" rel="stylesheet" type="text/css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="/socket.io/socket.io.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/paint.js"></script>
</head>
<body>
<div id="container">
<div id="mainArea">
<canvas id="imageView">
<p>Unfortunately, your browser is currently unsupported by our web application. We are sorry for the inconvenience.</p>
</canvas>
</div>
<div id="bottom">
<div id="bottomWrap">
<a class="brand" href="/">Canvas Team Draw</a>
<span>Drawing tool:</span>
<select id="dtool">
<option value="pencil">Pencil</option>
<option value="eraser">Rubber</option>
</select>
<a id="clear" href="#">Clear contents</a>
<a href="./rooms">All rooms</a>
</div>
</div>
</div>
<!-- popups -->
<div class="popup">
<div id="user_joined" class="well">
<p>User <span class="user label label-info"></span> joined this room!</p>
</div>
<div id="user_cleared" class="well">
<p>User <span class="user label label-info"></span> cleared all contents!</p>
</div>
<div id="user_left" class="well">
<p>User <span class="user label label-info"></span> has left the room!</p>
</div>
<div id="user_list" class="well">
<p>Online users</p>
<p class="userlist"></p>
</div>
</div>
<div class="modal fade hide" id="startup">
<div class="modal-header">
<h3>Welcome to Canvas Team Draw!</h3>
</div>
<div class="modal-body">
<p>Welcome to Canvas Team Draw! Please choose the following options:</p>
<p>After that, you can share the link to your friends to draw together.</p>
<div class="btn btn-large" id="joinroom">Join a random room</div>
<div class="btn btn-large btn-primary" id="createroom">Create a new room</div>
</div>
<div class="modal-footer"></div>
</div>
<div class="modal fade hide" id="share">
<div class="modal-header">
<h3>Invite someone to draw!</h3>
</div>
<div class="modal-body">
<p>Invite some friends and draw together!</p>
<p>Share the link to your friends to invite them or post the link to social networks!</p>
</div>
<div class="modal-footer">
<a class="btn" data-dismiss="modal" href="#">Close</a>
</div>
</div>
</body>
</html>