If you own a domain, let's say example.com, you will be able to create aliases with this domain, for
example
contact@example.com, help@example.com, etc with SimpleLogin.
diff --git a/app/dashboard/templates/dashboard/directory.html b/app/dashboard/templates/dashboard/directory.html
index 02ba129e..8f7ed8fe 100644
--- a/app/dashboard/templates/dashboard/directory.html
+++ b/app/dashboard/templates/dashboard/directory.html
@@ -8,7 +8,13 @@
{% block default_content %}
Directory allows you to create aliases on the fly.
1️⃣ Pick a name for your directory, says my_dir
- 2️⃣ Quickly use one of the following formats to create an alias on-the-fly without creating this alias beforehand
+ 2️⃣ Quickly use one of the following formats to create an alias on-the-fly without creating this alias
+ beforehand
A mailbox is just another personal email address. When creating a new alias, you could choose the
mailbox that owns this alias, i.e:
- all emails sent to this alias will be forwarded to this mailbox
From 625def2367c1f6b566e2a11cbea441e72b74d485 Mon Sep 17 00:00:00 2001
From: Son NK <>
Date: Sun, 3 May 2020 10:48:21 +0200
Subject: [PATCH 3/3] use 2-column layout for api key, domain, directory,
mailbox
---
.../templates/dashboard/api_key.html | 82 ++++++------
.../templates/dashboard/custom_domain.html | 47 +++----
.../templates/dashboard/directory.html | 71 +++++-----
.../templates/dashboard/mailbox.html | 123 +++++++++---------
4 files changed, 165 insertions(+), 158 deletions(-)
diff --git a/app/dashboard/templates/dashboard/api_key.html b/app/dashboard/templates/dashboard/api_key.html
index f16e22e9..c9a03995 100644
--- a/app/dashboard/templates/dashboard/api_key.html
+++ b/app/dashboard/templates/dashboard/api_key.html
@@ -37,66 +37,68 @@
- {% for api_key in api_keys %}
-
-
-
{{ api_key.name }}
-
- {% if api_key.last_used %}
- Last used: {{ api_key.last_used | dt }}
- Used: {{ api_key.times }} times.
- {% else %}
- Never used
- {% endif %}
-
+
+ {% for api_key in api_keys %}
+
+
+
+
{{ api_key.name }}
+
+ {% if api_key.last_used %}
+ Last used: {{ api_key.last_used | dt }}
+ Used: {{ api_key.times }} times.
+ {% else %}
+ Never used
+ {% endif %}
+
-
-
-
+
+
+
-
-
+
+
-
+
-
-
-
-
+
+
+
+
-
-
+
-
-
- {% endfor %}
-
-
+ {% endfor %}
+
{{ new_api_key_form.csrf_token }}
-
-
- Name of the api key, e.g. where it will be used.
+
diff --git a/app/dashboard/templates/dashboard/custom_domain.html b/app/dashboard/templates/dashboard/custom_domain.html
index a03047db..edab5c1d 100644
--- a/app/dashboard/templates/dashboard/custom_domain.html
+++ b/app/dashboard/templates/dashboard/custom_domain.html
@@ -31,42 +31,45 @@
You could also enable catch-all feature that allows you to create aliases on-the-fly.
- Directory name must be at least 3 characters.
- Only lowercase letter, number, dash (-), underscore (_) can be used.
-
+
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 letter, number, dash (-), underscore (_) can be used.
+
+
@@ -117,7 +118,7 @@
let that = $(this);
let message = `All aliases associated with ${directory} directory will also be deleted, ` +
- " please confirm.";
+ " please confirm.";
bootbox.confirm({
message: message,
diff --git a/app/dashboard/templates/dashboard/mailbox.html b/app/dashboard/templates/dashboard/mailbox.html
index 99075f25..4abb7873 100644
--- a/app/dashboard/templates/dashboard/mailbox.html
+++ b/app/dashboard/templates/dashboard/mailbox.html
@@ -34,88 +34,89 @@
if you want to create aliases for your buddy.
+ A verification email will be sent to this email address.
+
+
Create
@@ -131,7 +132,7 @@
let that = $(this);
let message = `All aliases owned by this mailbox ${mailbox} will be also deleted, ` +
- " please confirm.";
+ " please confirm.";
bootbox.confirm({
message: message,