diff --git a/backend/resources/email-templates/components/style_html.tmpl b/backend/resources/email-templates/components/style_html.tmpl index f907dbe..3251296 100644 --- a/backend/resources/email-templates/components/style_html.tmpl +++ b/backend/resources/email-templates/components/style_html.tmpl @@ -1,95 +1,92 @@ {{ define "style" }} {{ end }} diff --git a/backend/resources/email-templates/login-with-new-device_html.tmpl b/backend/resources/email-templates/login-with-new-device_html.tmpl index 6c2c811..919c651 100644 --- a/backend/resources/email-templates/login-with-new-device_html.tmpl +++ b/backend/resources/email-templates/login-with-new-device_html.tmpl @@ -1,36 +1,40 @@ {{ define "base" }} -
- -
Warning
-
-
-

New Sign-In Detected

-
- {{ if and .Data.City .Data.Country }} -
-

Approximate Location

-

{{ .Data.City }}, {{ .Data.Country }}

-
- {{ end }} -
-

IP Address

-

{{ .Data.IPAddress }}

-
-
-

Device

-

{{ .Data.Device }}

-
-
-

Sign-In Time

-

{{ .Data.DateTime.Format "2006-01-02 15:04:05 UTC" }}

-
-
-

- This sign-in was detected from a new device or location. If you recognize this activity, you can - safely ignore this message. If not, please review your account and security settings. -

-
+
+ +
Warning
+
+
+

New Sign-In Detected

+ + + {{ if and .Data.City .Data.Country }} + + {{ end }} + + + + + + +
+

Approximate Location

+

{{ .Data.City }}, {{ .Data.Country }}

+
+

IP Address

+

{{ .Data.IPAddress }}

+
+

Device

+

{{ .Data.Device }}

+
+

Sign-In Time

+

{{ .Data.DateTime.Format "2006-01-02 15:04:05 UTC" }}

+
+

+ This sign-in was detected from a new device or location. If you recognize this activity, you can + safely ignore this message. If not, please review your account and security settings. +

+
{{ end -}} \ No newline at end of file