From 13543425015536c31c25a24ed3b850ffab908a96 Mon Sep 17 00:00:00 2001 From: Philipp Klaus Date: Mon, 18 Sep 2017 10:56:40 +0200 Subject: [PATCH] DASH: put sparkline styles in their own CSS --- python_suite/dashboard/static/css/sparkline.css | 13 +++++++++++++ python_suite/dashboard/views/pv_overview.jinja2 | 17 +---------------- 2 files changed, 14 insertions(+), 16 deletions(-) create mode 100644 python_suite/dashboard/static/css/sparkline.css diff --git a/python_suite/dashboard/static/css/sparkline.css b/python_suite/dashboard/static/css/sparkline.css new file mode 100644 index 0000000..76ded71 --- /dev/null +++ b/python_suite/dashboard/static/css/sparkline.css @@ -0,0 +1,13 @@ +/* Sparklines Styling */ +path { + stroke-width: 1; + fill: none; +} +.focus circle { + fill: none; + stroke: steelblue; +} +.overlay { + fill: none; + pointer-events: all; +} diff --git a/python_suite/dashboard/views/pv_overview.jinja2 b/python_suite/dashboard/views/pv_overview.jinja2 index 49be202..2a8c687 100644 --- a/python_suite/dashboard/views/pv_overview.jinja2 +++ b/python_suite/dashboard/views/pv_overview.jinja2 @@ -4,22 +4,7 @@ {% block header %} - - + {% endblock %} -- 2.43.0