From e5b60d92515046408d206267ca19607af19349f0 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Fri, 5 Jun 2020 23:25:37 +0200 Subject: [PATCH] prettify directory page --- .../templates/dashboard/directory.html | 70 +++++++++++-------- 1 file changed, 40 insertions(+), 30 deletions(-) diff --git a/app/dashboard/templates/dashboard/directory.html b/app/dashboard/templates/dashboard/directory.html index 33881bc4..f65d618d 100644 --- a/app/dashboard/templates/dashboard/directory.html +++ b/app/dashboard/templates/dashboard/directory.html @@ -113,41 +113,51 @@ {% endfor %} -
- {{ new_dir_form.csrf_token }} - +
+
+
+
-

New Directory

+ + {{ new_dir_form.csrf_token }} + - {{ new_dir_form.name(class="form-control", placeholder="my-directory", +

New Directory

+ + {{ new_dir_form.name(class="form-control", placeholder="my-directory", pattern="[0-9a-z-_]{3,}", title="Only letter, number, dash (-), underscore (_) can be used. Directory name must be at least 3 characters.") }} - {{ render_field_errors(new_dir_form.name) }} -
- Directory name must be at least 3 characters. - Only lowercase letters, numbers, dashes (-) and underscores (_) are currently supported. + {{ render_field_errors(new_dir_form.name) }} +
+ Directory name must be at least 3 characters. + Only lowercase letters, numbers, dashes (-) and underscores (_) are currently supported. +
+ +
+ By default, aliases created with directory are "owned" by your default + mailbox {{ current_user.default_mailbox.email }}.
+ You can however choose the mailbox(es) that new alias automatically belongs to by setting this below + option. + +
+ + + + + + +
+
- -
- By default, aliases created with directory are "owned" by your default - mailbox {{ current_user.default_mailbox.email }}.
- You can however choose the mailbox(es) that new alias automatically belongs to by setting this below option. - -
- - - - - - +