-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (101 loc) · 3.4 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html>
<head>
<title>Hydna Paint</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="./style/master.css" type="text/css" media="screen">
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="images/icon-76x76.png">
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="images/icon-114x114.png">
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="images/icon-120x120.png">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="images/icon-144x144.png">
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="images/icon-152x152.png">
<link rel="apple-touch-icon-precomposed" href="images/icon-57x57.png">
<script>
//
// Change URL to your Hydna domain.
//
// You can sign up for a free domain at https://www.hydna.com if you
// don't have one already
//
window.APP_URL = 'simple-paint.hydna.net';
</script>
<!--[if lt IE 9 ]>
<script src="./script/deps/excanvas.js"></script>
<style>
.offline #board {
display: none;
}
.online #board {
display: block;
opacity: 1;
}
</style>
<![endif]-->
</head>
<body>
<div id="container">
<div id="connect-indicator">
Connecting to hydna...
</div>
<div id="board">
<canvas id="canvas" width="1440" height="900"></canvas>
</div>
<div id="menu">
<a id="menu-expander" href="#">Menu</a>
<form id="controls" autocomplete="off">
<ul class="colors">
<li>
<input id="color-1" name="color" type="radio" checked="checked" value="#FF6C4F">
<label for="color-1"></label>
</li>
<li>
<input id="color-2" name="color" type="radio" value="#ACC791">
<label for="color-2"></label>
</li>
<li>
<input id="color-3" name="color" type="radio" value="#78A8CC">
<label for="color-3"></label>
</li>
<li>
<input id="color-4" name="color" type="radio" value="#87BDC4">
<label for="color-4"></label>
</li>
<li>
<input id="color-5" name="color" type="radio" value="#B37FD4">
<label for="color-5"></label>
</li>
<li>
<input id="color-6" name="color" type="radio" value="#E8A474">
<label for="color-6"></label>
</li>
<li>
<input id="color-7" name="color" type="radio" value="#C94C32">
<label for="color-7"></label>
</li>
<li>
<input id="color-8" name="color" type="radio" value="#FFFFFF">
<label for="color-8"></label>
</li>
</ul>
<div class="mark">
<div id="users-online">
0
</div>
<a href="https://www.hydna.com" title="Give us a visit">
</a>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/hydna/1.0.0/hydna.js"></script>
<script src="./script/app.js"></script>
<!--[if lt IE 9 ]>
<script src="./script/deps/excanvas.js"></script>
<script>
setTimeout(function () {
document.body.className = 'offline';
}, 1);
</script>
<![endif]-->
</body>