view_counter
3 years ago
block_ips.php
3 years ago
capabilities.php
3 years ago
dark_mode.php
3 years ago
delete.php
3 years ago
export.php
3 years ago
first_day_of_week.php
3 years ago
index.php
3 years ago
notice.php
3 years ago
track_authenticated_users.php
3 years ago
view_counter.php
3 years ago
delete.php
37 lines
| 1 | <div data-controller="delete-data" class="export-settings settings-container"> |
| 2 | <h2><?php esc_html_e('Danger zone', 'iawp') ?></h2> |
| 3 | <div class="button-group"> |
| 4 | <button id="delete-everything-button" data-action="click->delete-data#open" |
| 5 | class="iawp-button ghost-red"> |
| 6 | <?php esc_html_e('Delete all data', 'iawp'); ?> |
| 7 | </button> |
| 8 | </div> |
| 9 | <div id="delete-data-modal" aria-hidden="true" class="mm micromodal-slide"> |
| 10 | <div tabindex="-1" class="mm__overlay" data-action="click->delete-data#close"> |
| 11 | <div role="dialog" aria-modal="true" aria-labelledby="delete-data-modal-title" |
| 12 | class="mm__container"> |
| 13 | <h1><?php esc_html_e('Delete all data', 'iawp'); ?></h1> |
| 14 | <p> |
| 15 | <strong> |
| 16 | <?php echo sanitize_text_field($site_name); ?> |
| 17 | <br/> |
| 18 | <?php echo esc_url($site_url); ?> |
| 19 | </strong> |
| 20 | </p> |
| 21 | <p> |
| 22 | <?php esc_html_e('You are about to delete all analytics data associated with Independent Analytics. This includes all views, referrers, and settings.', 'iawp'); ?> |
| 23 | </p> |
| 24 | <p><?php printf(esc_html__('Type "%s" in the input below to confirm.', 'iawp'), 'Delete all data'); ?></p> |
| 25 | <form data-action="submit->delete-data#submit"> |
| 26 | <input type="text" autofocus data-delete-data-target="input" |
| 27 | data-action="input->delete-data#updateConfirmation" class="block-input"> |
| 28 | <button type="submit" class="iawp-button purple" |
| 29 | data-delete-data-target="submit"><?php esc_html_e('Delete all data', 'iawp'); ?></button> |
| 30 | <button type="button" class="iawp-button ghost-purple" |
| 31 | data-micromodal-close><?php esc_html_e('Cancel', 'iawp'); ?></button> |
| 32 | </form> |
| 33 | </div> |
| 34 | </div> |
| 35 | </div> |
| 36 | </div> |
| 37 |