From 4ac8c183095f9b73345abbf247392ad00e76d644 Mon Sep 17 00:00:00 2001 From: steven-y-e Date: Mon, 15 Mar 2021 19:01:38 -0400 Subject: [PATCH] fix(functions): print drive hard code program svgs instead of attempting to construct via css --- public/css/base.css | 20 -------------------- public/php/functions.php | 12 ++++++++---- 2 files changed, 8 insertions(+), 24 deletions(-) diff --git a/public/css/base.css b/public/css/base.css index 8a5a620..488a68a 100644 --- a/public/css/base.css +++ b/public/css/base.css @@ -7,26 +7,6 @@ header, #drives, #services, footer { float: left; width: 20%; } -.chart { - height: 80%; - width: 80%; - viewBox: 0 0 20 20; -} -circle { - cx: 10; - cy: 10; -} -.pie { - fill: #bbb; - r: 10; -} -.piece { - stroke: #312c4c; - r: 5; - fill: transparent; - stroke-width: 10; - transform: rotate(-90) translate(-20); -} h5 { text-align: left; margin: 0.5em 3em; diff --git a/public/php/functions.php b/public/php/functions.php index 5bd3c61..da487f8 100644 --- a/public/php/functions.php +++ b/public/php/functions.php @@ -36,15 +36,19 @@

' . $drive->name . '

' . $drive->description . '

- - - + + +
Free Space: ' . getByteString($drive->spaceFree) . '
Used Space: ' . getByteString($drive->spaceUsed) . '
';