From 24e523b706bbe7c0a0972cec6955d95ea0d4ac3e Mon Sep 17 00:00:00 2001 From: deadlocker8 <deadlocker@gmx.de> Date: Sat, 20 Aug 2016 19:56:30 +0200 Subject: [PATCH] finished implementation --- index.php | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/index.php b/index.php index f07fb95..e0b0bc5 100644 --- a/index.php +++ b/index.php @@ -3,16 +3,11 @@ $backgroundColor = "#FFFFFF"; $fontColor = "#444444"; -$percentage = 75; -// in vmin (useful between 0 and 100) -$elementSize = 35; -$progressColor = "#81c784"; -$strokeWidth = "8"; - $items = array( - array("title" => "VideoShowCase", "percentage" => "75", "size" => "35", "progressColor" => "#81c784", "strokeWidth" => "8"), - array("title" => "Progress", "percentage" => "33", "size" => "25", "progressColor" => "#ff0000", "strokeWidth" => "20") - + array("title" => "Codera", "percentage" => "100", "size" => "35", "progressColor" => "#81c784", "strokeWidth" => "8"), + array("title" => "LicenseManagerWeb", "percentage" => "70", "size" => "35", "progressColor" => "#81c784", "strokeWidth" => "8"), + array("title" => "LicenseManagerClient", "percentage" => "40", "size" => "35", "progressColor" => "#81c784", "strokeWidth" => "8"), + array("title" => "VideoShowCase", "percentage" => "65", "size" => "35", "progressColor" => "#81c784", "strokeWidth" => "8") ); function hex2rgb($hex) @@ -36,7 +31,7 @@ function hex2rgb($hex) } $rgb = hex2rgb($backgroundColor); -$progressBackgroundColor = 'rgba('.$rgb[0].', '.$rgb[1].', '.$rgb[2].', 0.9)'; +$progressBackgroundColor = 'rgba('.$rgb[0].', '.$rgb[1].', '.$rgb[2].', 0.8)'; ?> <html> -- GitLab