Fix email templates

This commit is contained in:
Alex Holliday committed 2024-10-28 14:18:03 +08:00
1 parent b171b540b9
commit 25b555f261
2 files changed
+14 -72

No files matched your search

+7 -35
View File
@@ -1,47 +1,24 @@
<mjml> <mjml>
<mj-head> <mj-head>
<mj-font <mj-font name="Roboto" href="https://fonts.googleapis.com/css?family=Roboto:300,500"></mj-font>
name="Roboto"
href="https://fonts.googleapis.com/css?family=Roboto:300,500"
></mj-font>
<mj-attributes> <mj-attributes>
<mj-all font-family="Roboto, Helvetica, sans-serif"></mj-all> <mj-all font-family="Roboto, Helvetica, sans-serif"></mj-all>
<mj-text <mj-text font-weight="300" font-size="16px" color="#616161" line-height="24px"></mj-text>
font-weight="300"
font-size="16px"
color="#616161"
line-height="24px"
></mj-text>
<mj-section padding="0px"></mj-section> <mj-section padding="0px"></mj-section>
</mj-attributes> </mj-attributes>
</mj-head> </mj-head>
<mj-body> <mj-body>
<mj-section padding="20px 0"> <mj-section padding="20px 0">
<mj-column width="100%"> <mj-column width="100%">
<mj-text <mj-text align="left" font-size="10px">
align="left"
font-size="10px"
>
Message from BlueWave Uptime Service Message from BlueWave Uptime Service
</mj-text> </mj-text>
</mj-column> </mj-column>
<mj-column <mj-column width="45%" padding-top="20px">
width="45%" <mj-text align="center" font-weight="500" padding="0px" font-size="18px" color="red">
padding-top="20px"
>
<mj-text
align="center"
font-weight="500"
padding="0px"
font-size="18px"
color="red"
>
Google.com is down Google.com is down
</mj-text> </mj-text>
<mj-divider <mj-divider border-width="2px" border-color="#616161"></mj-divider>
border-width="2px"
border-color="#616161"
></mj-divider>
</mj-column> </mj-column>
</mj-section> </mj-section>
<mj-section> <mj-section>
@@ -54,15 +31,10 @@
</p> </p>
<p><b>Monitor name:</b> {{monitor}}</p> <p><b>Monitor name:</b> {{monitor}}</p>
<p><b>URL:</b> {{url}}</p> <p><b>URL:</b> {{url}}</p>
<p><b>Problem:</b> {{problem}}</p>
<p><b>Start date:</b> {{startDate}}</p>
</mj-text> </mj-text>
</mj-column> </mj-column>
<mj-column width="100%"> <mj-column width="100%">
<mj-divider <mj-divider border-width="1px" border-color="#E0E0E0"></mj-divider>
border-width="1px"
border-color="#E0E0E0"
></mj-divider>
<mj-button background-color="#1570EF"> View incident details </mj-button> <mj-button background-color="#1570EF"> View incident details </mj-button>
<mj-text font-size="12px"> <mj-text font-size="12px">
<p>This email was sent by BlueWave Uptime.</p> <p>This email was sent by BlueWave Uptime.</p>
+7 -37
View File
@@ -1,47 +1,24 @@
<mjml> <mjml>
<mj-head> <mj-head>
<mj-font <mj-font name="Roboto" href="https://fonts.googleapis.com/css?family=Roboto:300,500"></mj-font>
name="Roboto"
href="https://fonts.googleapis.com/css?family=Roboto:300,500"
></mj-font>
<mj-attributes> <mj-attributes>
<mj-all font-family="Roboto, Helvetica, sans-serif"></mj-all> <mj-all font-family="Roboto, Helvetica, sans-serif"></mj-all>
<mj-text <mj-text font-weight="300" font-size="16px" color="#616161" line-height="24px"></mj-text>
font-weight="300"
font-size="16px"
color="#616161"
line-height="24px"
></mj-text>
<mj-section padding="0px"></mj-section> <mj-section padding="0px"></mj-section>
</mj-attributes> </mj-attributes>
</mj-head> </mj-head>
<mj-body> <mj-body>
<mj-section padding="20px 0"> <mj-section padding="20px 0">
<mj-column width="100%"> <mj-column width="100%">
<mj-text <mj-text align="left" font-size="10px">
align="left"
font-size="10px"
>
Message from BlueWave Uptime Service Message from BlueWave Uptime Service
</mj-text> </mj-text>
</mj-column> </mj-column>
<mj-column <mj-column width="45%" padding-top="20px">
width="45%" <mj-text align="center" font-weight="500" padding="0px" font-size="18px" color="green">
padding-top="20px"
>
<mj-text
align="center"
font-weight="500"
padding="0px"
font-size="18px"
color="green"
>
{{monitor}} is up {{monitor}} is up
</mj-text> </mj-text>
<mj-divider <mj-divider border-width="2px" border-color="#616161"></mj-divider>
border-width="2px"
border-color="#616161"
></mj-divider>
</mj-column> </mj-column>
</mj-section> </mj-section>
<mj-section> <mj-section>
@@ -51,17 +28,10 @@
<p>Your latest incident is resolved and your monitored service is up again.</p> <p>Your latest incident is resolved and your monitored service is up again.</p>
<p><b>Monitor name:</b> {{monitor}}</p> <p><b>Monitor name:</b> {{monitor}}</p>
<p><b>URL:</b> {{url}}</p> <p><b>URL:</b> {{url}}</p>
<p><b>Problem:</b> {{problem}}</p>
<p><b>Start date:</b> {{startDate}}</p>
<p><b>Resolved date:</b> {{resolvedDate}}</p>
<p><b>Duration:</b>{{duration}}</p>
</mj-text> </mj-text>
</mj-column> </mj-column>
<mj-column width="100%"> <mj-column width="100%">
<mj-divider <mj-divider border-width="1px" border-color="#E0E0E0"></mj-divider>
border-width="1px"
border-color="#E0E0E0"
></mj-divider>
<mj-button background-color="#1570EF"> View incident details </mj-button> <mj-button background-color="#1570EF"> View incident details </mj-button>
<mj-text font-size="12px"> <mj-text font-size="12px">
<p>This email was sent by BlueWave Uptime.</p> <p>This email was sent by BlueWave Uptime.</p>