From c0d3d73f016f607e2b25e7346ca6f5e4cdbce51f Mon Sep 17 00:00:00 2001 From: f0o Date: Thu, 22 Jan 2015 16:22:19 +0000 Subject: [PATCH] Use bootstrap's progressbar to display bars --- html/includes/functions.inc.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/html/includes/functions.inc.php b/html/includes/functions.inc.php index 76eb2cb320..8d056e06b3 100644 --- a/html/includes/functions.inc.php +++ b/html/includes/functions.inc.php @@ -367,13 +367,15 @@ function print_percentage_bar($width, $height, $percent, $left_text, $left_colou if ($percent > "100") { $size_percent = "100"; } else { $size_percent = $percent; } $output = ' -
-
-
-
'.$left_text.'
-
'.$right_text.'
+
+
+
-
'; +
+ '.$left_text.' + '.$right_text.' +
+'; return $output; }