aboutsummaryrefslogtreecommitdiff
path: root/templates/full/alarm.vm
diff options
context:
space:
mode:
Diffstat (limited to 'templates/full/alarm.vm')
-rw-r--r--templates/full/alarm.vm10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/full/alarm.vm b/templates/full/alarm.vm
new file mode 100644
index 000000000..8f1164291
--- /dev/null
+++ b/templates/full/alarm.vm
@@ -0,0 +1,10 @@
+#set($subject = "$device.name: alarm!")
+<!DOCTYPE html>
+<html>
+<body>
+Device: $device.name<br>
+Alarm: $position.getString("alarm")<br>
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)<br>
+Point: <a href="$webUrl?eventId=$event.id">#{if}($position.address)$position.address#{else}$position.latitude&deg;, $position.longitude&deg;#{end}</a><br>
+</body>
+</html>