From d16501a9b053e7a7d183458b91dab47ce145f1c1 Mon Sep 17 00:00:00 2001 From: stevenstetzler Date: Fri, 23 Jul 2021 19:20:17 -0400 Subject: [PATCH] handle track_cpu_percent option --- jupyter_resource_usage/static/main.js | 43 +++++++++++++++------------ 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/jupyter_resource_usage/static/main.js b/jupyter_resource_usage/static/main.js index 69a4dae..0a1e6f5 100644 --- a/jupyter_resource_usage/static/main.js +++ b/jupyter_resource_usage/static/main.js @@ -17,6 +17,7 @@ define([ $('#maintoolbar-container').append( $('
').attr('id', 'jupyter-resource-usage-display-cpu') .addClass('btn-group') + .addClass('jupyter-resource-usage-hide') .addClass('pull-right').append( $('').text(' CPU: ') ).append( @@ -28,6 +29,9 @@ define([ $('head').append( $('