PluginProbe
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF / 1.9.13
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF v1.9.13
2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.9 2.2.8 trunk 1.10 1.3.3 1.3.4 1.3.5 1.3.5.1 1.3.5.2 1.3.6 1.3.6.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 All 103 releases
imagify / views / part-bulk-optimization-table.php

part-bulk-optimization-table.php in Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF 1.9.13, at views/part-bulk-optimization-table.php

78 lines 2.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
3 ?>
4
5 <div class="imagify-bulk-table">
6 <div class="imagify-table-header imagify-flex imagify-vcenter imagify-resting">
7 <div class="imagify-th-titles imagify-flex imagify-vcenter">
8 <span class="dashicons dashicons-<?php echo $data['icon']; ?>"></span>
9 <div class="imagify-th-titles">
10 <p class="imagify-th-title"><?php echo $data['title']; ?></p>
11 </div>
12 </div>
13
14 <div class="imagify-th-action">
15 <button class="button imagify-button-clean imagify-show-table-details" type="button" data-label-show="<?php esc_attr_e( 'View Details', 'imagify' ); ?>" data-label-hide="<?php esc_attr_e( 'Hide Details', 'imagify' ); ?>">
16 <?php esc_html_e( 'View Details', 'imagify' ); ?>
17 <span class="dashicons dashicons-menu"></span>
18 </button>
19 </div>
20 </div>
21
22 <div class="imagify-bulk-table-content">
23 <div class="imagify-bulk-table-container">
24 <table class="imagify-bulk-table-details hidden" aria-hidden="true">
25 <thead>
26 </thead>
27 <tbody>
28 </tbody>
29 </table>
30
31 <div aria-hidden="true" class="imagify-row-progress hidden">
32 <div class="media-item">
33 <div class="progress">
34 <div class="bar"><div class="percent">0%</div></div>
35 </div>
36 </div>
37 </div>
38
39 <table>
40 <thead>
41 <tr class="screen-reader-text">
42 <th class="imagify-cell-checkbox"><?php esc_html_e( 'Group selection', 'imagify' ); ?></th>
43 <th class="imagify-cell-title"><?php esc_html_e( 'Group name', 'imagify' ); ?></th>
44 <th class="imagify-cell-count-optimized"><?php esc_html_e( 'Number of images optimized', 'imagify' ); ?></th>
45 <th class="imagify-cell-count-errors"><?php esc_html_e( 'Errors', 'imagify' ); ?></th>
46 <th class="imagify-cell-optimized-size-size"><?php esc_html_e( 'Optimized Size', 'imagify' ); ?></th>
47 <th class="imagify-cell-original-size-size"><?php esc_html_e( 'Original Size', 'imagify' ); ?></th>
48 <th class="imagify-cell-level"><?php esc_html_e( 'Level Selection', 'imagify' ); ?></th>
49 </tr>
50 </thead>
51 <tbody>
52 <?php
53 foreach ( $data['groups'] as $group ) {
54 $context_data = Imagify_Admin_Ajax_Post::get_instance()->get_bulk_instance( $group['context'] )->get_context_data();
55 $group = array_merge( $group, $context_data );
56
57 $this->print_template( 'part-bulk-optimization-table-row-folder-type', $group );
58 }
59 ?>
60 </tbody>
61 </table>
62 </div><!-- .imagify-bulk-table-container -->
63 </div><!-- .imagify-bulk-table-content -->
64
65 <?php
66 foreach ( $data['groups'] as $group ) {
67 ?>
68 <script type="text/html" id="tmpl-imagify-file-header-<?php echo $group['group_id']; ?>">
69 <?php $this->print_template( 'part-bulk-optimization-header-row-' . $group['group_id'] ); ?>
70 </script>
71 <script type="text/html" id="tmpl-imagify-file-row-<?php echo $group['group_id']; ?>">
72 <?php $this->print_template( 'part-bulk-optimization-underscore-file-row-' . $group['group_id'] ); ?>
73 </script>
74 <?php
75 }
76 ?>
77 </div>
78