final-integration-form-delete.php
6 years ago
migrate-dismiss-confirmation.php
6 years ago
modal-integration.php
5 years ago
modal-migrate-aweber.php
5 years ago
modal-migrate-ctct.php
6 years ago
modal-preview.php
5 years ago
remove-active-integration.php
6 years ago
remove-active-integration.php
121 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Modal for a heads up when removing a global integration when it's in use in a module. |
| 4 | * |
| 5 | * @package Hustle |
| 6 | * @since 4.0.0 |
| 7 | */ |
| 8 | |
| 9 | ?> |
| 10 | <div class="sui-modal sui-modal-sm"> |
| 11 | |
| 12 | <div |
| 13 | role="dialog" |
| 14 | id="hustle-dialog--remove-active" |
| 15 | class="sui-modal-content" |
| 16 | aria-modal="true" |
| 17 | aria-labelledby="hustle-dialog--remove-active-title" |
| 18 | aria-describedby="hustle-dialog--remove-active-description" |
| 19 | > |
| 20 | |
| 21 | <div class="sui-box"> |
| 22 | |
| 23 | <div class="sui-box-header sui-content-center sui-flatten sui-spacing-top--60"> |
| 24 | |
| 25 | <button class="sui-button-icon sui-button-float--right hustle-modal-close" data-modal-close> |
| 26 | <span class="sui-icon-close sui-md" aria-hidden="true"></span> |
| 27 | <span class="sui-screen-reader-text"><?php esc_html_e( 'Close this dialog window', 'hustle' ); ?></span> |
| 28 | </button> |
| 29 | |
| 30 | <button id="hustle-remove-active-integration-back" class="sui-button-icon sui-button-float--left"> |
| 31 | <span class="sui-icon-chevron-left sui-md" aria-hidden="true"></span> |
| 32 | <span class="sui-screen-reader-text"><?php esc_html_e( 'Return to previous step', 'hustle' ); ?></span> |
| 33 | </button> |
| 34 | |
| 35 | <figure class="sui-box-logo" aria-hidden="true"></figure> |
| 36 | |
| 37 | <h3 id="hustle-dialog--remove-active-title" class="sui-box-title sui-lg"></h3> |
| 38 | |
| 39 | <p id="hustle-dialog--remove-active-description" class="sui-description"></p> |
| 40 | |
| 41 | </div> |
| 42 | |
| 43 | <div class="sui-box-body sui-content-center"> |
| 44 | |
| 45 | <div id="hustle-integration-active-modules" class="hustle-active-module-list"> |
| 46 | |
| 47 | <span class="sui-label" style="padding-left: 10px;"><?php esc_html_e( 'Modules', 'hustle' ); ?></span> |
| 48 | |
| 49 | <table class="sui-table hui-table--apps-off"> |
| 50 | |
| 51 | <tbody></tbody> |
| 52 | |
| 53 | </table> |
| 54 | |
| 55 | </div> |
| 56 | |
| 57 | </div> |
| 58 | |
| 59 | <div class="sui-box-footer sui-flatten sui-content-separated"> |
| 60 | |
| 61 | <button class="sui-button sui-button-ghost" data-modal-close> |
| 62 | <?php esc_html_e( 'Cancel', 'hustle' ); ?> |
| 63 | </button> |
| 64 | |
| 65 | <button id="hustle-remove-active-button" class="sui-button sui-button-ghost sui-button-red"> |
| 66 | <span class="sui-loading-text"><?php esc_html_e( 'Disconnect anyway', 'hustle' ); ?></span> |
| 67 | <span class="sui-icon-loader sui-loading" aria-hidden="true"></span> |
| 68 | </button> |
| 69 | |
| 70 | </div> |
| 71 | |
| 72 | </div> |
| 73 | |
| 74 | </div> |
| 75 | |
| 76 | </div> |
| 77 | |
| 78 | <script id="hustle-modules-active-integration-tpl" type="text/template"> |
| 79 | |
| 80 | <tr> |
| 81 | |
| 82 | <td class="sui-table-item-title"> |
| 83 | |
| 84 | <span class="hui-app--wrap"> |
| 85 | <span class="hui-app--title"><span class="sui-icon-{{type}}" aria-hidden="true"></span> {{name}}</span> |
| 86 | <span class="hui-app--link"><a href="{{editUrl}}" target="_blank" class="sui-button-icon"> |
| 87 | <span class="sui-icon-pencil" aria-hidden="true"></span> |
| 88 | <span class="sui-screen-reader-text"><?php esc_html_e( 'Edit your module integrations', 'hustle' ); ?></span> |
| 89 | </a></span> |
| 90 | </span> |
| 91 | |
| 92 | </td> |
| 93 | |
| 94 | </tr> |
| 95 | |
| 96 | </script> |
| 97 | |
| 98 | <script id="hustle-modules-active-integration-img-tpl" type="text/template"> |
| 99 | |
| 100 | <?php // Image. The sample in SUI has srcet. ?> |
| 101 | <img |
| 102 | src="{{ image }}" |
| 103 | alt="{{ title }}" |
| 104 | /> |
| 105 | |
| 106 | </script> |
| 107 | |
| 108 | <script id="hustle-modules-active-integration-header-tpl" type="text/template"> |
| 109 | |
| 110 | <?php // Title. ?> |
| 111 | <?php esc_html_e( 'Disconnect ', 'hustle' ); ?> {{ title }} |
| 112 | |
| 113 | </script> |
| 114 | |
| 115 | <script id="hustle-modules-active-integration-desc-tpl" type="text/template"> |
| 116 | |
| 117 | <?php // Description. ?> |
| 118 | {{title}}<?php esc_html_e( " is active (collecting data) on the following modules. Are you sure you wish to disconnect it? Note that if disconnecting this app results into modules without an active app, we'll activate the Hustle's Local List for those modules.", 'hustle' ); ?> |
| 119 | |
| 120 | </script> |
| 121 |