view-counter
1 year ago
block-by-role.blade.php
1 year ago
block-ips.blade.php
1 year ago
capabilities.blade.php
1 year ago
dark-mode.blade.php
2 years ago
delete.blade.php
1 year ago
disable-admin-toolbar-analytics.blade.php
2 years ago
disable-views-column.blade.php
1 year ago
disable-widget.blade.php
2 years ago
email-reports.blade.php
1 year ago
export-data.blade.php
2 years ago
export-reports.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
pruner.blade.php
1 year ago
refresh-salt.blade.php
2 years ago
track-authenticated-users.blade.php
2 years ago
view-counter.blade.php
2 years ago
woocommerce.blade.php
1 year ago
delete.blade.php
62 lines
| 1 | <div data-controller="reset-analytics delete-data" class="export-settings settings-container"> |
| 2 | <div class="heading"> |
| 3 | <h2><?php esc_html_e('Danger zone', 'independent-analytics'); ?></h2> |
| 4 | <a class="tutorial-link" href="https://independentwp.com/knowledgebase/data/delete-all-data/" target="_blank"> |
| 5 | <?php esc_html_e('Read Tutorial', 'independent-analytics'); ?> |
| 6 | </a> |
| 7 | </div> |
| 8 | <div class="button-group"> |
| 9 | <button id="reset-analytics-button" data-action="click->reset-analytics#open" |
| 10 | class="iawp-button red"> |
| 11 | <?php esc_html_e('Reset analytics', 'independent-analytics'); ?> |
| 12 | </button> |
| 13 | <button id="delete-everything-button" data-action="click->delete-data#open" |
| 14 | class="iawp-button red"> |
| 15 | <?php esc_html_e('Delete all data & deactivate plugin', 'independent-analytics'); ?> |
| 16 | </button> |
| 17 | </div> |
| 18 | <div id="reset-analytics-modal" aria-hidden="true" class="mm micromodal-slide"> |
| 19 | <div tabindex="-1" class="mm__overlay" data-action="click->reset-analytics#close"> |
| 20 | <div role="dialog" aria-modal="true" aria-labelledby="reset-analytics-modal-title" |
| 21 | class="mm__container"> |
| 22 | <h1><?php esc_html_e('Reset analytics', 'independent-analytics'); ?></h1> |
| 23 | <p> |
| 24 | <?php esc_html_e('You are about to reset your analytics. This will delete all of the data and return all stats to zero.', 'independent-analytics'); ?> |
| 25 | </p> |
| 26 | <p><?php printf(esc_html__('Type "%s" in the input below to confirm.', 'independent-analytics'), 'Reset analytics'); ?></p> |
| 27 | <form data-action="submit->reset-analytics#submit"> |
| 28 | <input type="text" autofocus data-reset-analytics-target="input" |
| 29 | data-action="input->reset-analytics#updateConfirmation" class="block-input"> |
| 30 | <button type="submit" class="iawp-button red" |
| 31 | data-reset-analytics-target="submit"><?php esc_html_e('Reset analytics', 'independent-analytics'); ?></button> |
| 32 | <button type="button" class="iawp-button ghost-purple" |
| 33 | data-micromodal-close><?php esc_html_e('Cancel', 'independent-analytics'); ?></button> |
| 34 | </form> |
| 35 | </div> |
| 36 | </div> |
| 37 | </div> |
| 38 | <div id="delete-data-modal" aria-hidden="true" class="mm micromodal-slide"> |
| 39 | <div tabindex="-1" class="mm__overlay" data-action="click->delete-data#close"> |
| 40 | <div role="dialog" aria-modal="true" aria-labelledby="delete-data-modal-title" |
| 41 | class="mm__container"> |
| 42 | <h1><?php esc_html_e('Delete all data', 'independent-analytics'); ?></h1> |
| 43 | <p> |
| 44 | <?php esc_html_e('You are about to delete all data associated with Independent Analytics. This includes all analytics data and settings.', 'independent-analytics'); ?> |
| 45 | </p> |
| 46 | <p> |
| 47 | <?php esc_html_e('The plugin will be deactivated immediately after all data is deleted.', 'independent-analytics'); ?> |
| 48 | </p> |
| 49 | <p><?php printf(esc_html__('Type "%s" in the input below to confirm.', 'independent-analytics'), 'Delete all data'); ?></p> |
| 50 | <form data-action="submit->delete-data#submit"> |
| 51 | <input type="text" autofocus data-delete-data-target="input" |
| 52 | data-action="input->delete-data#updateConfirmation" class="block-input"> |
| 53 | <button type="submit" class="iawp-button red" |
| 54 | data-delete-data-target="submit"><?php esc_html_e('Delete all data', 'independent-analytics'); ?></button> |
| 55 | <button type="button" class="iawp-button ghost-purple" |
| 56 | data-micromodal-close><?php esc_html_e('Cancel', 'independent-analytics'); ?></button> |
| 57 | </form> |
| 58 | </div> |
| 59 | </div> |
| 60 | </div> |
| 61 | </div> |
| 62 |