Mail templates for monitoring mails

This commit is contained in:
baldo 2016-06-11 15:13:06 +02:00
parent 71690b7d5c
commit eb3e0d96be
14 changed files with 250 additions and 100 deletions

View file

@ -0,0 +1,6 @@
</td>
</tr>
</table>
</body>
</html>

View file

@ -0,0 +1,31 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">
body {
margin: 0;
padding: 0;
}
th {
font-weight: bold;
text-align: left;
padding-right: 10px;
}
em {
font-size: 0.9em;
}
</style>
</head>
<body>
<table border="0" cellpadding="10" cellspacing="0" bgcolor="#EDEDED" width="100%">
<tr>
<td style="color: #444444; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, sans-serif;">
<p>
<strong style="font-size: 1.5em;">Hallo <%- node.nickname %>,</strong>
</p>

View file

@ -0,0 +1,32 @@
<p>
Bei Fragen wende Dich gerne an
<%= link('mailto:' + community.contactEmail, community.contactEmail) %>
</p>
<p>
<strong>
Viele Grüße<br />
Dein <%- community.name %>
</strong>
</p>
<%= hr() %>
<p>
<em>
Möchtest Du keine Status-E-Mails zu Diesem Knoten mehr erhalten, so kannst Du den Versand
jederzeit <%= link(disableUrl, 'deaktivieren') %>.
</em>
</p>
<p>
<em>
Alternativ kannst Du die Versandeinstellungen auch jederzeit unter
<%= link(editNodeUrl, editNodeUrl) %> ändern.
</em>
</p>
<p>
<em>
Bitte habe Verständnis dafür, dass das An- und Abschalten des Versands für jeden Deiner Knoten
einzeln erfolgt.
</em>
</p>

View file

@ -0,0 +1,23 @@
<p>
Dein Knoten ist <% if (mailNum === 1) { %>akutell<% } else { %>weiterhin<% } %> offline.
</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top: 45px; margin-bottom: 45px;">
<tr>
<td align="center">
<table class="table" style="border: 3px dashed #666666; padding: 10px; background-color: #F5F5F5; font-size: 1.3em;">
<tr>
<th>Knoten</th>
<td><%- node.hostname %></td>
</tr>
<tr>
<th>Zuletzt online</th>
<td><%= formatFromNow(lastSeen) %> (<%= formatDateTime(lastSeen) %>)</td>
</tr>
</table>
</td>
</tr>
</table>
<p></p>