-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (65 loc) · 2.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles/style.css">
<script type="text/javascript" src="scripts/GameOfLife.js"></script>
<title>Game Of Life</title>
</head>
<body>
<nav id="side">
<h1>Game Of Life</h1>
<p>
The rules and operations are detailed <a href="./README.md">here</a>.
</p>
<div id="inputs">
<form method="dialog" id="form">
<table>
<thead>
<tr>
<th>Property</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Iteration number</td>
<td>
<input form="form" type="number" name="iterationNumber" min="1" value="50" max="10000" />
</td>
</tr>
<tr>
<td>Wait time</td>
<td>
<input form="form" type="number" name="waitTime" min="1" value="50" max="10000" />
</td>
</tr>
<tr>
<td>Default box color</td>
<td>
<input form="form" type="color" name="boxColor" value="#ffffff" oninput="handleClick(this)">
</td>
</tr>
<tr>
<td>Checked box color</td>
<td>
<input form="form" type="color" name="checkedBoxColor" value="#ff0000" oninput="handleClick(this)">
</td>
</tr>
</tbody>
</table>
<input form="form" type="submit" id="run" value="Run" />
<input form="form" type="button" id="reset" value="Reset" class="hide" disabled />
<input form="form" type="button" id="exportConf" value="Export" />
<input form="form" type="file" id="importConf" value="Import" />
</form>
</div>
</nav>
<main>
<div class="wrapper"></div>
</main>
<script type="text/javascript" async defer src="scripts/script.js"></script>
</body>
</html>