-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (55 loc) · 2.02 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Merry Christmas</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.min.js"></script>
<script src="data/blocks.js"></script>
<script src="data/top-100k-words.js"></script>
<script src="data/names.js"></script>
<script src="gui.js"></script>
<script src="solver.js"></script>
</head>
<body>
<div id="app">
<div>
<p id="message">Waiting for initialization</p>
</div>
<div id="init-container">
<input type="button" class="btn" id="init" value="Initialize system">
<br />
</div>
<div id="reinit-container" class="hidden">
<input type="button" class="btn" id="reinit" value="Re-initialize system">
<br />
</div>
<div id="byWord-container" class="hidden">
<input type="button" class="btn" id="byWord" value="Find solutions by word">
<input type="text" id="byWord-arg" value="timmy">
<br />
</div>
<div id="bySample-container" class="hidden">
<input type="button" class="btn" id="bySample" value="Find some solutions by random sample of words">
<input type="text" id="bySample-arg" value="100">
<br />
</div>
<div id="reset-container" class="hidden">
<input type="button" class="btn" id="reset" value="Reset to most recent solution search">
<br />
</div>
<div id="sampleSolutions-container" class="hidden">
<input type="button" class="btn" id="sampleSolutions" value="Sample current solutions">
<input type="text" id="sampleSolutions-arg" value="15">
<br />
</div>
<div id="filterSolutions-container" class="hidden">
<input type="button" class="btn" id="filterSolutions" value="Filter current solutions">
<input type="text" id="filterSolutions-arg" value="caesar">
</div>
</div>
<div id="results"></div>
</body>
</html>