-
Notifications
You must be signed in to change notification settings - Fork 0
/
chipicongen.html
92 lines (71 loc) · 3.99 KB
/
chipicongen.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="chip_logo.jpg">
<title>Chip icon generator</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<canvas id="canvas"></canvas>
<table>
<tr>
<th class="side">
<div id="settings" style="display: block">
<a id="Pin_ammount">Pin ammount:</a>
<input id="pinAmmount_number" type="number" value="8" step="2" onchange="SetPinNumber(); drawicon();"></input>
<br/>
<input id="download" type="button" value="Download" onclick="download();">
</div>
</th>
<th id="middle">
<div id="iconcontainer">
<div id="chipicon">
<div id="case">
<div id="leftboxtext">
<input type="text" class="a" id="text1" onchange="drawtext(1);">
<input type="text" class="a" id="text2" onchange="drawtext(2);">
<input type="text" class="a" id="text3" onchange="drawtext(3);">
<input type="text" class="a" id="text4" onchange="drawtext(4);">
</div>
<div id="leftbox">
<div class="pinLeft"></div>
<div class="pinLeft"></div>
<div class="pinLeft"></div>
<div class="pinLeft"></div>
</div>
<div id="leftboxnumbers">
<input type="button" value="1" onclick="ul(1);">
<input type="button" value="2" onclick="ul(2);">
<input type="button" value="3" onclick="ul(3);">
<input type="button" value="4" onclick="ul(4);">
</div>
<div id="notch"></div>
<div id="rightbox">
<div class="pinRight"></div>
<div class="pinRight"></div>
<div class="pinRight"></div>
<div class="pinRight"></div>
</div>
<div id="rightboxtext">
<input type="text" class="a" id="text8" onchange="drawtext(8);">
<input type="text" class="a" id="text7" onchange="drawtext(7);">
<input type="text" class="a" id="text6" onchange="drawtext(6);">
<input type="text" class="a" id="text5" onchange="drawtext(5);">
</div>
<div id="rightboxnumbers">
<input type="button" value="8" onclick="ul(8);">
<input type="button" value="7" onclick="ul(7);">
<input type="button" value="6" onclick="ul(6);">
<input type="button" value="5" onclick="ul(5);">
</div>
</div>
</div>
</div>
</th>
<th class="side"></th>
</tr>
</table>
</body>
</html>
<script src="script.js"></script>