Prepare setup for multi-ver deployment on docs server

This commit is contained in:
Tim Möhlmann
2018-12-16 16:26:45 +02:00
parent 3c4ee1b31e
commit 9c284c4004
8 changed files with 79 additions and 104 deletions

View File

@@ -9,8 +9,8 @@
<p>
Version
<select onchange="window.location.href=this.value;" class="btn btn-primary dropdown-toggle">
{% for available in versions %}
<option value="{{ url_for('{}.wizard'.format(available)) }}" {% if available == version %}selected{% endif %}>{{ available }}</option>
{% for module in versions %}
<option value="/{{ module }}" {% if module == version %}selected{% endif %}>{{ module }}</option>
{% endfor %}
</select>
</p>