| @@ -152,60 +152,8 @@ | ||
| 152 | 152 | <span>Include current user information (username, email)</span> |
| 153 | 153 | </label> |
| 154 | 154 | </div> |
| 155 | 155 | |
| 156 | - <!-- Temporary Support Access Section --> | |
| 157 | - <div class="metasync-form-group metasync-support-access-section" style="padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1);"> | |
| 158 | - <div class="metasync-support-access-header"> | |
| 159 | - <label class="metasync-form-label"> | |
| 160 | - <strong>Grant Temporary Support Access</strong> | |
| 161 | - <span class="metasync-optional-badge" style="background: rgba(255, 255, 255, 0.1); padding: 2px 8px; border-radius: 3px; font-size: 11px; margin-left: 8px; color: #888;">Optional</span> | |
| 162 | - </label> | |
| 163 | - <p class="metasync-form-help-text" style="color: #888; font-size: 13px; margin-top: 8px; line-height: 1.5;"> | |
| 164 | - Allow <?php echo esc_html($plugin_name); ?> support staff to temporarily access your WordPress admin to investigate and resolve this issue. | |
| 165 | - </p> | |
| 166 | - </div> | |
| 167 | - | |
| 168 | - <div class="metasync-checkbox-wrapper" style="margin: 20px 0;"> | |
| 169 | - <label class="metasync-checkbox-label"> | |
| 170 | - <input type="checkbox" id="metasync_grant_support_access" name="grant_support_access" /> | |
| 171 | - <span>I consent to grant temporary admin access to <?php echo esc_html($plugin_name); ?> support</span> | |
| 172 | - </label> | |
| 173 | - </div> | |
| 174 | - | |
| 175 | - <div id="metasync_support_access_options" class="metasync-support-access-options" style="display: none; margin-top: 20px; padding: 20px; background: rgba(255, 255, 255, 0.03); border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.1);"> | |
| 176 | - <label for="metasync_access_duration" class="metasync-form-label" style="display: block; margin-bottom: 10px;"> | |
| 177 | - <strong>Access Duration</strong> | |
| 178 | - </label> | |
| 179 | - <select id="metasync_access_duration" name="access_duration" class="metasync-form-select" style="width: 100%; padding: 8px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.05); color: #fff;"> | |
| 180 | - <option value="3600">1 hour</option> | |
| 181 | - <option value="14400">4 hours</option> | |
| 182 | - <option value="28800">8 hours</option> | |
| 183 | - <option value="86400" selected>24 hours (Recommended)</option> | |
| 184 | - <option value="172800">48 hours</option> | |
| 185 | - <option value="604800">7 days</option> | |
| 186 | - <option value="1209600">14 days</option> | |
| 187 | - <option value="2592000">30 days</option> | |
| 188 | - </select> | |
| 189 | - | |
| 190 | - <div class="metasync-security-notice" style="margin-top: 20px; padding: 15px; background: rgba(30, 144, 255, 0.1); border-left: 4px solid #1e90ff; border-radius: 4px;"> | |
| 191 | - <div style="display: flex; gap: 10px;"> | |
| 192 | - <span class="metasync-security-icon"><span class="dashicons dashicons-lock" style="font-size:20px;width:20px;height:20px;color:#1e90ff;"></span></span> | |
| 193 | - <div class="metasync-security-text" style="flex: 1;"> | |
| 194 | - <strong style="color: #1e90ff; display: block; margin-bottom: 8px;">Security Information:</strong> | |
| 195 | - <ul style="margin: 0; padding-left: 20px; font-size: 13px; color: #aaa; line-height: 1.6;"> | |
| 196 | - <li>Access expires automatically after the selected duration</li> | |
| 197 | - <li>You can revoke access at any time from Settings → Support Access</li> | |
| 198 | - <li>A secure JWT token will be sent with your report</li> | |
| 199 | - <li>Token is valid only for this WordPress site</li> | |
| 200 | - <li>All authentication attempts are logged</li> | |
| 201 | - </ul> | |
| 202 | - </div> | |
| 203 | - </div> | |
| 204 | - </div> | |
| 205 | - </div> | |
| 206 | - </div> | |
| 207 | - | |
| 208 | 156 | <div class="metasync-form-actions"> |
| 209 | 157 | <button type="submit" class="button button-primary button-large" id="metasync-submit-report-btn"> |
| 210 | 158 | <span class="metasync-btn-text"><span class="dashicons dashicons-upload" style="margin-top:9px;font-size:15px;width:15px;height:15px;"></span> Submit Report</span> |
| 211 | 159 | <span class="metasync-btn-loading"> |