view-counter
11 months ago
appearance.blade.php
11 months ago
block-by-role.blade.php
11 months ago
block-ips.blade.php
11 months ago
capabilities.blade.php
11 months ago
delete.blade.php
11 months 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
11 months ago
export-reports.blade.php
11 months ago
first-day-of-week.blade.php
2 years ago
index.blade.php
2 years ago
pruner.blade.php
11 months 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
11 months ago
delete.blade.php
88 lines
| 1 | <div data-controller="reset-analytics delete-data reset-overview" 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"><?php |
| 9 | if ($is_pro) : ?> |
| 10 | <button id="reset-overview" data-action="click->reset-overview#open" |
| 11 | class="iawp-button red"> |
| 12 | <?php esc_html_e('Reset overview report', 'independent-analytics'); ?> |
| 13 | </button><?php |
| 14 | endif; ?> |
| 15 | <button id="reset-analytics-button" data-action="click->reset-analytics#open" |
| 16 | class="iawp-button red"> |
| 17 | <?php esc_html_e('Reset analytics', 'independent-analytics'); ?> |
| 18 | </button> |
| 19 | <button id="delete-everything-button" data-action="click->delete-data#open" |
| 20 | class="iawp-button red"> |
| 21 | <?php esc_html_e('Delete all data & deactivate plugin', 'independent-analytics'); ?> |
| 22 | </button> |
| 23 | </div> |
| 24 | <div id="reset-overview-modal" aria-hidden="true" class="mm micromodal-slide"> |
| 25 | <div tabindex="-1" class="mm__overlay" data-action="click->reset-overview#close"> |
| 26 | <div role="dialog" aria-modal="true" aria-labelledby="reset-overview-modal-title" |
| 27 | class="mm__container"> |
| 28 | <h1><?php esc_html_e('Reset overview report', 'independent-analytics'); ?></h1> |
| 29 | <p> |
| 30 | <?php esc_html_e('You are about to reset your modules on the overview report. All modules will be deleted and the default modules will be restored. This does not impact your analytics data.', 'independent-analytics'); ?> |
| 31 | </p> |
| 32 | <p><?php printf(esc_html__('Type "%s" in the input below to confirm.', 'independent-analytics'), 'Reset overview report'); ?></p> |
| 33 | <form data-action="submit->reset-overview#submit"> |
| 34 | <input type="text" autofocus data-reset-overview-target="input" |
| 35 | data-action="input->reset-overview#updateConfirmation" class="block-input"> |
| 36 | <button type="submit" class="iawp-button red" |
| 37 | data-reset-overview-target="submit"><?php esc_html_e('Reset overview report', 'independent-analytics'); ?></button> |
| 38 | <button type="button" class="iawp-button ghost-purple" |
| 39 | data-micromodal-close><?php esc_html_e('Cancel', 'independent-analytics'); ?></button> |
| 40 | </form> |
| 41 | </div> |
| 42 | </div> |
| 43 | </div> |
| 44 | <div id="reset-analytics-modal" aria-hidden="true" class="mm micromodal-slide"> |
| 45 | <div tabindex="-1" class="mm__overlay" data-action="click->reset-analytics#close"> |
| 46 | <div role="dialog" aria-modal="true" aria-labelledby="reset-analytics-modal-title" |
| 47 | class="mm__container"> |
| 48 | <h1><?php esc_html_e('Reset analytics', 'independent-analytics'); ?></h1> |
| 49 | <p> |
| 50 | <?php esc_html_e('You are about to reset your analytics. This will delete all analytics data and reset all stats to zero. All saved reports will be reset.', 'independent-analytics'); ?> |
| 51 | </p> |
| 52 | <p><?php printf(esc_html__('Type "%s" in the input below to confirm.', 'independent-analytics'), 'Reset analytics'); ?></p> |
| 53 | <form data-action="submit->reset-analytics#submit"> |
| 54 | <input type="text" autofocus data-reset-analytics-target="input" |
| 55 | data-action="input->reset-analytics#updateConfirmation" class="block-input"> |
| 56 | <button type="submit" class="iawp-button red" |
| 57 | data-reset-analytics-target="submit"><?php esc_html_e('Reset analytics', 'independent-analytics'); ?></button> |
| 58 | <button type="button" class="iawp-button ghost-purple" |
| 59 | data-micromodal-close><?php esc_html_e('Cancel', 'independent-analytics'); ?></button> |
| 60 | </form> |
| 61 | </div> |
| 62 | </div> |
| 63 | </div> |
| 64 | <div id="delete-data-modal" aria-hidden="true" class="mm micromodal-slide"> |
| 65 | <div tabindex="-1" class="mm__overlay" data-action="click->delete-data#close"> |
| 66 | <div role="dialog" aria-modal="true" aria-labelledby="delete-data-modal-title" |
| 67 | class="mm__container"> |
| 68 | <h1><?php esc_html_e('Delete all data', 'independent-analytics'); ?></h1> |
| 69 | <p> |
| 70 | <?php esc_html_e('You are about to delete all data associated with Independent Analytics. This includes all analytics data and settings.', 'independent-analytics'); ?> |
| 71 | </p> |
| 72 | <p> |
| 73 | <?php esc_html_e('The plugin will be deactivated immediately after all data is deleted.', 'independent-analytics'); ?> |
| 74 | </p> |
| 75 | <p><?php printf(esc_html__('Type "%s" in the input below to confirm.', 'independent-analytics'), 'Delete all data'); ?></p> |
| 76 | <form data-action="submit->delete-data#submit"> |
| 77 | <input type="text" autofocus data-delete-data-target="input" |
| 78 | data-action="input->delete-data#updateConfirmation" class="block-input"> |
| 79 | <button type="submit" class="iawp-button red" |
| 80 | data-delete-data-target="submit"><?php esc_html_e('Delete all data', 'independent-analytics'); ?></button> |
| 81 | <button type="button" class="iawp-button ghost-purple" |
| 82 | data-micromodal-close><?php esc_html_e('Cancel', 'independent-analytics'); ?></button> |
| 83 | </form> |
| 84 | </div> |
| 85 | </div> |
| 86 | </div> |
| 87 | </div> |
| 88 |