From 4edf3ce68701fdc1f500f26a664ff1298fbcce04 Mon Sep 17 00:00:00 2001 From: MEHRSHAD MIRSHEKARY Date: Sun, 18 Aug 2024 21:39:43 +0330 Subject: [PATCH] :sparkles: feat: add email_notifier_template implemented a compatible html template with css inlines --- .../templates/email_notifier_template.html | 422 ++++++++++++++++++ 1 file changed, 422 insertions(+) create mode 100644 django_logging/templates/email_notifier_template.html diff --git a/django_logging/templates/email_notifier_template.html b/django_logging/templates/email_notifier_template.html new file mode 100644 index 0000000..5f801ba --- /dev/null +++ b/django_logging/templates/email_notifier_template.html @@ -0,0 +1,422 @@ + + + + + + Log Record Notification + + + + + + +
+ + + + + + + + + + + +
+
+
+ Django Logging +
+
+

Log Message:
{{ message }}

+ {% if ip_address != "Unknown" %} +

IP Address: {{ ip_address }}

+ {% endif %} + {% if browser_type != "Unknown" %} +

Browser Type: {{ browser_type }}

+ {% endif %} +

This email was prepared to send at {{ time }}

+
+ Character +
+

This is an automated message.

Please do not reply.

+
+
+ +