From 512ade83b49854f48d09a07dab391b005b7e04a6 Mon Sep 17 00:00:00 2001 From: Son Nguyen Kim Date: Fri, 17 Sep 2021 11:38:07 +0200 Subject: [PATCH] improve wording & styling on custom domain info page --- .../dashboard/domain_detail/base.html | 2 +- .../dashboard/domain_detail/info.html | 54 +++++++++---------- static/style.css | 6 ++- 3 files changed, 32 insertions(+), 30 deletions(-) diff --git a/app/dashboard/templates/dashboard/domain_detail/base.html b/app/dashboard/templates/dashboard/domain_detail/base.html index a2cd6cc7..4e9112bd 100644 --- a/app/dashboard/templates/dashboard/domain_detail/base.html +++ b/app/dashboard/templates/dashboard/domain_detail/base.html @@ -26,7 +26,7 @@
-
+
{% block domain_detail_content %} {% endblock %}
diff --git a/app/dashboard/templates/dashboard/domain_detail/info.html b/app/dashboard/templates/dashboard/domain_detail/info.html index cc3b7a57..ba70d6db 100644 --- a/app/dashboard/templates/dashboard/domain_detail/info.html +++ b/app/dashboard/templates/dashboard/domain_detail/info.html @@ -7,24 +7,23 @@ {% endblock %} {% block domain_detail_content %} -

{{ custom_domain.domain }}

+

{{ custom_domain.domain }}

-
Created {{ custom_domain.created_at | dt }}
- - {{ nb_alias }} aliases +
Created {{ custom_domain.created_at | dt }}. {{ nb_alias }} aliases

-
Catch All
-
- This feature allows you to create aliases on the fly. +

Catch All

+
+ Create aliases on the fly. + Simply use anything@{{ custom_domain.domain }} - next time you need an email address.
- The alias will be created the first time it receives an email - and automatically belong to {{ custom_domain.domain }} mailboxes ( + next time you need an alias: it'll be automatically + created the first time it receives an email.
+ The new alias will belong to {% for mailbox in custom_domain.mailboxes %} {{ mailbox.email }} {% if not loop.last %},{% endif %} - {% endfor %}) + {% endfor %}
@@ -47,33 +46,32 @@

-
Default Alias Name
-
- This name will be used as the default alias name when you send - or reply from an alias, unless overwritten by the alias specific name. +

Default Display Name

+
+ Default display name for aliases created with {{ custom_domain.domain }} + unless overwritten by the alias display name.
-
+
- + placeholder="Alias Display Name">
- + {% if custom_domain.name %} - + {% endif %}

-
Random Prefix Generation
-
- A random prefix can be generated for this domain for usage in the New Alias - feature. +

Random Prefix Generation

+
+ Add a random prefix for this domain when creating a new alias.
@@ -96,14 +94,14 @@

-

Delete Domain

-
Please note that this operation is irreversible. - All aliases associated with this domain will be also deleted. +

Delete Domain

+
This operation is irreversible. + All aliases associated with this domain will be deleted.
- Delete domain + Delete domain
{% endblock %} diff --git a/static/style.css b/static/style.css index d8f0c233..18ba81da 100644 --- a/static/style.css +++ b/static/style.css @@ -165,4 +165,8 @@ textarea.parsley-error { .parsley-errors-list.filled { opacity: 1; } -/* END Parsley CSS */ \ No newline at end of file +/* END Parsley CSS */ + +.domain_detail_content { + font-size: 15px; +} \ No newline at end of file