forked from getify/wepuzzleit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnew-puzzle.html
40 lines (36 loc) · 1.18 KB
/
new-puzzle.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>We Puzzle It! (New Puzzle)</title>
<script src="load.js"></script>
<link type="text/css" rel="stylesheet" href="styles.css" />
</head>
<body>
<div id="pleasewait">Connecting...</div>
<div class="nav">
<p>
<a href="./">home</a> | <a href="puzzles.html">puzzles</a> | <a href="new-puzzle.html">new puzzle</a>
</p>
<p>
<span id="logged_in">Hello, <span id="your_name"></span>. Score: <span id="score">..</span> | <a id="logout" rel="noajax" href="./">logout</a></span>
<strong id="connection_failed" class="error">Connection Failed. Refresh to try again.</strong>
</p>
</div>
<h1>We Puzzle It!</h1>
<div id="content">
<h2>Make A New Puzzle</h2>
<p>Upload a picture to create a new puzzle.</p>
<input type="file" id="file_selector" /><br />
<div id="preview_container"></div>
<div id="preview_controls">
Difficulty: <select id="difficulty_selector">
<option value="easy" selected>easy</option>
<option value="medium">medium</option>
<option value="hard">hard</option>
</select>
<input type="button" id="upload" value="create puzzle" disabled />
</div>
</div>
</body>
</html>