-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (61 loc) · 2.39 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
<!doctype html>
<html>
<head>
<title>Palette JS</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<script language="javascript" src="js/main.js" ></script>
<script language="javascript" src="js/resources.js" ></script>
<script language="javascript" src="js/utils.js" ></script>
<script language="javascript" src="js/colorpicker/jscolor.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body style="background-color:#eee;" >
<div class="bgray" id="EditorDiv" style="overflow:auto; float:left;" >
<canvas id="mainCanvas" width="512" height="512" >
</canvas>
</div>
<div id="Options" style="overflow:auto; position:absolute;">
<h2 style="text-align:center;" > Palette JS </h2>
<p>
<b>Texture </b>
<input id="ramp" type="button" value="Generate" />
<input id="loadTexture" type="button" value="Load" />
<input style="float:right;" id="showHelp" type="button" value="Help" />
</p>
<p>
<b>Output</b>
<input id="apply" type="button" value="Apply" />
</p>
<p>
<b>Palette </b>
<input id="newPalette" class="back-blue" type="button" value="New" />
<input id="loadPalette" class="back-blue" type="button" value="Load" />
<input id="savePalette" class="back-blue" type="button" value="Save" />
<input id="generatePalette" class="back-blue" type="button" value="Generate" />
</p>
<p id="paletteContainer"></p>
<div id="colorPicker" style="display:none;">
<input id="inputPicker" class="color" value="66ff00">
</div>
</div>
<div id ="blackContainer" style="display:none; " >
<div id="help" style="background-color:#eee; display:none; position:absolute; z-index:1; overflow:auto;">
<input onclick="DisableElements(['blackContainer','help']);"; type="button" value="X" style="float:right; " />
<h2 style="text-align:center" >HELP</h2>
<h3>Controls</h3>
<div>
<ul>
<li><b></b> : </li>
<li><b></b> : </li>
</ul>
</div>
</div>
<div id="winPalette" style="background-color:#eee; display:none; position:absolute; z-index:1; overflow:auto;">
<input onclick="DisableElements(['blackContainer','winPalette']);"; type="button" value="X" style="float:right; " />
<h2 style="text-align:center" >Palettes</h2>
<div id="paletteList">
</div>
</div>
</div>
</body>
</html>