Changeset 3054358
- Timestamp:
- 03/19/2024 11:03:44 AM (5 months ago)
- Location:
- itpathsolutions-media-cleaner-and-database-optimizer
- Files:
-
- 42 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
itpathsolutions-media-cleaner-and-database-optimizer/trunk/README.txt
r3040101 r3054358 5 5 Tested up to: 6.4 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 07 Stable tag: 1.0. 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 54 54 == Changelog == 55 55 56 57 58 59 60 56 61 = 1.0.0 = 57 62 * Initial Release 63 -
itpathsolutions-media-cleaner-and-database-optimizer/trunk/admin/css/aiowc-admin.css
r3039192 r3054358 162 162 } 163 163 164 #media_list_wrapper .delete-item-button, #media_list_wrapper .all_delete_media { 165 border: none; 164 #media_list_wrapper .delete-item-button { 166 165 background: transparent; 167 color: red; 168 font-weight: 600; 169 text-transform: uppercase; 166 color: rgb(231, 50, 50); 167 font-weight: 600; 168 text-transform: uppercase; 169 padding: 8px 8px; 170 border-radius: 50%; 171 display: inline-block; 172 border: 2px solid rgb(231, 50, 50); 173 transition: .3s; 174 } 175 #media_list_wrapper .delete-item-button:hover{ 176 background-color: rgb(231, 50, 50); 177 transform: scale(1.2); 178 transition: .3s; 179 color: #fff; 180 } 181 #media_list_wrapper .all_delete_media { 182 background: transparent; 183 color: rgb(231, 50, 50); 184 font-weight: 600; 185 text-transform: uppercase; 186 display: inline-block; 187 transition: .3s; 188 } 189 #media_list_wrapper .all_delete_media:hover { 190 transform: scale(1.2); 191 transition: .3s; 170 192 } 171 193 #media_list_wrapper ul.pagination, #media_list_wrapper ul.pagination li { … … 197 219 width:400px !important; 198 220 } 221 222 223 224 225 226 227 228 -
itpathsolutions-media-cleaner-and-database-optimizer/trunk/admin/js/aiowc-admin.js
r3039192 r3054358 321 321 if(jQuery('#media_list').length){ 322 322 new DataTable('#media_list', { 323 ordering: false 323 ordering: true, 324 columnDefs: [ 325 { targets: [1,3,7], orderable: false } 326 ] 324 327 }); 325 328 } … … 338 341 atLeastOneChecked = true; 339 342 340 if (checkedCount > 2) {343 if (checkedCount > 2) { 341 344 alert("You can delete a maximum of two images."); 342 345 jQuery(this).prop("checked", false); 343 346 return false; 344 } 347 } 345 348 } 346 349 }); -
itpathsolutions-media-cleaner-and-database-optimizer/trunk/admin/partials/aiowc-admin-display.php
r3039192 r3054358 35 35 <div class="card h-md-100 ecommerce-card-min-width"> 36 36 <div class="card-header pb-0"> 37 <h6 class="mb-0 mt-2 d-flex align-items-center"><?php esc_html_e('Plugins Details', 'aiowc'); ?></h6>37 <h6 class="mb-0 mt-2 d-flex align-items-center"><?php esc_html_e('Plugins ', 'aiowc'); ?></h6> 38 38 </div> 39 39 <div class="card-body d-flex flex-column"> … … 44 44 <div class="col-auto d-flex align-items-center pe-3 plugin_chart_data"> 45 45 <span class="dot bg-primary color" data-color="#ff6e00" style="background-color: #ff6e00 !important;"></span> 46 <span class="title"><?php esc_html_e('Inactive Plugin ', 'aiowc'); ?> </span>46 <span class="title"><?php esc_html_e('Inactive Plugin', 'aiowc'); ?> </span> 47 47 <span class="d-none d-md-inline-block d-lg-none d-xxl-inline-block value"><?php echo esc_html($inactive_plugins_count); ?></span> 48 48 </div> 49 49 <div class="col-auto d-flex align-items-center pe-3 plugin_chart_data"> 50 50 <span class="dot bg-info color" data-color="#00a6ff" style="background-color: #00a6ff !important;"></span> 51 <span class="title"><?php esc_html_e('Active Plugin ', 'aiowc'); ?> </span>51 <span class="title"><?php esc_html_e('Active Plugin', 'aiowc'); ?> </span> 52 52 <span class="d-none d-md-inline-block d-lg-none d-xxl-inline-block value"><?php echo esc_html($activePlugins); ?></span> 53 53 </div> … … 59 59 <div class="card h-md-100 ecommerce-card-min-width"> 60 60 <div class="card-header pb-0"> 61 <h6 class="mb-0 mt-2 d-flex align-items-center"><?php esc_html_e('Media File Details', 'aiowc'); ?></h6>61 <h6 class="mb-0 mt-2 d-flex align-items-center"><?php esc_html_e('Media File', 'aiowc'); ?></h6> 62 62 </div> 63 63 <div class="card-body d-flex flex-column"> … … 68 68 <div class="col-auto d-flex align-items-center pe-3 media_chart_data"> 69 69 <span class="dot bg-primary color" data-color="#523759" style="background-color: #523759 !important;"></span> 70 <span class="title"><?php esc_html_e(' UseMedia File', 'aiowc'); ?> </span>70 <span class="title"><?php esc_html_e(' Media File', 'aiowc'); ?> </span> 71 71 <span class="d-none d-md-inline-block d-lg-none d-xxl-inline-block value"><?php echo esc_html($use_media_count); ?></span> 72 72 </div> 73 73 <div class="col-auto d-flex align-items-center pe-3 media_chart_data"> 74 74 <span class="dot bg-info color" data-color="#9c5435" style="background-color: #9c5435 !important;"></span> 75 <span class="title"><?php esc_html_e(' AllMedia File', 'aiowc'); ?> </span>76 <span class="d-none d-md-inline-block d-lg-none d-xxl-inline-block value"><?php echo esc_html(array_sum((array)$total_media_count) ); ?></span>75 <span class="title"><?php esc_html_e(' Media File', 'aiowc'); ?> </span> 76 <span class="d-none d-md-inline-block d-lg-none d-xxl-inline-block value"><?php echo esc_html(array_sum((array)$total_media_count)); ?></span> 77 77 </div> 78 78 </div> … … 83 83 <div class="card h-md-100 ecommerce-card-min-width"> 84 84 <div class="card-header pb-0"> 85 <h6 class="mb-0 mt-2 d-flex align-items-center"><?php esc_html_e('Theme Details', 'aiowc'); ?></h6>85 <h6 class="mb-0 mt-2 d-flex align-items-center"><?php esc_html_e('Theme ', 'aiowc'); ?></h6> 86 86 </div> 87 87 <div class="card-body d-flex flex-column"> … … 92 92 <div class="col-auto d-flex align-items-center pe-3 theme_chart_data"> 93 93 <span class="dot bg-primary color" data-color="#00203f" style="background-color: #00203f !important;"></span> 94 <span class="title"><?php esc_html_e('Inactive Theme ', 'aiowc'); ?> </span>94 <span class="title"><?php esc_html_e('Inactive Theme', 'aiowc'); ?> </span> 95 95 <span class="d-none d-md-inline-block d-lg-none d-xxl-inline-block value"><?php echo esc_html($inactive_themes_count); ?></span> 96 96 </div> 97 97 <div class="col-auto d-flex align-items-center pe-3 theme_chart_data"> 98 98 <span class="dot bg-info color" data-color="#adf0d1" style="background-color: #adf0d1 !important;"></span> 99 <span class="title"><?php esc_html_e(' TotalTheme', 'aiowc'); ?> </span>100 <span class="d-none d-md-inline-block d-lg-none d-xxl-inline-block value"><?php echo esc_html($all_themes ); ?></span>99 <span class="title"><?php esc_html_e(' Theme', 'aiowc'); ?> </span> 100 <span class="d-none d-md-inline-block d-lg-none d-xxl-inline-block value"><?php echo esc_html($all_themes); ?></span> 101 101 </div> 102 102 </div> … … 109 109 <div class="card h-md-100 ecommerce-card-min-width"> 110 110 <div class="card-header pb-0"> 111 <h6 class="mb-0 mt-2 d-flex align-items-center"><?php esc_html_e('Data Table Details', 'aiowc'); ?></h6>111 <h6 class="mb-0 mt-2 d-flex align-items-center"><?php esc_html_e('Data', 'aiowc'); ?></h6> 112 112 </div> 113 113 <div class="card-body d-flex flex-column"> -
itpathsolutions-media-cleaner-and-database-optimizer/trunk/admin/partials/aiowc-admin-table-display.php
r3039192 r3054358 82 82 <div class="row mt-4"> 83 83 <div class="d-flex justify-content-between align-items-center"> 84 <h5><?php esc_html_e(' All Database Details', 'aiowc');?></h5>84 <h5><?php esc_html_e('', 'aiowc');?></h5> 85 85 <div class="cleaner_optimize_wrapper"> 86 86 <div class="clean_table"> -
itpathsolutions-media-cleaner-and-database-optimizer/trunk/admin/partials/aiowc-media-display.php
r3039192 r3054358 27 27 <thead class="bg-body-tertiary"> 28 28 <tr class="font-sans-serif"> 29 <th><a href="javascript:;" class="all_delete_media" style="display: none;"><?php esc_html_e('Delete','aiowc'); ?></a></th> 30 <th class="text-900 fw-medium sort pe-1 align-middle"><?php esc_html_e('Image','aiowc'); ?></th> 31 <th class="text-900 fw-medium sort pe-1 align-middle file_name_title"><?php esc_html_e('File Name','aiowc'); ?></th> 32 <th class="text-900 fw-medium sort pe-1 align-middle"><?php esc_html_e('File Size','aiowc'); ?></th> 33 <th class="text-900 fw-medium sort pe-1 align-middle"><?php esc_html_e('File Count','aiowc'); ?></th> 34 <th class="text-900 fw-medium sort pe-1 align-middle img_size_list"><?php esc_html_e('Image List','aiowc'); ?></th> 29 <th><a href="javascript:;" class="all_delete_media" style="display: none;"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" /> 30 </svg></a></th> 31 <th class="text-900 fw-medium sort pe-1 align-middle sort-disabled"><?php esc_html_e('Media','aiowc'); ?></th> 32 <th class="text-900 fw-medium sort pe-1 align-middle file_name_title"><?php esc_html_e('Media Name','aiowc'); ?></th> 33 <th class="text-900 fw-medium sort pe-1 align-middle sort-disabled"><?php esc_html_e('Media Size','aiowc'); ?></th> 34 <th class="text-900 fw-medium sort pe-1 align-middle"><?php esc_html_e('Media Count','aiowc'); ?></th> 35 <th class="text-900 fw-medium sort pe-1 align-middle img_size_list"><?php esc_html_e('Media Size Lists','aiowc'); ?></th> 35 36 <th class="text-900 fw-medium sort pe-1 align-middle"><?php esc_html_e('Used In','aiowc'); ?></th> 36 <th class="text-900 fw-medium sort pe-1 align-middle data-table-row-action "><?php esc_html_e('Action','aiowc'); ?></th>37 <th class="text-900 fw-medium sort pe-1 align-middle data-table-row-action"><?php esc_html_e('Action','aiowc'); ?></th> 37 38 </tr> 38 39 </thead> … … 137 138 </td> 138 139 <td class="align-middle title desc"> 139 <a href="javascript:void(0)" class="delete-item-button" data-media_id="<?php echo esc_attr( $id ); ?>"><?php esc_html_e('Delete','aiowc'); ?></a> 140 <a href="javascript:void(0)" class="delete-item-button" data-media_id="<?php echo esc_attr( $id ); ?>"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" /> 141 </svg></a> 140 142 </td> 141 143 </tr> -
itpathsolutions-media-cleaner-and-database-optimizer/trunk/aiowc.php
r3039205 r3054358 17 17 * Plugin URI: https://wordpress.org/plugins/itpathsolutions-media-cleaner-and-database-optimizer/ 18 18 * Description: The most powerful tool for clearing unused media from your website and optimizing your database to boost site performance. 19 * Version: 1.0. 019 * Version: 1.0. 20 20 * Author: IT Path Solutions 21 21 * Author URI: https://www.itpathsolutions.com/ … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'AIOWC_VERSION', '1.0. 0' );38 define( 'AIOWC_VERSION', '1.0.' ); 39 39 40 40 define( 'AIOWC_PLUGIN_BASENAME', basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );
Note: See TracChangeset
for help on using the changeset viewer.