|
|
|
@ -25,19 +25,11 @@
@@ -25,19 +25,11 @@
|
|
|
|
|
<?php foreach ($bardata as $bar) { ?> |
|
|
|
|
|
|
|
|
|
<p><?php echo $bar['naam']; ?> |
|
|
|
|
<?php if ($bar['percentage'] == 100) {?> |
|
|
|
|
<div class="progress"> |
|
|
|
|
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="<?php echo $bar['percentage']; ?>" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo $bar['percentage']; ?>%">
|
|
|
|
|
<span class="sr-only"><?php echo $bar['percentage']; ?>% Complete</span>
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<?php } else { ?> |
|
|
|
|
<div class="progress"> |
|
|
|
|
<div class="progress-bar" role="progressbar" aria-valuenow="<?php echo $bar['percentage']; ?>" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo $bar['percentage']; ?>%">
|
|
|
|
|
<span class="sr-only"><?php echo $bar['percentage']; ?>% Complete</span>
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<?php } ?> |
|
|
|
|
</p> |
|
|
|
|
<?php } ?> |
|
|
|
|
</p> |
|
|
|
|