forked from blinry/linux-puzzles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (80 loc) · 3.14 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<script src="lib/libv86.js"></script>
<link href="reset.css" rel="stylesheet" />
<link href="styles.css" rel="stylesheet" />
<script src="script.js" defer></script>
<title>Linux Puzzles</title>
<link
rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🐧</text></svg>"
/>
</head>
<body>
<div id="content">
<h1><a href="/">Linux Puzzles</a> 🐧</h1>
<div id="subtitle">
a prototype by
<a href="https://blinry.org" target="_blank">blinry</a>
</div>
<div id="title_container">
<button id="prev"><</button>
<h2 id="title"></h2>
<button id="next">></button>
</div>
<div id="description">Booting Linux...</div>
<input id="flag" /> <button id="submit">Submit solution</button>
<br /><br />
<hr />
<br />
<span id="make-own">Customize this level!</span>
–
<a href="https://github.com/blinry/linux-puzzles" target="_blank"
>Source code on GitHub</a
>
</div>
<div>
<div id="screen_container">
<div id="screen"></div>
<canvas style="display: none"></canvas>
</div>
<div id="buttons">
<input id="save_restore" type="button" value="Save state" />
<input
id="save_file"
type="button"
value="Save state to file"
/>
Restore from file: <input id="restore_file" type="file" />
</div>
</div>
<div id="popup">
<div id="popup-background">
<div id="popup-close">x</div>
<form action="/" method="get">
<h3>Task description</h3>
<textarea name="task" id="level_task"></textarea>
<h3>
Script that outputs solution (leave blank to
auto-generate)
</h3>
<textarea name="solution" id="level_solution"></textarea>
<h3>Setup script (FLAG is expanded to solution)</h3>
<textarea name="setup" id="level_setup"></textarea>
<h3>Useful commands (will be linked to manpages)</h3>
<textarea name="tools" id="level_tools"></textarea>
<h3>Useful searches (will be linked to Google)</h3>
<textarea name="searches" id="level_searches"></textarea>
<br />
<input
type="submit"
value="Create level! (Shareable URL)"
/>
<input type="button" value="Clear fields" id="clear" />
</form>
</div>
</div>
</body>
</html>