bulk-confirm-popup.php
4 years ago
common-confirm-popup.php
4 years ago
elements_style.php
4 years ago
filters.php
4 years ago
navbar.php
3 years ago
pagination.php
4 years ago
purchase-history-filter.php
4 years ago
search-filter.php
4 years ago
search-filter.php
44 lines
| 1 | <?php if ( isset( $data ) ) : ?> |
| 2 | |
| 3 | <div class="tutor-admin-page-filters" style="display: flex; justify-content: space-between"> |
| 4 | <?php if ( $data['bulk_action'] ) : ?> |
| 5 | <div class="tutor-admin-bulk-action-wrapper"> |
| 6 | <form action="" method="post"> |
| 7 | <div class="tutor-bulk-action-group"> |
| 8 | <select name="bulk-action" id="tutor-backend-bulk-action"> |
| 9 | <?php foreach( $data['bulk_actions'] as $k => $v) : ?> |
| 10 | <option value="<?php esc_attr_e( $v['value'] ); ?>"> |
| 11 | <?php esc_html_e( $v['option'] ); ?> |
| 12 | </option> |
| 13 | <?php endforeach; ?> |
| 14 | </select> |
| 15 | <button type="button" class="tutor-btn"> |
| 16 | <?php esc_html_e( 'Apply', 'tutor' ); ?> |
| 17 | </button> |
| 18 | </div> |
| 19 | </form> |
| 20 | </div> |
| 21 | <?php endif; ?> |
| 22 | <?php if ( isset( $data['search_filter'] ) && true === $data['search_filter'] ) : ?> |
| 23 | <div class="tutor-admin-page-search-filter-wrapper"> |
| 24 | <form> |
| 25 | <div class="tutor-form-group select-with-input" style="display: flex; align-items: center; column-gap: 15px;"> |
| 26 | <select name="tutor-admin-search-by" id="tutor-admin-search-by"> |
| 27 | <option value="course"> |
| 28 | <?php esc_html_e( 'Course', 'tutor' ); ?> |
| 29 | </option> |
| 30 | <option value="student"> |
| 31 | <?php esc_html_e( 'Student', 'tutor' ); ?> |
| 32 | </option> |
| 33 | </select> |
| 34 | <input type="text" name="tutor-admin-search-by" id="tutor-admin-search-by"> |
| 35 | <button type="button" class="tutor-btn"> |
| 36 | <?php esc_html_e( 'Apply', 'tutor' ); ?> |
| 37 | </button> |
| 38 | </div> |
| 39 | </form> |
| 40 | </div> |
| 41 | <?php endif; ?> |
| 42 | </div> |
| 43 | <?php endif; ?> |
| 44 |