NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[Assets] Add default quota template

d3050df8
andryyy <[email protected]> 7 years ago
data/assets/templates/quota.tpl | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 data/assets/templates/quota.tpl

Diff

diff --git a/data/assets/templates/quota.tpl b/data/assets/templates/quota.tpl
new file mode 100644
index 00000000..9770d2c1
--- /dev/null
+++ b/data/assets/templates/quota.tpl
@@ -0,0 +1,29 @@
+<html>
+  <head>
+  <style>
+  body {
+    font-family: sans-serif;
+  }
+  #progressbar {
+    background-color: #f0f0f0;
+    border-radius: 0px;
+    padding: 0px;
+    width:50%;
+  }  
+  #progressbar > div {
+    background-color: #ff9c9c;
+    width: {{percent}}%;
+    height: 20px;
+    border-radius: 0px;
+  }
+  </style>
+  </head>
+  <body>
+    <p>Hi {{username}}!<br><br>
+    Your mailbox is now {{percent}}% full, please consider deleting old messages to still be able to receive new mails in the feature.<br>
+    <div id="progressbar">
+      <div></div>
+    </div>
+    </p>
+  </body>
+</html>