From 0ced6bbb4fa81f0c00bacdae6641bb03046364d5 Mon Sep 17 00:00:00 2001 From: Son NK Date: Sat, 15 Feb 2020 21:22:46 +0700 Subject: [PATCH 1/4] Prettify billing page --- .../templates/dashboard/billing.html | 43 +++++++++---------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/app/dashboard/templates/dashboard/billing.html b/app/dashboard/templates/dashboard/billing.html index e33aec37..1e9a25ad 100644 --- a/app/dashboard/templates/dashboard/billing.html +++ b/app/dashboard/templates/dashboard/billing.html @@ -8,35 +8,32 @@ {% endblock %} {% block default_content %} -
-
-

Billing

+
+

Billing

+

+ You are on the {{ current_user.get_subscription().plan_name() }} plan. Thank you very much for supporting + SimpleLogin. 🙌 +

+ + {% if sub.cancelled %}

- You are on the {{ current_user.get_subscription().plan_name() }} plan. Thank you very much for supporting SimpleLogin. 🙌 + Sad to see you go 😢. Your subscription ends {{ current_user.get_subscription().next_bill_date | dt }}.

- {% if sub.cancelled %} -

- Sad to see you go 😢. Your subscription ends {{ current_user.get_subscription().next_bill_date | dt }}. -

+ {% else %} +
+ Click here to update billing information on Paddle, our payment partner:
+ Update billing information +
- {% else %} -
- Click here to update billing information on Paddle, our payment partner:
- Update billing information -
- -
- -
- Don't want to protect your inbox anymore?
- Cancel subscription 😔 -
- {% endif %} - -
+
+
+ Don't want to protect your inbox anymore?
+ Cancel subscription 😔 +
+ {% endif %}
From fd5e162d9b19db9ee1b6abdb5ac817e275ffa692 Mon Sep 17 00:00:00 2001 From: Son NK Date: Sat, 15 Feb 2020 21:37:24 +0700 Subject: [PATCH 2/4] format alias-log --- .../templates/dashboard/alias_log.html | 163 +++++++++--------- 1 file changed, 82 insertions(+), 81 deletions(-) diff --git a/app/dashboard/templates/dashboard/alias_log.html b/app/dashboard/templates/dashboard/alias_log.html index fee55ca7..a9b5819f 100644 --- a/app/dashboard/templates/dashboard/alias_log.html +++ b/app/dashboard/templates/dashboard/alias_log.html @@ -3,64 +3,64 @@ {% set active_page = "dashboard" %} {% block head %} {% endblock %} {% block title %} @@ -73,37 +73,37 @@ {{ alias }}
-
-
-
- - {{ total }} - Email Handled -
-
-
-
- - {{ email_forwarded }} - Email Forwarded -
-
-
-
- - {{ email_replied }} - Email Replied -
-
-
-
- - {{ email_blocked }} - Email Blocked -
-
+
+
+
+ + {{ total }} + Email Handled +
-

Activities

+
+
+ + {{ email_forwarded }} + Email Forwarded +
+
+
+
+ + {{ email_replied }} + Email Replied +
+
+
+
+ + {{ email_blocked }} + Email Blocked +
+
+
+

Activities

{% for log in logs %}
@@ -134,7 +134,8 @@