| 1 |
<?php |
| 2 |
/** |
| 3 |
* Template for displaying orders statistics tab Overview statistics page. |
| 4 |
*/ |
| 5 |
?> |
| 6 |
<div class="lp-admin-statistics-tab-content"> |
| 7 |
<div class="btn-group btn-group-filter"> |
| 8 |
<button class="btn-filter-time active" type="button" data-filter="today" ><?php _e( 'Today', 'learnpress' ); ?></button> |
| 9 |
<!-- <button class="btn-filter-time" type="button" data-filter="yesterday" ><?php _e( 'Yesterday', 'learnpress' ); ?></button> --> |
| 10 |
<button class="btn-filter-time" type="button" data-filter="last7days" ><?php _e( 'Last 7 days', 'learnpress' ); ?></button> |
| 11 |
<button class="btn-filter-time" type="button" data-filter="last30days" ><?php _e( 'Last 30 days', 'learnpress' ); ?></button> |
| 12 |
<!-- <button class="btn-filter-time" type="button" data-filter="thismonth" ><?php _e( 'This month', 'learnpress' ); ?></button> --> |
| 13 |
<button class="btn-filter-time" type="button" data-filter="last12months"><?php _e( 'Last 12 months', 'learnpress' ); ?></button> |
| 14 |
<button class="btn-filter-time" type="button" data-filter="thisyear" ><?php _e( 'This year', 'learnpress' ); ?></button> |
| 15 |
<button class="btn-filter-time" type="button" data-filter="custom" ><?php _e( 'Custom', 'learnpress' ); ?></button> |
| 16 |
<div class="custom-filter-time"> |
| 17 |
<input type="date" id="ct-filter-1" /> |
| 18 |
<input type="date" id="ct-filter-2"> |
| 19 |
<button class="custom-filter-btn button button-primary" type="button"><?php _e( 'Filter', 'learnpress' ); ?></button> |
| 20 |
</div> |
| 21 |
</div> |
| 22 |
<div class="statistics-content"> |
| 23 |
<div class="statistics-group group-statistic-overview"> |
| 24 |
<input class="statistics-type" type="hidden" value="overview-statistics"> |
| 25 |
<div class="statistics-item"> |
| 26 |
<span class="statistics-item-title"><?php _e( 'Total Sales', 'learnpress' ); ?></span> |
| 27 |
<span class="statistics-item-count total-sales">0</span> |
| 28 |
</div> |
| 29 |
<div class="statistics-item"> |
| 30 |
<span class="statistics-item-title"><?php _e( 'Total Orders', 'learnpress' ); ?></span> |
| 31 |
<span class="statistics-item-count total-orders">0</span> |
| 32 |
</div> |
| 33 |
<div class="statistics-item"> |
| 34 |
<span class="statistics-item-title"><?php _e( 'Total Courses', 'learnpress' ); ?></span> |
| 35 |
<span class="statistics-item-count total-courses">0</span> |
| 36 |
</div> |
| 37 |
<div class="statistics-item"> |
| 38 |
<span class="statistics-item-title"><?php _e( 'Total Instructors', 'learnpress' ); ?></span> |
| 39 |
<span class="statistics-item-count total-instructors">0</span> |
| 40 |
</div> |
| 41 |
<div class="statistics-item"> |
| 42 |
<span class="statistics-item-title"><?php _e( 'Total Students', 'learnpress' ); ?></span> |
| 43 |
<span class="statistics-item-count total-students">0</span> |
| 44 |
</div> |
| 45 |
</div> |
| 46 |
<h3 class="statistics-title"><?php _e( 'Net Sales', 'learnpress' ); ?></h3> |
| 47 |
<div id="net-sales-chart" class="statistics-chart-wrapper"> |
| 48 |
<?php lp_skeleton_animation_html( 10, 100 ); ?> |
| 49 |
<canvas id="net-sales-chart-content" style="display: none;"></canvas> |
| 50 |
</div> |
| 51 |
<div class="sold-course-analytics"> |
| 52 |
<div class="col-50"> |
| 53 |
<div class="col-50-contents"> |
| 54 |
<h5 class="top-course-analytics-title"><?php _e( 'Top Courses Sold', 'learnpress' ); ?></h5> |
| 55 |
<?php lp_skeleton_animation_html( 10, 100 ); ?> |
| 56 |
<ul class="top-course-sold"></ul> |
| 57 |
</div> |
| 58 |
</div> |
| 59 |
<div class="col-50"> |
| 60 |
<div class="col-50-contents"> |
| 61 |
<h5 class="top-course-analytics-title"><?php _e( 'Top Categories Sold', 'learnpress' ); ?></h5> |
| 62 |
<?php lp_skeleton_animation_html( 10, 100 ); ?> |
| 63 |
<ul class="top-category-sold"></ul> |
| 64 |
</div> |
| 65 |
</div> |
| 66 |
</div> |
| 67 |
</div> |
| 68 |
</div> |
| 69 |
|