From 6c39bf06e43fd97fc821cf1dcd11636532512ff0 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sat, 13 Dec 2014 13:40:36 +0100 Subject: dashboard: make timeago dynamic using jquery + timeago --- index.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 78db85d..9c2319b 100644 --- a/index.php +++ b/index.php @@ -26,4 +26,13 @@ if ($uhosts) { host_summary('uncategorized', $uhosts); } +echo << +jQuery(document).ready(function() { + jQuery("time.timeago").timeago(); +}); + + +EOT; + html_end(); -- cgit v1.1