-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
30 lines (30 loc) · 1.42 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
<html>
<head>
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script>
<meta charset=utf-8 />
<title>palettes</title>
</head>
<body>
<p> Select desired image. </p>
<input type='file' onchange="readURL(this);"> <br> <br>
<div id = interface>
<canvas id = "origCanvas"
style="border:1px solid #000000; display: none;"> </canvas>
<canvas id = "newCanvas"
style="border:1px solid #000000; display: none;"> </canvas> <br><br>
</div>
<div id = "selections" style = "display: none;">
<canvas id = "colorSelector"
style="border:1px solid #000000; display: inline; width: 50px; height: 50px;"></canvas> <br>
<input type="radio" name = "align" id="align1" value="middle" checked> <label id = "opt1"> Middle</label>
<input type="radio" name = "align" id="align2" value="left"> <label id = "opt2"></label>
<input type="radio" name = "align" id="align3" value="right"> <label id = "opt3"></label><br>
<button id = "cButton1" onclick = "createImage(6)">6</button>
<button id = "cButton2" onclick = "createImage(7)">7</button>
<button id = "cButton3" onclick = "createImage(8)">8</button>
Number of Bars: <input id = "test" type="text" name="bars"><br>
</div>
<script src = upload.js></script>
</body>
</html>