<?php
/**
 * Bulk conversion UI view.
 *
 * @package STWP
 * @since 1.1.0
 */

// If this file is called directly, abort.
if ( ! defined( 'ABSPATH' ) ) {
	die( 'Direct access not allowed.' );
}
?>

<div class="wrap">
	<h1><?php esc_html_e( 'STWP – Bulk WebP Conversion', 'stintlief-webp-converter' ); ?></h1>

	<p>
		<?php esc_html_e( 'This will safely convert existing images in the Media Library to WebP. Originals will be backed up if enabled in Media settings.', 'stintlief-webp-converter' ); ?>
	</p>

	<button id="stwp-start" class="button button-primary">
		<?php esc_html_e( 'Start Bulk Conversion', 'stintlief-webp-converter' ); ?>
	</button>

	<button id="stwp-stop" class="button">
		<?php esc_html_e( 'Pause', 'stintlief-webp-converter' ); ?>
	</button>

	<div id="stwp-progress" style="margin-top:20px;">
		<div id="stwp-bar" style="width:0;height:20px;background:#2271b1;"></div>
	</div>

	<p id="stwp-status"></p>
</div>
