-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.php
195 lines (187 loc) · 7.43 KB
/
index.php
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<!DOCTYPE html>
<html manifest="cache.manifest">
<head>
<meta charset="UTF-8" />
<title>DrawPad</title>
<base href="http://app.drawpad.net/" />
<script>
// Check for updates to the offline cache
window.applicationCache.addEventListener('updateready',function(){
// Reload to use the updated cache
window.location = window.location;
},false);
</script>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="apple-touch-icon-precomposed" href="images/icon_57.png" />
<link rel="apple-touch-icon-precomposed" href="images/icon_72.png" sizes="72x72" />
<link rel="apple-touch-icon-precomposed" href="images/icon_114.png" sizes="114x114" />
<link rel="stylesheet" href="css/style.min.1294013044.css" />
<script src="js/production/browsercheck.min.1293642061.js"></script>
</head>
<body id="mode_home">
<div id="preload">
<img src="images/icons.png" alt="" />
<img src="images/slider_icons.png" alt="" />
<img src="images/colorspace.png" alt="" />
<img src="images/spectrum.png" alt="" />
<img src="images/spectrum-handle.png" alt="" />
</div>
<header id="app_header" class="toolbar">
<div class="toolbar_wrapper">
<div id="header_home">
<button type="button" class="edit hidden">Edit</button>
<h1>DrawPad</h1>
<button type="button" class="login">Log in</button>
</div>
<div id="header_draw">
<div id="color" class="colorbox"></div>
<div id="swatches">
<div class="colorbox"></div>
<div class="colorbox"></div>
<div class="colorbox"></div>
<div class="colorbox"></div>
<div class="colorbox"></div>
<div class="colorbox"></div>
</div>
<div id="colorpicker" class="colorpicker">
<p class="message">All the swatches are filled. Choose one to replace.</p>
<div class="colorspace">
<div class="marker"></div>
<img src="images/colorspace.png" alt="" />
</div>
<div class="spectrum slider">
<div class="slider-bg">
<div class="marker slider-handle"></div>
</div>
</div>
<div class="buttons">
<button type="button" class="add-swatch">Add Swatch</button>
</div>
</div>
</div>
</div>
</header>
<section id="app_content">
<div id="home">
<div class="home_content">
<form action="index.html" method="post" class="login_box">
<fieldset>
<label for="email">E-mail</label><br />
<input type="email" name="email" id="email" />
<br />
<label for="password">Password</label><br />
<input type="password" name="password" id="password" /><br />
<button type="submit">Log in</button>
</fieldset>
</form>
<div class="grid">
<div class="image new active"><b>+</b><br />New Image</div>
<div class="image"></div>
<div class="image"></div>
<div class="image"></div>
<div class="image"></div>
<div class="image"></div>
<div class="image"></div>
<div class="image"></div>
<div class="image"></div>
<div class="image"></div>
<div class="image"></div>
<div class="image"></div>
</div>
</div>
</div>
<div id="draw">
<div class="toolbar_wrapper">
<div class="tooltips">
<p class="color tip_up">Choose color</p>
<p class="swatches tip_up">Easily switch between colors with swatches.<br /> Add swatches from the color picker.</p>
<p class="size tip_down">Brush size</p>
<p class="opacity tip_down">Brush opacity</p>
<p class="info info_desktop">Right click on canvas<br />to hide the toolbars<br /><small>(click to hide tooltips)</small></p>
<p class="info info_android">Hiding the toolbars is<br />not available on Android<br /><small>(tap to hide tooltips)</small></p>
<p class="info info_ios">Tap with two fingers<br />to hide the toolbars<br /><small>(tap to hide tooltips)</small></p>
</div>
</div>
<div class="message"></div>
<div class="brush_size"></div>
<canvas id="stage" width="320" height="480"></canvas>
</div>
</section>
<footer id="app_footer" class="toolbar">
<div id="footer_home"></div>
<div id="footer_draw">
<div class="toolbar_wrapper">
<div id="size" class="slider">
<div class="slider-bg">
<div class="slider-handle"></div>
</div>
</div>
<div id="opacity" class="slider">
<div class="slider-bg">
<div class="slider-handle"></div>
</div>
</div>
</div>
<div class="buttons">
<div class="toolbar_wrapper">
<button type="button" class="home"><span></span>Home</button>
<button type="button" class="undo disabled"><span></span>Undo</button>
<button type="button" class="redo disabled"><span></span>Redo</button>
<button type="button" class="save"><span></span>Save</button>
</div>
</div>
<div class="save_box">
<div class="toolbar_wrapper save_choices">
<h2>Browser storage</h2>
<p>The image is stored in the browser's own local storage, and will only be available from this browser.</p>
<h2>Cloud storage</h2>
<p>The image is stored on the app server, and will be available with a password from any browser.</p>
<button type="button" class="save_local">Save to browser storage</button>
<button type="button" class="save_cloud">Save to cloud storage</button>
<button type="button" class="save_cancel">Cancel</button>
</div>
<div class="toolbar_wrapper cloud_info">
<h2>Cloud storage</h2>
<p>To be able to save to the app server, you need an account. It's free and easy to set up.</p>
<button type="button" class="register_button">Register new account</button>
<button type="button" class="login_button">Log in with existing account</button>
<button type="button" class="back_button">Back</button>
</div>
<div class="toolbar_wrapper cloud_register">
<h2>Register for cloud storage</h2>
<p>To be able to save to the app server, you need an account. It's free and easy to set up.</p>
<form>
<fieldset>
<label for="reg_email">E-mail</label><br />
<input type="email" name="email" id="reg_email" placeholder="example@domain.com" /><br />
<label for="reg_password_1">Password</label><br />
<input type="password" name="password_1" id="reg_password_1" placeholder="Minimum 6 characters" /><br />
<label for="reg_password_2">Password again</label><br />
<input type="password" name="password_2" id="reg_password_2" placeholder="Same password as above" /><br />
<button type="button" class="back_button">Back</button>
<button type="button" class="register_button">Register and save</button>
</fieldset>
</form>
</div>
<div class="toolbar_wrapper cloud_login">
<h2>Log in to cloud storage</h2>
<p>To be able to save to the app server, you need an account. Log in to it here.</p>
<form>
<fieldset>
<label for="login_email">E-mail</label><br />
<input type="email" name="email" id="login_email" /><br />
<label for="login_password">Password</label><br />
<input type="password" name="password" id="login_password" /><br />
<button type="button" class="back_button">Back</button>
<button type="button" class="login_button">Log in and save</button>
</fieldset>
</form>
</div>
</div>
</div>
</footer>
<script src="js/production/app-combined.min.1294012932.js"></script>
</body>
</html>