From 185c2f2d438c0d5d4ce9cfff4c00f920f0e15315 Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Mon, 30 Jun 2014 02:18:53 +0200 Subject: [PATCH 1/2] summary: link AP to AP graph --- ingrrd.css | 6 ++++++ lib/show_current_level | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ingrrd.css b/ingrrd.css index 5b3d2d0..b8fa4cc 100644 --- a/ingrrd.css +++ b/ingrrd.css @@ -80,6 +80,12 @@ tr.curlevel { background: lightgreen; } +a.AP { + color: rgb(105, 105, 0); + text-decoration: none; + font-weight: bold; +} + tr.nextlevel { background: lightgrey; } diff --git a/lib/show_current_level b/lib/show_current_level index 25d67c0..5412104 100644 --- a/lib/show_current_level +++ b/lib/show_current_level @@ -5,7 +5,7 @@ show_current_level() { - +
L$curlevel$(printf "%'li" ${last["AP"]}) AP$(printf "%'li" ${last["AP"]}) AP EOHTML for stat in ${bronzes[@]} From be95bbdd385877fec801bfca5645f48cee1e2409 Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Mon, 30 Jun 2014 02:20:01 +0200 Subject: [PATCH 2/2] graph legend: * remove useless and inaccurate "min" * remove "max" text --- index | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index b/index index 947e29f..48574d2 100755 --- a/index +++ b/index @@ -595,7 +595,6 @@ else "${thresholds[@]}" \ TICK:fail#ffffa0:1.0 \ VRULE:$now#000000 \ - 'GPRINT:data:MIN:min %6.2lf%S' \ - 'GPRINT:data:MAX:\tmax %6.2lf%S' \ + 'GPRINT:data:MAX:%6.2lf%S' \ "${next[@]}" fi