21 lines
No EOL
833 B
HTML
21 lines
No EOL
833 B
HTML
{{template "partials/base-top" .}}
|
|
|
|
<form action="/generate" method="post" enctype="multipart/form-data">
|
|
<div class="form-content">
|
|
<label for="file">File:</label>
|
|
<div>
|
|
<input type="file" name="file" id="file">
|
|
<p class="maxfilesize">Max filesize: {{ .MaxFileSize }}</p>
|
|
</div>
|
|
<label for="rendertype">Rendertype:</label>
|
|
<div class="radio-container" id="rendertype">
|
|
<label for="hilbertcurve">Hilbert Curve</label>
|
|
<input type="radio" name="rendertype" id="hilbertcurve" value="hilbertcurve" checked>
|
|
<label for="snake">Snake</label>
|
|
<input type="radio" name="rendertype" id="snake" value="snake">
|
|
</div>
|
|
</div>
|
|
<button type="submit">Generate</button>
|
|
</form>
|
|
|
|
{{template "partials/base-bottom" .}} |