-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (92 loc) · 3.61 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
<!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">
<title>Document</title>
<script src="main.js" defer></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<fieldset class="settings parent">
<legend>Settings</legend>
<fieldset>
<legend>Grid size</legend>
<form>
<label for="width">Width</label>
<input type="range" name="width" min="3" max="200">
<label for="width" class="value">50</label>
<br>
<label for="height">Height</label>
<input type="range" name="height" min="3" max="200">
<label for="height" class="value">50</label>
</form>
</fieldset>
<fieldset>
<legend>Delay</legend>
<input name="delay" type="text" value="100">
</fieldset>
<fieldset>
<legend>Setup</legend>
<input type="radio" name="setup" class="start">
<label for="setup">Starting point</label>
<br>
<input type="radio" name="setup" class="end">
<label for="setup">Ending point</label>
<br>
<input type="radio" name="setup" class="obs" checked>
<label for="setup">Obstacles <br>(Left click to add / right click to remove)</label>
<br>
</fieldset>
</fieldset>
<table></table>
<button class="control start">Start</button>
<button class="control clear">Clear obstacles</button>
<fieldset class="load parent">
<legend>Load</legend>
<fieldset>
<legend>Obstacles</legend>
<form>
<input name="loadobs" type="text" value="">
</form>
<button class="load obs">Load</button>
</fieldset>
<fieldset>
<legend>Grid Size</legend>
<form>
<input name="loadgrid" type="text" value="">
</form>
<button class="load grid">Load</button>
</fieldset>
<fieldset>
<legend>Start and End</legend>
<form>
<input name="loadstart" type="text" value="">
</form>
<button class="load start">Load</button>
</fieldset>
</fieldset>
<fieldset class="export parent">
<legend>Export</legend>
<fieldset>
<legend>Obstacles</legend>
<button class="export obs">Export</button><br>
<textarea name="exportobs" cols="30" rows="1" readonly></textarea><br>
<button class="copy obs">Copy</button>
</fieldset>
<fieldset>
<legend>Grid Size</legend>
<button class="export grid">Export</button><br>
<textarea name="exportgrid" cols="30" rows="1" readonly></textarea><br>
<button class="copy grid">Copy</button>
</fieldset>
<fieldset>
<legend>Start and End</legend>
<button class="export start">Export</button><br>
<textarea name="exportstart" cols="30" rows="1" readonly></textarea><br>
<button class="copy start">Copy</button>
</fieldset>
</fieldset>
</body>
</html>