diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-01-16 19:29:20 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-01-16 19:29:20 +0100 |
commit | 1c5ed449f3061d5105f55aca50114199356866f6 (patch) | |
tree | 2302e98ce934258178ddef61b33d70799d847a0e /templates | |
parent | 40480626b1f4cf615883f6d285e779bd8dae7dc9 (diff) |
basic output
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.html.ep | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/templates/main.html.ep b/templates/main.html.ep index 025bb31..f5cae1d 100644 --- a/templates/main.html.ep +++ b/templates/main.html.ep @@ -1 +1,16 @@ -<p>ohai!</p> +<div> + <table> + <tr> + <th>Hostname</th> + <th>Load</th> + <th>OS</th> + </tr> + % for my $host (@{$hosts}) { + <tr> + <td><%= $host->{hostname} %></td> + <td><%= $host->{load15} %></td> + <td>Debian <%= $host->{debian} %></td> + </tr> + % } + </table> +</div> |