forked from christianp/wordsearch-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (47 loc) · 1.33 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Wordsearch generator</title>
<link rel="stylesheet" href="css/style.css" type="text/css" />
</head>
<body>
<p class="control"><label>Words: <input type="text" id="words" value="abelian semigroup commutator quotient product"/></label></p>
<p class="control"><label>Grid size: <input id="gridsize" type="number" value="10"/></label></p>
<div class="control">
Directions:
<table class="control" id="directions">
<tr>
<td class="up-left">↖</td>
<td class="up-none">↑</td>
<td class="up-right">↗</td>
</tr>
<tr>
<td class="none-left">←</td>
<td></td>
<td class="none-right on">→</td>
</tr>
<tr>
<td class="down-left">↙</td>
<td class="down-none on">↓</td>
<td class="down-right on">↘</td>
</tr>
</table>
</div>
<button class="control" id="reroll">Try again</button>
<button class="control" id="print">Print</button>
<div id="output">
<table id="wordsearch"></table>
<p class="explanation control">(You can click on a letter to change it)</p>
<div class="control">
LaTeX:
<pre id="tex"></pre>
HTML:
<pre id="html"></pre>
</div>
</div>
<p id="error"></p>
<script src='js/jquery.js'></script>
<script src="js/index.js"></script>
</body>
</html>