Factor some generic bits in the base template

This commit is contained in:
kaiyou
2018-04-22 16:09:07 +02:00
parent dd8b0dba54
commit f70acfe893
2 changed files with 21 additions and 6 deletions

View File

@@ -2,3 +2,21 @@
{% import "macros.html" as macros %}
{% block title %}Mailu configuration{% endblock %}
{% block content %}
<div class="container">
<h1>Mailu configuration</h1>
<p>
Version
<select onchange="window.location.href=this.value;">
{% for available in versions %}
<option value="{{ url_for('{}.wizard'.format(available)) }}" {% if available == version %}selected{% endif %}>{{ available }}</option>
{% endfor %}
</select>
</p>
{% block page %}{% endblock %}
</div>
<p></p>
{% endblock %}