| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <div class="container mt-3 py-4">
- <h2>Tests</h2>
- <?php
- if(empty($tests)) {
- ?>
- <div class="alert alert-info">
- 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="Begin" data-toggle="tooltip"><i class="fal fa-play"></i></a>
- </div>
- </div>
- </div>
- <?php
- }
- ?>
- </div>
- <?php
- }
- ?>
- </div>
|