Factor some generic bits in the base template
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user