Sort of semi-working UI.

This commit is contained in:
simon 2014-07-02 21:54:35 +01:00
parent 8a9aae56e0
commit ce2a04477a
12 changed files with 407 additions and 86 deletions

View file

@ -1,14 +1,20 @@
{% extends "templates/base.html" %}
{% block content %}
<div class="jumbotron">
<h1>Welcome to mw-ui</h1>
<p>Time to start building your site!</p>
<p><a class="btn btn-primary btn-lg" href="http://luminusweb.net">Learn more &raquo;</a></p>
</div>
<div class="row-fluid">
<div class="span8">
{{content|safe}}
</div>
<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 %}