/
home
/
altere25
/
.trash
/
wp-to-sanity-companion-1.2
/
/home/altere25/.trash/wp-to-sanity-companion-1.2
mkdir
upload
Name
Size
Mode
Actions
assets/
-
0755
rm
includes/
-
0755
rm
templates/
-
0755
rm
assets\css\admin.css
7611
0644
edit
dl
rm
assets\js\admin.js
8534
0644
edit
dl
rm
assets\js\claude-connect.js
6502
0644
edit
dl
rm
includes\class-ad-admin.php
26374
0644
edit
dl
rm
includes\class-ad-ai-client.php
8153
0644
edit
dl
rm
includes\class-ad-auth.php
9189
0644
edit
dl
rm
includes\class-ad-cli.php
8669
0644
edit
dl
rm
includes\class-ad-extractor.php
12210
0644
edit
dl
rm
includes\class-ad-mcp.php
6429
0644
edit
dl
rm
includes\class-ad-plugin-core.php
7947
0644
edit
dl
rm
includes\class-ad-progress.php
8022
0644
edit
dl
rm
includes\class-ad-rest.php
31008
0644
edit
dl
rm
includes\class-ad-uninstall.php
1924
0644
edit
dl
rm
includes\class-ad-webhook.php
14854
0644
edit
dl
rm
templates\admin\claude-connect.php
5152
0644
edit
dl
rm
templates\admin\dashboard.php
10457
0644
edit
dl
rm
templates\admin\export.php
16570
0644
edit
dl
rm
templates\admin\log.php
10849
0644
edit
dl
rm
templates\admin\onboarding-v2.php
3827
0644
edit
dl
rm
templates\admin\onboarding.php
10714
0644
edit
dl
rm
templates\admin\progress.php
2443
0644
edit
dl
rm
templates\admin\schema-preview.php
5213
0644
edit
dl
rm
uninstall.php
365
0644
edit
dl
rm
wp-to-sanity-companion.php
4269
0644
edit
dl
rm
Edit:
/home/altere25/.trash/wp-to-sanity-companion-1.2/templates\admin\progress.php
(2443B)
<?php /** * Progress dashboard — Altered Digital Migration * * Real-time migration progress backed by the Worker's /v2/migrations * endpoint (via AD_Progress). The JS ADProgress class polls every 5s. */ if (!defined('ABSPATH')) { exit; } $settings = AD_Plugin_Core::instance()->settings(); $connected = !empty($settings['service_url']) && !empty($settings['admin_token']); ?> <div class="wrap ad-progress-page"> <h1><?php echo esc_html__('Migration Progress', 'altered-digital'); ?></h1> <?php if (!$connected): ?> <div class="notice notice-warning"><p><?php esc_html_e('Connect to the Altered Digital Worker first to see real-time progress.', 'altered-digital'); ?></p></div> <?php endif; ?> <div class="ad-progress-summary"> <div class="ad-stat-card"><span class="ad-stat-num" id="ad-stat-total">—</span><span class="ad-stat-label"><?php esc_html_e('Total', 'altered-digital'); ?></span></div> <div class="ad-stat-card"><span class="ad-stat-num" id="ad-stat-success">—</span><span class="ad-stat-label"><?php esc_html_e('Succeeded', 'altered-digital'); ?></span></div> <div class="ad-stat-card"><span class="ad-stat-num" id="ad-stat-pending">—</span><span class="ad-stat-label"><?php esc_html_e('Pending', 'altered-digital'); ?></span></div> <div class="ad-stat-card"><span class="ad-stat-num" id="ad-stat-failed">—</span><span class="ad-stat-label"><?php esc_html_e('Failed', 'altered-digital'); ?></span></div> </div> <div class="ad-progress-bar-wrap"> <div class="ad-progress-bar"><div class="ad-progress-fill" id="ad-progress-fill"></div></div> <span class="ad-progress-pct" id="ad-progress-pct">—%</span> </div> <h2><?php esc_html_e('Recent activity', 'altered-digital'); ?></h2> <table class="widefat striped" id="ad-progress-table"> <thead><tr> <th><?php esc_html_e('Post ID', 'altered-digital'); ?></th> <th><?php esc_html_e('Action', 'altered-digital'); ?></th> <th><?php esc_html_e('Status', 'altered-digital'); ?></th> <th><?php esc_html_e('Sanity ID', 'altered-digital'); ?></th> <th><?php esc_html_e('Updated', 'altered-digital'); ?></th> </tr></thead> <tbody><tr class="ad-empty-row"><td colspan="5"><span class="description"><?php esc_html_e('Loading…', 'altered-digital'); ?></span></td></tr></tbody> </table> </div>
Save
cmd:
run