| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- $unix_default = strtotime("+7 DAYS");
- $selected_year = date("Y", $unix_default);
- $selected_month = date("n", $unix_default);
- $selected_day = date("j", $unix_default);
- ?>
- <div class="modal fade" id="modal-test-claim" tabindex="-1" role="dialog" data-backdrop="static">
- <div class="modal-dialog modal-lg" role="document">
- <div class="modal-content">
- <form>
- <div class="modal-header">
- <h5 class="modal-title"><strong><?=htmlspecialchars(__("Confirm Selected Tests"))?></strong></h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close" id="modal-close-button">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <p><?=htmlspecialchars(__("You have selected the following tests:"))?></p>
- <div class="list-group limit-height-2 mb-3">
- </div>
- <p><?=htmlspecialchars(__("The due date is:"))?> <strong class="text-danger"><?=date("l jS F", $unix_default)?></strong></p>
- <p><?=htmlspecialchars(__("By confirming, you agree that:"))?></p>
- <ul>
- <li><?=htmlspecialchars(__("You will execute these tests by the due date displayed above."))?></li>
- <li><?=htmlspecialchars(__("Failure to complete tests by the due date without good reason may result in the tests being unassigned from yourself and limit your ability to claim tests in the future."))?></li>
- </ul>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-secondary" id="claim-cancel-button" data-dismiss="modal"><?=htmlspecialchars(__("Cancel"))?></button>
- <button type="button" class="btn btn-primary" id="claim-confirm-button"><?=htmlspecialchars(__("Confirm"))?></button>
- <a class="btn btn-primary" id="claim-finish-button" style="display: none;" href="/account/tests/available"><?=htmlspecialchars(__("Finish"))?></a>
- </div>
- </form>
- </div>
- </div>
- </div>
|