diff --git a/emails/assets/css/ink.css b/emails/assets/css/ink.css index 926db026ea6..f4c1a291cb3 100644 --- a/emails/assets/css/ink.css +++ b/emails/assets/css/ink.css @@ -44,7 +44,6 @@ img { text-decoration:none; -ms-interpolation-mode: bicubic; width: auto; - max-width: 100%; float: left; clear: both; display: block; @@ -583,8 +582,7 @@ body.outlook p { @media only screen and (max-width: 600px) { table[class="body"] img { - width: auto !important; - height: auto !important; + } table[class="body"] center { diff --git a/emails/assets/css/style.css b/emails/assets/css/style.css index 6f46d36581d..83f8d2c67a6 100644 --- a/emails/assets/css/style.css +++ b/emails/assets/css/style.css @@ -102,6 +102,10 @@ margin-bottom: 25px; table[class="body"] .left-text-pad { padding-right: 10px !important; } + + .logo { + margin-left: 10px; + } } table.better-button { diff --git a/emails/templates/alert_notification.html b/emails/templates/alert_notification.html index 4c7eed1d5d9..643b1b72054 100644 --- a/emails/templates/alert_notification.html +++ b/emails/templates/alert_notification.html @@ -33,7 +33,7 @@
- +
Metric name
diff --git a/emails/templates/alert_notification_example.html b/emails/templates/alert_notification_example.html index 7b618130e57..006f668b455 100644 --- a/emails/templates/alert_notification_example.html +++ b/emails/templates/alert_notification_example.html @@ -32,7 +32,7 @@
- +
Metric name diff --git a/emails/templates/layouts/default.html b/emails/templates/layouts/default.html index 6dece2f29c3..d19364dec75 100644 --- a/emails/templates/layouts/default.html +++ b/emails/templates/layouts/default.html @@ -108,7 +108,7 @@ td[class="stack-column-center"] { @@ -128,7 +128,7 @@ td[class="stack-column-center"] { - diff --git a/public/emails/alert_notification.html b/public/emails/alert_notification.html index 07e41a06876..3d3ddf73ad7 100644 --- a/public/emails/alert_notification.html +++ b/public/emails/alert_notification.html @@ -10,7 +10,7 @@ body { width: 100% !important; min-width: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; margin: 0; padding: 0; } img { -outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; width: auto; max-width: 100%; float: left; clear: both; display: block; +outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; width: auto; float: left; clear: both; display: block; } body { color: #222222; font-family: "Helvetica", "Arial", sans-serif; font-weight: normal; padding: 0; margin: 0; text-align: left; line-height: 1.3; @@ -79,9 +79,6 @@ a:hover { text-decoration: underline; } @media only screen and (max-width: 600px) { - table[class="body"] img { - width: auto !important; height: auto !important; - } table[class="body"] center { min-width: 0 !important; } @@ -115,6 +112,9 @@ text-decoration: underline; table[class="body"] table.columns td.expander { width: 1px !important; } + .logo { + margin-left: 10px; + } } @media (max-width: 600px) { table[class="email-container"] { @@ -191,7 +191,7 @@ text-decoration: underline;
- +
+ {{> body }}
@@ -211,7 +211,7 @@ text-decoration: underline; -
- +
+ {{Subject .Subject "{{.Title}}"}} @@ -247,21 +247,21 @@ text-decoration: underline;
- +
- - {{range .EvalMatches}} - - @@ -279,7 +279,7 @@ text-decoration: underline;
+
Metric name
+
Value
+
{{.Metric}}
+
{{.Value}}
- +
diff --git a/public/emails/alert_notification_example.html b/public/emails/alert_notification_example.html index 9b3fe1911a8..a3ae8340072 100644 --- a/public/emails/alert_notification_example.html +++ b/public/emails/alert_notification_example.html @@ -10,7 +10,7 @@ body { width: 100% !important; min-width: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; margin: 0; padding: 0; } img { -outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; width: auto; max-width: 100%; float: left; clear: both; display: block; +outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; width: auto; float: left; clear: both; display: block; } body { color: #222222; font-family: "Helvetica", "Arial", sans-serif; font-weight: normal; padding: 0; margin: 0; text-align: left; line-height: 1.3; @@ -79,9 +79,6 @@ a:hover { text-decoration: underline; } @media only screen and (max-width: 600px) { - table[class="body"] img { - width: auto !important; height: auto !important; - } table[class="body"] center { min-width: 0 !important; } @@ -115,6 +112,9 @@ text-decoration: underline; table[class="body"] table.columns td.expander { width: 1px !important; } + .logo { + margin-left: 10px; + } } @media (max-width: 600px) { table[class="email-container"] { @@ -191,7 +191,7 @@ text-decoration: underline; @@ -211,14 +211,14 @@ text-decoration: underline; -
- +
+
-

[CRITICAL] Imaginary timeserie alert

+

[CRITICAL] Imaginary timeserie alert

@@ -246,7 +246,7 @@ text-decoration: underline;
- +
Metric name diff --git a/public/emails/invited_to_org.html b/public/emails/invited_to_org.html index 0aa52751453..edb69e13428 100644 --- a/public/emails/invited_to_org.html +++ b/public/emails/invited_to_org.html @@ -10,7 +10,7 @@ body { width: 100% !important; min-width: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; margin: 0; padding: 0; } img { -outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; width: auto; max-width: 100%; float: left; clear: both; display: block; +outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; width: auto; float: left; clear: both; display: block; } body { color: #222222; font-family: "Helvetica", "Arial", sans-serif; font-weight: normal; padding: 0; margin: 0; text-align: left; line-height: 1.3; @@ -79,9 +79,6 @@ a:hover { text-decoration: underline; } @media only screen and (max-width: 600px) { - table[class="body"] img { - width: auto !important; height: auto !important; - } table[class="body"] center { min-width: 0 !important; } @@ -115,6 +112,9 @@ text-decoration: underline; table[class="body"] table.columns td.expander { width: 1px !important; } + .logo { + margin-left: 10px; + } } @media (max-width: 600px) { table[class="email-container"] { @@ -191,7 +191,7 @@ text-decoration: underline; @@ -211,7 +211,7 @@ text-decoration: underline; -
- +
+ {{Subject .Subject "{{.InvitedBy}} has added you to the {{.OrgName}} organization"}} diff --git a/public/emails/new_user_invite.html b/public/emails/new_user_invite.html index d6bde373431..43d57748f68 100644 --- a/public/emails/new_user_invite.html +++ b/public/emails/new_user_invite.html @@ -10,7 +10,7 @@ body { width: 100% !important; min-width: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; margin: 0; padding: 0; } img { -outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; width: auto; max-width: 100%; float: left; clear: both; display: block; +outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; width: auto; float: left; clear: both; display: block; } body { color: #222222; font-family: "Helvetica", "Arial", sans-serif; font-weight: normal; padding: 0; margin: 0; text-align: left; line-height: 1.3; @@ -79,9 +79,6 @@ a:hover { text-decoration: underline; } @media only screen and (max-width: 600px) { - table[class="body"] img { - width: auto !important; height: auto !important; - } table[class="body"] center { min-width: 0 !important; } @@ -115,6 +112,9 @@ text-decoration: underline; table[class="body"] table.columns td.expander { width: 1px !important; } + .logo { + margin-left: 10px; + } } @media (max-width: 600px) { table[class="email-container"] { @@ -191,7 +191,7 @@ text-decoration: underline; @@ -211,7 +211,7 @@ text-decoration: underline; -
- +
+ {{Subject .Subject "{{.InvitedBy}} has invited you to join Grafana"}} diff --git a/public/emails/reset_password.html b/public/emails/reset_password.html index 88148f6eddc..cdc62902c30 100644 --- a/public/emails/reset_password.html +++ b/public/emails/reset_password.html @@ -10,7 +10,7 @@ body { width: 100% !important; min-width: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; margin: 0; padding: 0; } img { -outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; width: auto; max-width: 100%; float: left; clear: both; display: block; +outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; width: auto; float: left; clear: both; display: block; } body { color: #222222; font-family: "Helvetica", "Arial", sans-serif; font-weight: normal; padding: 0; margin: 0; text-align: left; line-height: 1.3; @@ -79,9 +79,6 @@ a:hover { text-decoration: underline; } @media only screen and (max-width: 600px) { - table[class="body"] img { - width: auto !important; height: auto !important; - } table[class="body"] center { min-width: 0 !important; } @@ -115,6 +112,9 @@ text-decoration: underline; table[class="body"] table.columns td.expander { width: 1px !important; } + .logo { + margin-left: 10px; + } } @media (max-width: 600px) { table[class="email-container"] { @@ -191,7 +191,7 @@ text-decoration: underline; @@ -211,7 +211,7 @@ text-decoration: underline; -
- +
+ {{Subject .Subject "Reset your Grafana password - {{.Name}}"}} diff --git a/public/emails/signup_started.html b/public/emails/signup_started.html index e9a1dc9b29e..a22d439072f 100644 --- a/public/emails/signup_started.html +++ b/public/emails/signup_started.html @@ -10,7 +10,7 @@ body { width: 100% !important; min-width: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; margin: 0; padding: 0; } img { -outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; width: auto; max-width: 100%; float: left; clear: both; display: block; +outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; width: auto; float: left; clear: both; display: block; } body { color: #222222; font-family: "Helvetica", "Arial", sans-serif; font-weight: normal; padding: 0; margin: 0; text-align: left; line-height: 1.3; @@ -79,9 +79,6 @@ a:hover { text-decoration: underline; } @media only screen and (max-width: 600px) { - table[class="body"] img { - width: auto !important; height: auto !important; - } table[class="body"] center { min-width: 0 !important; } @@ -115,6 +112,9 @@ text-decoration: underline; table[class="body"] table.columns td.expander { width: 1px !important; } + .logo { + margin-left: 10px; + } } @media (max-width: 600px) { table[class="email-container"] { @@ -191,7 +191,7 @@ text-decoration: underline;
@@ -211,7 +211,7 @@ text-decoration: underline; -
- +
+ {{Subject .Subject "Welcome to Grafana, please complete your sign up!"}} diff --git a/public/emails/welcome_on_signup.html b/public/emails/welcome_on_signup.html index 123e2e145d6..606c804df0d 100644 --- a/public/emails/welcome_on_signup.html +++ b/public/emails/welcome_on_signup.html @@ -10,7 +10,7 @@ body { width: 100% !important; min-width: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; margin: 0; padding: 0; } img { -outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; width: auto; max-width: 100%; float: left; clear: both; display: block; +outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; width: auto; float: left; clear: both; display: block; } body { color: #222222; font-family: "Helvetica", "Arial", sans-serif; font-weight: normal; padding: 0; margin: 0; text-align: left; line-height: 1.3; @@ -79,9 +79,6 @@ a:hover { text-decoration: underline; } @media only screen and (max-width: 600px) { - table[class="body"] img { - width: auto !important; height: auto !important; - } table[class="body"] center { min-width: 0 !important; } @@ -115,6 +112,9 @@ text-decoration: underline; table[class="body"] table.columns td.expander { width: 1px !important; } + .logo { + margin-left: 10px; + } } @media (max-width: 600px) { table[class="email-container"] { @@ -191,7 +191,7 @@ text-decoration: underline;
@@ -211,7 +211,7 @@ text-decoration: underline; -
- +
+ {{Subject .Subject "Welcome to Grafana"}}