format
This commit is contained in:
1 parent
0b4ec46f79
commit
f58d05f1b3
4 files changed
+70
-20
No files matched your search
@@ -31,11 +31,7 @@ class SuperSimpleQueueHelper {
|
|||||||
throw new Error("No network response");
|
throw new Error("No network response");
|
||||||
}
|
}
|
||||||
|
|
||||||
const {
|
const { monitor: updatedMonitor, statusChanged, prevStatus } = await this.statusService.updateStatus(networkResponse);
|
||||||
monitor: updatedMonitor,
|
|
||||||
statusChanged,
|
|
||||||
prevStatus,
|
|
||||||
} = await this.statusService.updateStatus(networkResponse);
|
|
||||||
|
|
||||||
this.notificationService
|
this.notificationService
|
||||||
.handleNotifications({
|
.handleNotifications({
|
||||||
|
|||||||
@@ -2,17 +2,28 @@
|
|||||||
|
|
||||||
<mjml>
|
<mjml>
|
||||||
<mj-head>
|
<mj-head>
|
||||||
<mj-font name="Roboto" href="https://fonts.googleapis.com/css?family=Roboto:300,500"></mj-font>
|
<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 font-weight="300" font-size="16px" color="#616161" line-height="24px"></mj-text>
|
<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 align="left" font-size="10px">
|
<mj-text
|
||||||
|
align="left"
|
||||||
|
font-size="10px"
|
||||||
|
>
|
||||||
Message from Checkmate Service
|
Message from Checkmate Service
|
||||||
</mj-text>
|
</mj-text>
|
||||||
</mj-column>
|
</mj-column>
|
||||||
@@ -32,7 +43,10 @@
|
|||||||
</mj-text>
|
</mj-text>
|
||||||
</mj-column>
|
</mj-column>
|
||||||
<mj-column width="100%">
|
<mj-column width="100%">
|
||||||
<mj-divider border-width="1px" border-color="#E0E0E0"></mj-divider>
|
<mj-divider
|
||||||
|
border-width="1px"
|
||||||
|
border-color="#E0E0E0"
|
||||||
|
></mj-divider>
|
||||||
<mj-text font-size="12px">
|
<mj-text font-size="12px">
|
||||||
<p>This email was sent by Checkmate.</p>
|
<p>This email was sent by Checkmate.</p>
|
||||||
</mj-text>
|
</mj-text>
|
||||||
|
|||||||
@@ -1,24 +1,47 @@
|
|||||||
<mjml>
|
<mjml>
|
||||||
<mj-head>
|
<mj-head>
|
||||||
<mj-font name="Roboto" href="https://fonts.googleapis.com/css?family=Roboto:300,500"></mj-font>
|
<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 font-weight="300" font-size="16px" color="#616161" line-height="24px"></mj-text>
|
<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 align="left" font-size="10px">
|
<mj-text
|
||||||
|
align="left"
|
||||||
|
font-size="10px"
|
||||||
|
>
|
||||||
Message from Checkmate Service
|
Message from Checkmate Service
|
||||||
</mj-text>
|
</mj-text>
|
||||||
</mj-column>
|
</mj-column>
|
||||||
<mj-column width="45%" padding-top="20px">
|
<mj-column
|
||||||
<mj-text align="center" font-weight="500" padding="0px" font-size="18px" color="red">
|
width="45%"
|
||||||
|
padding-top="20px"
|
||||||
|
>
|
||||||
|
<mj-text
|
||||||
|
align="center"
|
||||||
|
font-weight="500"
|
||||||
|
padding="0px"
|
||||||
|
font-size="18px"
|
||||||
|
color="red"
|
||||||
|
>
|
||||||
{{ monitor }} is down
|
{{ monitor }} is down
|
||||||
</mj-text>
|
</mj-text>
|
||||||
<mj-divider border-width="2px" border-color="#616161"></mj-divider>
|
<mj-divider
|
||||||
|
border-width="2px"
|
||||||
|
border-color="#616161"
|
||||||
|
></mj-divider>
|
||||||
</mj-column>
|
</mj-column>
|
||||||
</mj-section>
|
</mj-section>
|
||||||
<mj-section>
|
<mj-section>
|
||||||
@@ -31,7 +54,10 @@
|
|||||||
</mj-text>
|
</mj-text>
|
||||||
</mj-column>
|
</mj-column>
|
||||||
<mj-column width="100%">
|
<mj-column width="100%">
|
||||||
<mj-divider border-width="1px" border-color="#E0E0E0"></mj-divider>
|
<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 Checkmate.</p>
|
<p>This email was sent by Checkmate.</p>
|
||||||
|
|||||||
@@ -1,17 +1,28 @@
|
|||||||
<!-- name -->
|
<!-- name -->
|
||||||
<mjml>
|
<mjml>
|
||||||
<mj-head>
|
<mj-head>
|
||||||
<mj-font name="Roboto" href="https://fonts.googleapis.com/css?family=Roboto:300,500"></mj-font>
|
<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 font-weight="300" font-size="16px" color="#616161" line-height="24px"></mj-text>
|
<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 align="left" font-size="10px">
|
<mj-text
|
||||||
|
align="left"
|
||||||
|
font-size="10px"
|
||||||
|
>
|
||||||
Message from Checkmate Service
|
Message from Checkmate Service
|
||||||
</mj-text>
|
</mj-text>
|
||||||
</mj-column>
|
</mj-column>
|
||||||
@@ -27,7 +38,10 @@
|
|||||||
</mj-text>
|
</mj-text>
|
||||||
</mj-column>
|
</mj-column>
|
||||||
<mj-column width="100%">
|
<mj-column width="100%">
|
||||||
<mj-divider border-width="1px" border-color="#E0E0E0"></mj-divider>
|
<mj-divider
|
||||||
|
border-width="1px"
|
||||||
|
border-color="#E0E0E0"
|
||||||
|
></mj-divider>
|
||||||
<mj-text font-size="12px">
|
<mj-text font-size="12px">
|
||||||
<p>This email was sent by Checkmate.</p>
|
<p>This email was sent by Checkmate.</p>
|
||||||
</mj-text>
|
</mj-text>
|
||||||
|
|||||||
Reference in new issue
Block a user