mw-ui/resources/templates/home.html
2014-07-02 21:54:35 +01:00

21 lines
696 B
HTML

{% extends "templates/base.html" %}
{% block content %}
<div>
<h1>{{title}}</h1>
<form action="world">
<p class="widget">
<label for="y">Size of your world: rows</label>
<input name="y" type="range" min="5" max="100" value="{{y}}" required/>
</p>
<p class="widget">
<label for="y">Size of your world: columns</label>
<input name="x" type="range" min="5" max="100" value="{{x}}" required/>
</p>
<p class="widget">
<label for="submit">&nbsp;</label>
<input name="submit" id="submit" type="submit" value="Go!"/>
</p>
</form>
</div>
{% endblock %}