2018-03-10 15:05:49 +02:00
|
|
|
{% extends "bootstrap/base.html" %}
|
|
|
|
{% import "macros.html" as macros %}
|
|
|
|
|
2018-04-22 16:10:11 +02:00
|
|
|
{% block title %}Mailu setup{% endblock %}
|
2018-04-22 16:09:07 +02:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="container">
|
|
|
|
<h1>Mailu configuration</h1>
|
|
|
|
<p>
|
|
|
|
Version
|
2020-10-05 11:26:50 +02:00
|
|
|
<select id=version_select onchange="window.location.href=this.value;" class="btn btn-primary dropdown-toggle">
|
2018-12-16 16:26:45 +02:00
|
|
|
{% for module in versions %}
|
2020-10-05 11:26:50 +02:00
|
|
|
<option value="/{{ module }}" {% if module == version %}selected {% endif %}>{{ module }}</option>
|
2018-04-22 16:09:07 +02:00
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
</p>
|
|
|
|
|
2020-10-05 11:26:50 +02:00
|
|
|
{% if version != stable_version %}
|
|
|
|
{% call macros.panel("danger", "You have not selected the stable version") %}
|
|
|
|
You have not selected the stable version. The stable version is {{ stable_version }}.
|
|
|
|
The selected version can be used for testing and reporting bugs.
|
|
|
|
For production scenarios we recommend to use the stable version.
|
|
|
|
{% endcall %}
|
|
|
|
{% endif %}
|
|
|
|
|
2018-04-22 16:09:07 +02:00
|
|
|
{% block page %}{% endblock %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<p></p>
|
|
|
|
{% endblock %}
|