|
|
@@ -1,41 +0,0 @@
|
|
|
-<div class="container mt-3 py-4">
|
|
|
-
|
|
|
- <h2><?=htmlspecialchars(__("Tests"))?></h2>
|
|
|
-
|
|
|
- <?php
|
|
|
-
|
|
|
- if(empty($tests)) {
|
|
|
- ?>
|
|
|
- <div class="alert alert-info">
|
|
|
- <?=htmlspecialchars(__("You have no assigned tests at this time."))?>
|
|
|
- </div>
|
|
|
- <?php
|
|
|
- }
|
|
|
- else {
|
|
|
- ?>
|
|
|
- <div class="list-group">
|
|
|
- <?php
|
|
|
- foreach($tests as $test) {
|
|
|
- $location = $test->getLocation();
|
|
|
- ?>
|
|
|
- <div class="list-group-item">
|
|
|
- <div class="row">
|
|
|
- <div class="col-md">
|
|
|
- <?=htmlspecialchars($location->name)?><br />
|
|
|
- <?=htmlspecialchars($location->getDisplayAddress())?>
|
|
|
- </div>
|
|
|
- <div class="col-auto align-self-center">
|
|
|
- <a class="btn btn-outline-primary" href="/account/tests/<?=$test->id?>" title="<?=htmlspecialchars(__("Begin"))?>" data-toggle="tooltip"><i class="fal fa-play"></i></a>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <?php
|
|
|
- }
|
|
|
- ?>
|
|
|
- </div>
|
|
|
- <?php
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- ?>
|
|
|
-</div>
|