| 1 |
<?php |
| 2 |
/** |
| 3 |
* Template for displaying orders statistics tab Users statistics page. |
| 4 |
*/ |
| 5 |
?> |
| 6 |
|
| 7 |
<div class="lp-admin-statistics-tab-content"> |
| 8 |
<div class="btn-group btn-group-filter"> |
| 9 |
<button class="btn-filter-time active" type="button" data-filter="today" ><?php _e( 'Today', 'learnpress' ); ?></button> |
| 10 |
<!-- <button class="btn-filter-time" type="button" data-filter="yesterday" ><?php _e( 'Yesterday', 'learnpress' ); ?></button> --> |
| 11 |
<button class="btn-filter-time" type="button" data-filter="last7days" ><?php _e( 'Last 7 days', 'learnpress' ); ?></button> |
| 12 |
<button class="btn-filter-time" type="button" data-filter="last30days" ><?php _e( 'Last 30 days', 'learnpress' ); ?></button> |
| 13 |
<!-- <button class="btn-filter-time" type="button" data-filter="thismonth" ><?php _e( 'This month', 'learnpress' ); ?></button> --> |
| 14 |
<button class="btn-filter-time" type="button" data-filter="last12months"><?php _e( 'Last 12 months', 'learnpress' ); ?></button> |
| 15 |
<button class="btn-filter-time" type="button" data-filter="thisyear" ><?php _e( 'This year', 'learnpress' ); ?></button> |
| 16 |
<button class="btn-filter-time" type="button" data-filter="custom" ><?php _e( 'Custom', 'learnpress' ); ?></button> |
| 17 |
<div class="custom-filter-time"> |
| 18 |
<input type="date" id="ct-filter-1" /> |
| 19 |
<input type="date" id="ct-filter-2"> |
| 20 |
<button class="custom-filter-btn button button-primary" type="button"><?php _e( 'Filter', 'learnpress' ); ?></button> |
| 21 |
</div> |
| 22 |
</div> |
| 23 |
<div class="statistics-content"> |
| 24 |
<input class="statistics-type" type="hidden" value="users-statistics"> |
| 25 |
<div class="statistics-group"> |
| 26 |
<div class="statistics-item"> |
| 27 |
<span class="statistics-item-title"><?php _e( 'Users activated', 'learnpress' ); ?></span> |
| 28 |
<span class="statistics-item-count statistics-user-actived">0</span> |
| 29 |
</div> |
| 30 |
<div class="statistics-item"> |
| 31 |
<span class="statistics-item-title"><?php _e( 'Instructors', 'learnpress' ); ?></span> |
| 32 |
<span class="statistics-item-count statistics-instructors">0</span> |
| 33 |
</div> |
| 34 |
<div class="statistics-item"> |
| 35 |
<span class="statistics-item-title"><?php _e( 'Students', 'learnpress' ); ?></span> |
| 36 |
<span class="statistics-item-count statistics-students">0</span> |
| 37 |
</div> |
| 38 |
<div class="statistics-item"> |
| 39 |
<span class="statistics-item-title"><?php _e( 'Inprogress', 'learnpress' ); ?></span> |
| 40 |
<span class="statistics-item-count statistics-graduration in-progress">0</span> |
| 41 |
</div> |
| 42 |
<div class="statistics-item"> |
| 43 |
<span class="statistics-item-title"><?php _e( 'Finished', 'learnpress' ); ?></span> |
| 44 |
<span class="statistics-item-count statistics-graduration finished">0</span> |
| 45 |
</div> |
| 46 |
<div class="statistics-item"> |
| 47 |
<span class="statistics-item-title"><?php _e( 'Not Started', 'learnpress' ); ?></span> |
| 48 |
<span class="statistics-item-count statistics-not-started">0</span> |
| 49 |
</div> |
| 50 |
</div> |
| 51 |
<h3 class="statistics-title"><?php _e( 'Registed Users', 'learnpress' ); ?></h3> |
| 52 |
<div id="user-chart" class="statistics-chart-wrapper"> |
| 53 |
<?php lp_skeleton_animation_html( 10, 100 ); ?> |
| 54 |
<canvas id="user-chart-content" style="display: none;"></canvas> |
| 55 |
</div> |
| 56 |
<div class="sold-course-analytics"> |
| 57 |
<div class="col-50"> |
| 58 |
<div class="col-50-contents"> |
| 59 |
<h4 class="top-course-analytics-title"><?php _e( 'Top Courses By Students', 'learnpress' ); ?></h4> |
| 60 |
<?php lp_skeleton_animation_html( 10, 100 ); ?> |
| 61 |
<ul class="top-course-by-student"></ul> |
| 62 |
</div> |
| 63 |
</div> |
| 64 |
<div class="col-50"> |
| 65 |
<div class="col-50-contents"> |
| 66 |
<h4 class="top-course-analytics-title"><?php _e( 'Top Instructors By Students Enrolled Times', 'learnpress' ); ?></h4> |
| 67 |
<?php lp_skeleton_animation_html( 10, 100 ); ?> |
| 68 |
<ul class="top-intructor-by-student"></ul> |
| 69 |
</div> |
| 70 |
</div> |
| 71 |
</div> |
| 72 |
</div> |
| 73 |
</div> |
| 74 |
|