From 7435370ec75124cd78920fc214570d818bea8a7f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 17 Jan 2017 20:22:19 +0100 Subject: distinguish between fresh and old host data --- templates/main.html.ep | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'templates/main.html.ep') diff --git a/templates/main.html.ep b/templates/main.html.ep index f5cae1d..6f786dc 100644 --- a/templates/main.html.ep +++ b/templates/main.html.ep @@ -1,15 +1,31 @@
+

Active

- % for my $host (@{$hosts}) { + % for my $host (@{$active_hosts}) { - + + + % } +
Hostname Load OS
<%= $host->{hostname} %> <%= $host->{load15} %>Debian <%= $host->{debian} %>Debian <%= $host->{debian_version} %>
+

Old

+ + + + + + + % for my $host (@{$old_hosts}) { + + + + % }
HostnameLoadOS
<%= $host->{hostname} %><%= $host->{load15} %>Debian <%= $host->{debian_version} %>
-- cgit v1.2.3