From e9685b2ce516567815ec85822ef738f97b5ee949 Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Sun, 1 Dec 2019 17:46:59 +0530 Subject: [PATCH] Refactor HTML views with new data structures --- email-templates/base.html | 19 +++++++++++++++++-- email-templates/import-status.html | 2 +- public/templates/subscription.html | 20 ++++++++++---------- 3 files changed, 28 insertions(+), 13 deletions(-) diff --git a/email-templates/base.html b/email-templates/base.html index 467434e..0f47897 100644 --- a/email-templates/base.html +++ b/email-templates/base.html @@ -42,7 +42,20 @@ .gutter { padding: 30px; } - + .button { + background: #7f2aff; + color: #fff !important; + display: inline-block; + border-radius: 3px; + padding: 10px 30px; + text-align: center; + text-decoration: none; + font-weight: bold; + } + .button:hover { + background: #222; + color: #fff; + } img { max-width: 100%; } @@ -67,7 +80,9 @@
 
- listmonk + {{ if ne LogoURL "" }} + listmonk + {{ end }}
{{ end }} diff --git a/email-templates/import-status.html b/email-templates/import-status.html index 1c4ff91..3fa6e08 100644 --- a/email-templates/import-status.html +++ b/email-templates/import-status.html @@ -4,7 +4,7 @@ - + diff --git a/public/templates/subscription.html b/public/templates/subscription.html index dce37ef..62ef061 100644 --- a/public/templates/subscription.html +++ b/public/templates/subscription.html @@ -4,19 +4,19 @@

Unsubscribe

Do you wish to unsubscribe from this mailing list?

-

+

-

- {{ if .Data.AllowBlacklist }} -

- -

+ {{ if .Data.AllowBlacklist }} +

+ +

+ {{ end }} - {{ end }} -

- -

+

+ +

+
File{{ .Name }}{{ .Name }}
Status