|
@@ -49,19 +49,26 @@ $exclude_project_ids = array_column($exclude_projects, "id");
|
|
|
<?php
|
|
<?php
|
|
|
Html::renderStat("Test Count", $test_count);
|
|
Html::renderStat("Test Count", $test_count);
|
|
|
|
|
|
|
|
- foreach($projects as $project) {
|
|
|
|
|
- $percentage = $project->getCompletedPercentage();
|
|
|
|
|
|
|
+ ?>
|
|
|
|
|
+ <div class="list-group">
|
|
|
|
|
+ <?php
|
|
|
|
|
+ foreach($projects as $project) {
|
|
|
|
|
+ $percentage = $project->getCompletedPercentage();
|
|
|
|
|
+ ?>
|
|
|
|
|
+ <a class="list-group-item list-group-item-action text-nowrap" style="font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis;" href="/account/projects/<?=$project->id?>">
|
|
|
|
|
+ <?=htmlspecialchars($project->name)?>
|
|
|
|
|
+ <div class="progress">
|
|
|
|
|
+ <div class="progress-bar" role="progressbar" aria-valuenow="<?=$percentage?>" aria-valuemin="0" aria-valuemax="100" style="width: <?=$percentage?>%">
|
|
|
|
|
+
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </a>
|
|
|
|
|
+ <?php
|
|
|
|
|
+ }
|
|
|
?>
|
|
?>
|
|
|
- <div class="card card-body py-2">
|
|
|
|
|
- <strong><?=htmlspecialchars($project->name)?></strong>
|
|
|
|
|
- <div class="progress">
|
|
|
|
|
- <div class="progress-bar" role="progressbar" aria-valuenow="<?=$percentage?>" aria-valuemin="0" aria-valuemax="100" style="width: <?=$percentage?>%">
|
|
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <?php
|
|
|
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- <?php
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
?>
|
|
?>
|
|
|
</div>
|
|
</div>
|