From fe05e245792d1d36b2d4e501c7c87f2283520773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Matula?= Date: Fri, 8 May 2020 18:39:03 +0200 Subject: [PATCH] [Dovecot] Quota template - colored bar based on % (#3525) * [Dovecot] Quarantine template: css for mobile devices * [Dovecot] Colored quota bar based on % formatting html --- data/assets/templates/quota.tpl | 78 +++++++++++++++++++++------------ 1 file changed, 51 insertions(+), 27 deletions(-) diff --git a/data/assets/templates/quota.tpl b/data/assets/templates/quota.tpl index eef5c92a..24555478 100644 --- a/data/assets/templates/quota.tpl +++ b/data/assets/templates/quota.tpl @@ -1,29 +1,53 @@ - - - - -

Hi {{username}}!

- Your mailbox is now {{percent}}% full, please consider deleting old messages to still be able to receive new mails in the future.
-

-
-
-

- + + + + +
+

Hi {{username}}!

+ Your mailbox is now {{percent}}% full, please consider deleting old messages to still be able to receive new mails in the future.
+

+
{{percent}}%
+
+

+
+