From 1a3c9f848bc8b740e15a342486eaf648619e8e22 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 4 Jul 2016 17:08:29 +0200 Subject: [statistics] Don't show uptime for offline clients; chart.js: highlight in bold --- modules-available/statistics/templates/cpumodels.html | 4 ++-- modules-available/statistics/templates/id44.html | 4 ++-- modules-available/statistics/templates/kvmstate.html | 4 ++-- modules-available/statistics/templates/memory.html | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'modules-available/statistics/templates') diff --git a/modules-available/statistics/templates/cpumodels.html b/modules-available/statistics/templates/cpumodels.html index 2f24cd92..d87118ef 100644 --- a/modules-available/statistics/templates/cpumodels.html +++ b/modules-available/statistics/templates/cpumodels.html @@ -33,13 +33,13 @@ animation: false, tooltipTemplate: "<%if (label){%><%=label%><%}%>", customTooltips: function(tooltip) { - if (sel !== false) sel.removeClass('info'); + if (sel !== false) sel.removeClass('slx-bold'); if (!tooltip) { sel = false; return; } sel = $('#' + tooltip.text); - sel.addClass('info'); + sel.addClass('slx-bold'); } }); }, false); diff --git a/modules-available/statistics/templates/id44.html b/modules-available/statistics/templates/id44.html index 730839b1..4eea9413 100644 --- a/modules-available/statistics/templates/id44.html +++ b/modules-available/statistics/templates/id44.html @@ -29,14 +29,14 @@ animation: false, tooltipTemplate: "<%if (label){%><%=label%><%}%>", customTooltips: function(tooltip) { - if (sel !== false) sel.removeClass('info'); + if (sel !== false) sel.removeClass('slx-bold'); if (!tooltip) { sel = false; return; } sel = $('#tmpid' + String(tooltip.text)); console.log('#tmpid' + String(tooltip.text)); - sel.addClass('info'); + sel.addClass('slx-bold'); } }); }, false); diff --git a/modules-available/statistics/templates/kvmstate.html b/modules-available/statistics/templates/kvmstate.html index 107a34f7..07ecd558 100644 --- a/modules-available/statistics/templates/kvmstate.html +++ b/modules-available/statistics/templates/kvmstate.html @@ -29,13 +29,13 @@ animation: false, tooltipTemplate: "<%if (label){%><%=label%><%}%>", customTooltips: function(tooltip) { - if (sel !== false) sel.removeClass('info'); + if (sel !== false) sel.removeClass('slx-bold'); if (!tooltip) { sel = false; return; } sel = $('#kvm' + tooltip.text); - sel.addClass('info'); + sel.addClass('slx-bold'); } }); }, false); diff --git a/modules-available/statistics/templates/memory.html b/modules-available/statistics/templates/memory.html index f4d2ad24..537ee3bd 100644 --- a/modules-available/statistics/templates/memory.html +++ b/modules-available/statistics/templates/memory.html @@ -29,13 +29,13 @@ animation: false, tooltipTemplate: "<%if (label){%><%=label%><%}%>", customTooltips: function(tooltip) { - if (sel !== false) sel.removeClass('info'); + if (sel !== false) sel.removeClass('slx-bold'); if (!tooltip) { sel = false; return; } sel = $('#ramid' + tooltip.text); - sel.addClass('info'); + sel.addClass('slx-bold'); } }); }, false); -- cgit v1.2.3-55-g7522