From 92fd7c66f16b83682191a46c51e1b4f8ad2dde81 Mon Sep 17 00:00:00 2001 From: olli Date: Fri, 6 Oct 2023 16:51:37 +0200 Subject: [PATCH] charts.min.css --- dabo/functions/webpage.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dabo/functions/webpage.sh b/dabo/functions/webpage.sh index 6c4d4b6..192d513 100644 --- a/dabo/functions/webpage.sh +++ b/dabo/functions/webpage.sh @@ -8,7 +8,7 @@ function genchart { local divideby=$(echo "$highest+$lowest" | bc -l) local color="green" tail -n1 "${file}" | grep -q "^-" && color="red" - + echo "
" for mark in $(cat "${file}") @@ -22,6 +22,10 @@ function genchart { function webpage { g_echo_note "RUNNING FUNCTION ${FUNCNAME} $@" + + # Get charts.css + [ -e ../charts.min.css ] || wget -q https://raw.githubusercontent.com/ChartsCSS/charts.css/main/dist/charts.min.css -O ../charts.min.css + # create status webpage echo '
$file