Added functionality for stack flavor

This commit is contained in:
Ionut Filip
2018-10-18 17:23:25 +03:00
parent 39a1de956f
commit 35193f5530
13 changed files with 178 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
{% call macros.panel("info", "Step 2 - Initial configuration") %}
<p>Before starting some variables must be st</p>
<p>Before starting some variables must be set</p>
<div class="form-group">
<label>Root path: </label>
@@ -29,7 +29,7 @@
<div class="form-group">
<label>Choose how secure connections will behave </label>
<br/>
<select name="tls_flavor">
<select class="btn btn-primary dropdown-toggle" name="tls_flavor">
{% for tlsflavor in ["letsencrypt", "cert", "notls", "mail", "mail-letsencrypt"] %}
<option value="{{ tlsflavor }}" >{{ tlsflavor }}</option>
{% endfor %}

View File

@@ -26,7 +26,7 @@ accessing messages for beginner users.</p>
<!-- {{ macros.radio("webmail_type", "rainloop", "Rainloop", "lightweight Webmail based on PHP, no database") }} -->
<!-- </div> -->
<br/>
<select name="webmail_type">
<select class="btn btn-primary dropdown-toggle" name="webmail_type">
{% for webmailtype in ["none", "roundcube", "rainloop"] %}
<option value="{{ webmailtype }}" >{{ webmailtype }}</option>
{% endfor %}

View File

@@ -1,16 +0,0 @@
{% call macros.panel("info", "Step 4 - enable optional features") %}
<p>Mailu also comes with less common optional features that you might wish
to enable.</p>
<p>The DAV service enables contacts and calendar storage through Mailu,
it is especially userful when synchronizing your desktop and mobile devices.</p>
<div class="form-group">
<label>Enable the DAV service (and path to the DAV service)</label>
<div class="input-group">
<div class="input-group-addon"><input type="checkbox" name="dav_enabled" checked></div>
<input class="form-control" type="text" name="admin_path" value="/webdav">
</div>
</div>
{% endcall %}