diff --git a/puppetboard/templates/index.html b/puppetboard/templates/index.html index 06f6570..2810c20 100644 --- a/puppetboard/templates/index.html +++ b/puppetboard/templates/index.html @@ -52,38 +52,44 @@
| Status | +Hostname | ++ | |||
|---|---|---|---|---|---|
| Status | -Hostname | -+ | + + {{node.status}} + + {% if node.status=='unreported'%} + {{ node.unreported_time }} + {% else %} + {% if node.events['failures'] %}{{node.events['failures']}}{% else %}0{% endif%} + {% if node.events['successes'] %}{{node.events['successes']}}{% else %}0{% endif%} + {% endif %} + | +{{ node.name }} | +Latest Report |
| - - {{node.status}} - - {% if node.status=='unreported'%} - {{ node.unreported_time }} - {% else %} - {% if node.events['failures'] %}{{node.events['failures']}}{% else %}0{% endif%} - {% if node.events['successes'] %}{{node.events['successes']}}{% else %}0{% endif%} - {% endif %} - | -{{ node.name }} | -Latest Report | -