From aba0c0ebf0f44b5cfeda23e684fdad35e3e80ce3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Sat, 25 Jun 2016 06:32:10 +0300 Subject: [PATCH] Summary table tweaks --- templates/emails/summary-html.html | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/templates/emails/summary-html.html b/templates/emails/summary-html.html index e3c9e6ed..19c78783 100644 --- a/templates/emails/summary-html.html +++ b/templates/emails/summary-html.html @@ -11,11 +11,12 @@ text-align: left; padding: 8px; font-size: 12px; + color: #9BA2AB; } .checks td { border-top: 1px solid #EDEFF2; - padding: 8px; + padding: 16px 8px; } .badge { @@ -36,8 +37,11 @@ font-style: italic; } - .view-log { - font-size: 13px; + .tag { + font-size: 12px; + background-color: #eee; + padding: 2px 4px; + color: #555; } @@ -46,7 +50,6 @@ Name - Period Last Ping {% for check in checks %} @@ -64,27 +67,31 @@ {% if check.name %} - {{ check.name }} + {% if check.name|length > 20 %} + {{ check.name }} + {% else %} + {{ check.name }} + {% endif %} {% else %} unnamed {% endif %} {% if check.tags %}
- {{ check.tags }} + {% for tag in check.tags_list %} + {{ tag }} + {% endfor %} {% endif %} - - {{ check.timeout|hc_duration }} - {% if check.last_ping %} {{ check.last_ping|naturaltime }} {% else %} Never {% endif %} + - View Log + Log {% endfor %}