-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
112 lines (92 loc) · 4.12 KB
/
index.html
File metadata and controls
112 lines (92 loc) · 4.12 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="style-ipad.css" />
<title>Pixel Draw</title>
</head>
<body id="thebody">
<div id="app-wrap">
<header id="header" class="hide">
<h1>Pixel Draw</h1>
</header>
<nav id="nav" class="closed hide">
<ul class="buttons">
<li id="gridlines" class="hide dev">Grid</li>
<li id="square" class="hide dev">Square</li>
<li id="new">New</li>
<li id="load">Load</li>
<li id="save">Save</li>
<li id="lightsout"></li>
<li id="info">Hi</li>
<li class="plain pos-rel control-gridsize">
<input type="range" id="size" value="13" min="3" max="15" />
<span id="label-gridsize"></span>
</li>
</ul>
</nav>
<div id="busy" class="hide">
<table>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
<div id="loadbox" class="load box closed scroll hide">
<ol id="saved"></ol>
</div>
<div id="aboutbox" class="fullbox box closed scroll hide">
<ul>
<li class="huge mtop">Pixel Draw</li>
<li>by Dave Rau</li>
<li class="mtop">Inspired by mosaic tile artwork throughout history and 8-bit graphics from Atari and Nintendo, Pixel Draw is a tiny little app for pushing pixels.</li>
<li class="mtop2" id="getsupport"><span class="link blue">Get Support Online</span></li>
<li class="mtop2" id="pixelblog"><span class="link blue">Visit the Pixel Blog</span></li>
<li class="mtop2" id="pixelgallery"><span class="link blue">View the Web Gallery</span></li>
<li class="mtop2 tiny">v1.2</li>
</ul>
</div>
<div class="workspace" id="workspace">
<div id="colorbox" class="box closed hide">
<ol id="swatches" class="group">
</ol>
<p>Saturation <input type="range" id="s" value="40" max="50" /></p>
<p>Lightness <input type="range" id="l" value="35" max="50" /></p>
<p><button id="color-random">Random</button></p>
</div>
<table id="paper" class="gridlines"></table>
<div id="tools" class="hide">
<ul id="picker" style="background-color: #32328F">
<li id="swatch13" data-type="swatch" style="background-color: #ffffff"></li>
<li id="swatch16" data-type="swatch" style="background-color: #000000"></li>
<li id="swatch1" data-type="swatch" style="background-color: #F24B4B"></li>
<li id="swatch2" data-type="swatch" style="background-color: #C82525"></li>
<li id="swatch12" data-type="swatch" style="background-color: #912A8E"></li>
<li id="swatch11" data-type="swatch" style="background-color: #4DAAC0"></li>
<li id="swatch3" data-type="swatch" style="background-color: #2F67BC"></li>
<li id="swatch4" data-type="swatch" style="background-color: #32328F"></li>
<li id="swatch10" data-type="swatch" style="background-color: #625DA6"></li>
<li id="swatch5" data-type="swatch" style="background-color: #7fd33d"></li>
<li id="swatch6" data-type="swatch" style="background-color: #397930"></li>
<li id="swatch7" data-type="swatch" style="background-color: #F0F075"></li>
<li id="swatch8" data-type="swatch" style="background-color: #F0D875"></li>
<li id="swatch9" data-type="swatch" style="background-color: #EB972D"></li>
<li id="swatch14" data-type="swatch" style="background-color: #eeeeee"></li>
<li id="swatch15" data-type="swatch" style="background-color: #333333"></li>
<li id="swatchplus" data-type="plus"></li>
</ul>
</div><!-- tools -->
</div><!-- workspace -->
</div><!-- app-wrap -->
<canvas id="savespot"></canvas>
<script type="text/javascript" src="js/localforage.min.js"></script>
<script type="text/javascript" src="app.js"></script>
</body>
</html>