all-images-smushed-notice.php
2 years ago
circle-progress-bar.php
2 years ago
footer-links.php
2 years ago
footer-plugins-upsell.php
2 years ago
meta-box-footer.php
2 years ago
progress-bar.php
2 years ago
recheck-images-notice.php
2 years ago
scan-progress-bar.php
2 years ago
summary-segment.php
2 years ago
summary-segment.php
39 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @var string $human_bytes |
| 4 | * @var int $resize_count Number of resizes images. |
| 5 | * @var int $total_optimized Total nubmer of images optimized. |
| 6 | * @var string|int $stats_percent |
| 7 | */ |
| 8 | |
| 9 | ?> |
| 10 | <div class="sui-summary-segment"> |
| 11 | <div class="sui-summary-details"> |
| 12 | <span class="sui-summary-large wp-smush-stats-human"> |
| 13 | <?php echo esc_html( $human_bytes ); ?> |
| 14 | </span> |
| 15 | <span class="sui-summary-detail wp-smush-savings"> |
| 16 | /<span class="wp-smush-stats-percent"><?php echo esc_html( $stats_percent ); ?></span>% </span> |
| 17 | <span class="sui-summary-sub"> |
| 18 | <?php esc_html_e( 'Total Savings', 'wp-smushit' ); ?> |
| 19 | </span> |
| 20 | <span class="smushed-items-count"> |
| 21 | <span class="wp-smush-count-total"> |
| 22 | <span class="sui-summary-detail wp-smush-total-optimised"> |
| 23 | <?php echo esc_html( $total_optimized ); ?> |
| 24 | </span> |
| 25 | <span class="sui-summary-sub"> |
| 26 | <?php esc_html_e( 'Images Smushed', 'wp-smushit' ); ?> |
| 27 | </span> |
| 28 | </span> |
| 29 | <span class="wp-smush-count-resize-total <?php echo $resize_count > 0 ? '' : 'sui-hidden'; ?>"> |
| 30 | <span class="sui-summary-detail wp-smush-total-optimised"> |
| 31 | <?php echo esc_html( $resize_count ); ?> |
| 32 | </span> |
| 33 | <span class="sui-summary-sub"> |
| 34 | <?php esc_html_e( 'Images Resized', 'wp-smushit' ); ?> |
| 35 | </span> |
| 36 | </span> |
| 37 | </span> |
| 38 | </div> |
| 39 | </div> |