From cb6bb4dd3133a11784b067f947cb6a58d69afc95 Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Fri, 20 Jul 2012 14:00:20 +0200 Subject: [PATCH] Add color to peer status --- templates/summary.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/templates/summary.html b/templates/summary.html index 28926a5..3cc3a72 100644 --- a/templates/summary.html +++ b/templates/summary.html @@ -8,7 +8,14 @@ {% for row in summary[host] %} - {{row.name}}{{row.proto}}{{row.table}}{{row.state}}{{row.since}}{{row.info}} + + {{row.name}} + {{row.proto}} + {{row.table}} + {{row.state}} + {{row.since}} + {{row.info}} + {% else %} {{summary[host].error}} {% endfor %}