No changes
This commit is contained in:
parent
8680a02b13
commit
b6b398f5bf
17374 changed files with 2475441 additions and 0 deletions
6
ControlPanel/modules/status/include/status_functions.php
Normal file
6
ControlPanel/modules/status/include/status_functions.php
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
function drawBarDiv($percent, $type){
|
||||
$percent = round($percent, 2); // Round it to two decimal places
|
||||
echo '<div class="progress"><div class="progress-bar inline-block" data="' . $percent . '" type="' . $type . '" title="' . strtoupper($type) . ' Percentage Use: ' . $percent . '%"></div></div>';
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue