view-counter
2 years ago
block-by-role.blade.php
2 years ago
block-ips.blade.php
2 years ago
capabilities.blade.php
2 years ago
dark-mode.blade.php
2 years ago
delete.blade.php
2 years ago
disable-admin-toolbar-analytics.blade.php
2 years ago
email-reports.blade.php
2 years ago
export.blade.php
2 years ago
first-day-of-week.blade.php
2 years ago
index.blade.php
2 years ago
notice.blade.php
2 years ago
track-authenticated-users.blade.php
2 years ago
view-counter.blade.php
2 years ago
delete.blade.php
37 lines
| 1 | <div data-controller="delete-data" class="export-settings settings-container"> |
| 2 | <h2><?php esc_html_e('Danger zone', 'independent-analytics') ?></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', 'independent-analytics'); ?> |
| 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', 'independent-analytics'); ?></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.', 'independent-analytics'); ?> |
| 23 | </p> |
| 24 | <p><?php printf(esc_html__('Type "%s" in the input below to confirm.', 'independent-analytics'), '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', 'independent-analytics'); ?></button> |
| 30 | <button type="button" class="iawp-button ghost-purple" |
| 31 | data-micromodal-close><?php esc_html_e('Cancel', 'independent-analytics'); ?></button> |
| 32 | </form> |
| 33 | </div> |
| 34 | </div> |
| 35 | </div> |
| 36 | </div> |
| 37 |