better UI for custom alias page
This commit is contained in:
parent
6d21343748
commit
4c8c48bb23
|
@ -18,29 +18,30 @@
|
||||||
<input type="hidden" name="form-name" value="non-custom-domain-name">
|
<input type="hidden" name="form-name" value="non-custom-domain-name">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="form-label font-weight-bold">With SimpleLogin domain</label>
|
{% if custom_domains %}
|
||||||
<small class="text-muted">
|
<label class="form-label font-weight-bold">With SimpleLogin domain</label>
|
||||||
You can use letter, number or dash. Alias prefix cannot be empty.
|
{% endif %}
|
||||||
</small>
|
|
||||||
|
|
||||||
<div class="row mt-4">
|
<div class="row mt-4">
|
||||||
<div class="col">
|
<div class="col pr-1">
|
||||||
<input name="email-prefix" class="form-control" pattern="[0-9|A-Z|a-z|-]{1,}"
|
<input name="email-prefix" class="form-control" pattern="[0-9|A-Z|a-z|-]{1,}"
|
||||||
title="Only letter, number or dash can be used."
|
title="Only letter, number or dash can be used."
|
||||||
placeholder="alias prefix"
|
placeholder="alias prefix"
|
||||||
autofocus required>
|
autofocus required>
|
||||||
</div>
|
</div>
|
||||||
<div class="col align-self-center">
|
<div class="col align-self-center p-0" style="height:1.5rem">
|
||||||
<input type="hidden" name="email-suffix" value="{{ email_suffix }}">
|
<input type="hidden" name="email-suffix" value="{{ email_suffix }}">
|
||||||
<h4>
|
<h4>
|
||||||
.{{ email_suffix }}@{{ EMAIL_DOMAIN }}
|
.{{ email_suffix }}@{{ EMAIL_DOMAIN }}
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col">
|
|
||||||
<button class="btn btn-primary btn-sm">Create</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="small-text">
|
||||||
|
You can use letter, number or dash. Alias cannot be empty.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button class="btn btn-primary">Create</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue