33 lines
1.4 KiB
HTML
33 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Labyrinth Generator</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<div class="content">
|
|
<h1>Labyrinth Generator</h1>
|
|
<p>Enter some values, click the "Create!" button and see what happens!</p>
|
|
<form action="/create" method="get">
|
|
<div class="inputs-wrapper">
|
|
<label for="width">Width:</label><input id="width" name="width" type="number" min="1" required>
|
|
<label for="height">Height:</label><input id="height" name="height" type="number" min="1" required>
|
|
<label for="output">Output format:</label>
|
|
<select id="output" name="output" required>
|
|
<option label="HTML Document" value="html"></option>
|
|
<option label="Plain text" value="text"></option>
|
|
<option label="PDF Document" value="pdf"></option>
|
|
<option label="PDF Document (Download)" value="pdffile"></option>
|
|
<option label="Binary" value="binary"></option>
|
|
</select>
|
|
<label for="id">Seed (optional):</label><input id="id" name="id" type="number">
|
|
</div>
|
|
<div class="controls-wrapper">
|
|
<button type="submit" class="primary">Create!</button>
|
|
<button type="reset">Reset form</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|