reports-template.php
51 lines
| 1 | <?php |
| 2 | // Reports page markup |
| 3 | // #reports-app is replaced by React app |
| 4 | ?> |
| 5 | <div id="reports-app"> |
| 6 | <div class="wrap give-settings-page"> |
| 7 | <div class="give-settings-header"> |
| 8 | <h1 class="wp-heading-inline"> |
| 9 | <?php _e( 'Reports', 'give' ); ?> |
| 10 | </h1> |
| 11 | <div class="givewp-inline-period-selector"> |
| 12 | <div class="givewp-period-selector"> |
| 13 | <div class="group"> |
| 14 | <button> |
| 15 | <?php _e( 'Day', 'give' ); ?> |
| 16 | </button> |
| 17 | <button class="selected"> |
| 18 | <?php _e( 'Week', 'give' ); ?> |
| 19 | </button> |
| 20 | <button> |
| 21 | <?php _e( 'Month', 'give' ); ?> |
| 22 | </button> |
| 23 | <button> |
| 24 | <?php _e( 'Year', 'give' ); ?> |
| 25 | </button> |
| 26 | <button> |
| 27 | <?php _e( 'All Time', 'give' ); ?> |
| 28 | </button> |
| 29 | </div> |
| 30 | </div> |
| 31 | </div> |
| 32 | </div> |
| 33 | <div class="nav-tab-wrapper give-nav-tab-wrapper" style="height: auto; overflow: visible;"> |
| 34 | <a class="nav-tab nav-tab-active" href="#/"> |
| 35 | <?php _e( 'Overview', 'give' ); ?> |
| 36 | </a> |
| 37 | <a class="nav-tab" href="http://givewp.local/wp-admin/edit.php?post_type=give_forms&page=give-reports&legacy=1"> |
| 38 | <?php _e( 'Legacy Reports', 'give' ); ?> |
| 39 | </a> |
| 40 | </div> |
| 41 | <div class="givewp-loading-notice"> |
| 42 | <div class="givewp-loading-notice__card"> |
| 43 | <div class="givewp-spinner"></div> |
| 44 | <h2> |
| 45 | <?php echo __( 'Loading your latest', 'give' ) . '<br>' . __( 'donation activity', 'give' ); ?> |
| 46 | </h2> |
| 47 | </div> |
| 48 | </div> |
| 49 | </div> |
| 50 | </div> |
| 51 |