Added minor changes

This commit is contained in:
Ionut Filip
2018-10-16 18:03:59 +03:00
parent e8dee22ecf
commit b9ecc0ccc6
4 changed files with 33 additions and 24 deletions

View File

@@ -3,7 +3,7 @@
<div class="form-group">
<label>Root path: </label>
<input class="form-control" type="text" name="root" placeholder="/mailu">
<input class="form-control" type="text" name="root" value="/mailu">
</div>
<div class="form-group">
@@ -11,9 +11,16 @@
<input class="form-control" type="text" name="domain" placeholder="e.g. mailu.io">
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="checkbox" name="domain_registration" value="true">
Domain registration
</label>
</div>
<div class="form-group">
<label>Postmaster local part (will append the main mail domain)</label>
<input class="form-control" type="text" name="postmaster" placeholder="default: admin">
<input class="form-control" type="text" name="postmaster" value="admin">
</div>
<div class="form-group">
@@ -28,7 +35,8 @@
<div class="form-group">
<label>Authentication rate limit (per source IP address)</label>
<input class="form-control" type="text" name="auth_ratelimit" placeholder="eg 10/minute;1000/hour">
<p><input class="form-control" style="width: 7%; display: inline;" type="text" name="auth_ratelimit_pm">/minute;
<input class="form-control" style="width: 7%; display: inline;;" type="text" name="auth_ratelimit_ph">/hour</p>
</div>
<div class="form-check form-check-inline">
@@ -40,19 +48,12 @@
<div class="form-group">
<label>Website name</label>
<input class="form-control" type="text" name="site_name" placeholder="Mailu">
<input class="form-control" type="text" name="site_name" value="Mailu">
</div>
<div class="form-group">
<label>Linked Website URL</label>
<input class="form-control" type="text" name="website" placeholder="https://mailu.io">
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="checkbox" name="domain_registration" value="true">
Domain registration
</label>
<input class="form-control" type="text" name="website" value="https://mailu.io">
</div>
{% endcall %}

View File

@@ -38,8 +38,8 @@ also disable the antivirus if required (it does use aroung 1GB of ram).</p>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="checkbox" name="antispam_enabled" value="rspamd">
Enable the filtering service
<input class="form-check-input" type="checkbox" name="antispam_enabled" value="rspamd" checked>
Enable the spam filtering service
</label>
</div>
<div class="form-check form-check-inline">
@@ -56,4 +56,11 @@ also disable the antivirus if required (it does use aroung 1GB of ram).</p>
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="checkbox" name="fetchmail_enabled" value="true">
Enable fetchmail
</label>
</div>
{% endcall %}