aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/Resources/views/emails')
-rw-r--r--app/Resources/views/emails/registration.html.twig6
-rw-r--r--app/Resources/views/emails/warning.html.twig23
2 files changed, 23 insertions, 6 deletions
diff --git a/app/Resources/views/emails/registration.html.twig b/app/Resources/views/emails/registration.html.twig
deleted file mode 100644
index c2ac995..0000000
--- a/app/Resources/views/emails/registration.html.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-{# app/Resources/views/Emails/registration.html.twig #}
-<h3>You did it! You registered!</h3>
-
-Hi {{ name }}! You're successfully registered.
-
-Thanks! \ No newline at end of file
diff --git a/app/Resources/views/emails/warning.html.twig b/app/Resources/views/emails/warning.html.twig
new file mode 100644
index 0000000..29a686c
--- /dev/null
+++ b/app/Resources/views/emails/warning.html.twig
@@ -0,0 +1,23 @@
+{# app/Resources/views/emails/registration.html.twig #}
+<h3>WARNING!</h3>
+
+<img src="https://i.imgflip.com/20b4q2.jpg"/>
+
+<div id="wrapper">
+ <table>
+ <tr>
+ <th>TimeStamp</th>
+ <th>Co</th>
+ <th>No</th>
+ <th>So</th>
+ </tr>
+ <tr id="latest">
+ <td>{{ data->TimeStamp }}</td>
+ <td>{{ Co }}</td>
+ <td>{{ No }}</td>
+ <td>{{ So }}</td>
+ </tr>
+ </table>
+</div>
+<a href="/AllDataReadings">All Data Page</a>
+<p id="aq">{{ Aqi }}</p> \ No newline at end of file