From a4ab4db1ca6f4a3c9482107db16337fc182d6d9b Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 18 Jun 2015 11:39:55 +0200 Subject: [PATCH] perfdata: occupy more space, highglight like output --- .../views/scripts/show/components/perfdata.phtml | 14 +++++++++----- modules/monitoring/public/css/module.less | 12 +++++++----- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/modules/monitoring/application/views/scripts/show/components/perfdata.phtml b/modules/monitoring/application/views/scripts/show/components/perfdata.phtml index 086ee1235..0c59693ac 100644 --- a/modules/monitoring/application/views/scripts/show/components/perfdata.phtml +++ b/modules/monitoring/application/views/scripts/show/components/perfdata.phtml @@ -1,7 +1,11 @@ perfdata) return ?> - - translate('Performance data') ?> - - perfdata($object->perfdata) ?> - + + +

translate('Performance data') ?>

+ + + + + perfdata($object->perfdata) ?> + diff --git a/modules/monitoring/public/css/module.less b/modules/monitoring/public/css/module.less index 15f0e5a5f..dda8f5d55 100644 --- a/modules/monitoring/public/css/module.less +++ b/modules/monitoring/public/css/module.less @@ -264,6 +264,7 @@ td.state { font-size: inherit; color: inherit; margin: 0; + padding-bottom: 0.1em; } h3 .author { @@ -1214,14 +1215,15 @@ table.objectstate tr.state td.state { border-radius: 0; } +table.avp td.performance-data { + padding: 0.3em 0 0.3em 1em; + border-left: 4px solid #d8d8d8; +} + table.perfdata { min-width: 24em; font-size: 0.9em; -} - -table.perfdata.perfdata-piecharts { - left: -2.6em; - position: relative; + width: 100%; } table.perfdata th {