consent-logs-modal.php
42 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Consent logs modal template. |
| 4 | * |
| 5 | * This template can be used in both students and instructors pages. |
| 6 | * |
| 7 | * @package Tutor\Views |
| 8 | * @since 4.0.0 |
| 9 | */ |
| 10 | |
| 11 | defined( 'ABSPATH' ) || exit; |
| 12 | |
| 13 | ?> |
| 14 | <div class="tutor-modal" id="tutor-consent-logs-modal" role="dialog" aria-modal="true" aria-labelledby="tutor-consent-logs-title" aria-hidden="true"> |
| 15 | <div class="tutor-modal-overlay" data-tutor-modal-close></div> |
| 16 | <div class="tutor-modal-window"> |
| 17 | <div class="tutor-modal-content tutor-modal-content-white"> |
| 18 | <button type="button" class="tutor-iconic-btn tutor-modal-close-o" data-tutor-modal-close aria-label="<?php esc_attr_e( 'Close', 'tutor' ); ?>"> |
| 19 | <span class="tutor-icon-times" aria-hidden="true"></span> |
| 20 | </button> |
| 21 | |
| 22 | <div class="tutor-modal-header tutor-p-24 tutor-border-bottom"> |
| 23 | <h3 id="tutor-consent-logs-title" class="tutor-fs-5 tutor-fw-medium tutor-color-black tutor-m-0"><?php esc_html_e( 'Consent logs', 'tutor' ); ?></h3> |
| 24 | </div> |
| 25 | |
| 26 | <div class="tutor-modal-body tutor-p-24 tutor-consent-logs-modal-body" style="max-height: 60vh; overflow-y: auto;"> |
| 27 | <div class="tutor-d-flex tutor-align-center tutor-justify-center tutor-py-48 tutor-color-muted tutor-fs-6"><?php esc_html_e( 'Loading...', 'tutor' ); ?></div> |
| 28 | </div> |
| 29 | |
| 30 | <div class="tutor-modal-footer tutor-p-24 tutor-d-flex tutor-justify-end tutor-gap-1"> |
| 31 | <button type="button" class="tutor-btn tutor-btn-ghost tutor-mr-8" data-tutor-modal-close> |
| 32 | <?php esc_html_e( 'Cancel', 'tutor' ); ?> |
| 33 | </button> |
| 34 | <button type="button" class="tutor-btn tutor-btn-secondary" data-consent-logs-download style="display: none;"> |
| 35 | <span class="tutor-icon-download tutor-mr-8" aria-hidden="true"></span> |
| 36 | <?php esc_html_e( 'Download CSV', 'tutor' ); ?> |
| 37 | </button> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | </div> |
| 42 |