-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
238 lines (213 loc) · 4.43 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
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="icon" type="image/x-icon" href="assets/favicon.gif" />
<link rel="stylesheet" href="style.css" />
<title>Denpa Designer</title>
<script type="text/javascript" src="js/page.js"></script>
</head>
<body>
<h1><img src="assets/logo.png" alt="The Denpa Men Designer"/></h1>
<div id="setbut"></div>
<div class="hcont">
<form action="php/main.php" target="output">
<fieldset class="settings" id="settings">
<legend>Settings</legend>
<label for="mode">Output</label>
<br />
<p>
This defines what the data encoded in the QRCode should be like.
<br />
Most homebrew applications will have a easier time using JSON.
<br />
The official games use Binary.
</p>
<br />
<input type="radio" name="mode" id="modebin" value="game" checked="true" />
<label for="modebin">Binary</label>
<input type="radio" name="mode" id="modetext" value="text"/>
<label for="modetext">JSON</label>
<hr />
<noscript>
<p>You don't have javascript enabled. Only PHP Mode is available.</p>
<hr />
</noscript>
<div id="opsel"></div>
<br /><br />
<input class="button" type="submit" value="Generate"/>
</fieldset>
<fieldset class="denpa">
<legend>Denpa Man</legend>
<table>
<tr>
<td>
<input type="text" name="name" value="Takeshi"/>
</td>
<td class="level">
<label>Lv. 1</label>
</td>
</tr>
<tr>
<td>
<label>Max HP</label>
</td>
<td>
<input type="number" id="hp" name="hp" />
</td>
</tr>
<tr>
<td>
<label>Max AP</label>
</td>
<td>
<input type="number" id="ap" name="ap" />
</td>
</tr>
<tr>
<td>
<label>Attack</label>
</td>
<td>
<input type="number" id="atk" name="atk" />
</td>
</tr>
<tr>
<td>
<label>Defense</label>
</td>
<td>
<input type="number" id="def" name="def" />
</td>
</tr>
<tr>
<td>
<label>Speed</label>
</td>
<td>
<input type="number" id="spd" name="spd" />
</td>
</tr>
<tr>
<td>
<label>Evade</label>
</td>
<td>
<input type="number" id="eva" name="eva" />
</td>
</tr>
<tr class="center">
<td colspan="2">
<select name="color">
<option value="0">Black</option>
</select>
</td>
</tr>
<tr class="center">
<td colspan="2">
<select name="antenna">
<option value="0">None</option>
</select>
</td>
</tr>
<tr class="center">
<td colspan="2">
<label>Found Today</label>
</td>
</tr>
</table>
</fieldset>
<fieldset class="cosmetic" id="cosmetic">
<legend>Cosmetic Parameters</legend>
<table>
<tr>
<td>
<label>Eyes</label>
</td>
<td>
<select name="eyes">
<option value="0">Dots</option>
</select>
</td>
</tr>
<tr>
<td>
<label>Eyebrows</label>
</td>
<td>
<select name="brows">
<option value="0">None</option>
</select>
</td>
</tr>
<tr>
<td>
<label>Nose</label>
</td>
<td>
<select name="brows">
<option value="0">Big</option>
</select>
</td>
</tr>
<tr>
<td>
<label>Cheeks</label>
</td>
<td>
<select name="cheeks">
<option value="0">None</option>
</select>
</td>
</tr>
<tr>
<td>
<label>Mask</label>
</td>
<td>
<select name="mask">
<option value="0">None</option>
</select>
</td>
</tr>
<tr>
<td>
<label>Hair</label>
</td>
<td>
<select name="hair">
<option value="0">None</option>
</select>
</td>
</tr>
<tr>
<td>
<label>Hair Color</label>
</td>
<td>
<select name="hair">
<option value="0">Black</option>
</select>
</td>
</tr>
<tr>
<td>
<label>Head Shape</label>
</td>
<td>
<select name="head">
<option value="0">Round</option>
</select>
</td>
</tr>
</table>
</fieldset>
</form>
<div class="vcont">
<label for="preview">Your Denpa Man</label>
<canvas id="preview" name="preview"/>
<label for="data">Encoded Data</label>
<textarea id="data" name="data" cols="50" rows="10"/>
</div>
</div>
</body>
</html>