<?php
// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Template files receive local context variables from their controller.
namespace SPAATG;
use SPAATG\Helper\UiHelper as UiHelper;

if ( ! defined( 'ABSPATH' ) ) {
 exit; // Exit if accessed directly.
}
?>

<hr class="wp-header-end">

<div class="wrap is-spaatg-bulk-page">
<header>
  <h1>
	      <?php echo wp_kses(UIHelper::getIcon('res/images/illustration/logo_settings.svg'), array('img' => array('src' => array(), 'class' => array(), 'width' => array(), 'height' => array(), 'alt' => array()))); ?>
      <?php //esc_html_e('ShortPixel Plugin Settings','shortpixel-ai-alt-text-generator');?>
  </h1>

<!--
  <div class='top-buttons'>
	    <button><i class='shortpixel-icon notifications'></i><?php esc_html_e('Notifications','shortpixel-ai-alt-text-generator'); ?></button>

  </div>
-->
</header>
<div class="spaatg-bulk-wrapper">

  <div id="processPaused" class="processor-paused" data-action="ResumeBulk"><span class='dashicons dashicons-controls-pause' data-action="ResumeBulk"></span>
    <?php
    $title = esc_html__('The Bulk AI SEO processing is paused, please click to resume','shortpixel-ai-alt-text-generator');
    $alt = '';
    ?>
    <?php echo esc_html($title); ?>
    <p class='small'><?php echo esc_html($alt); ?></p>
  </div>

  <div id="processorOverQuota" class="processor-overquota">
			<h3><?php esc_html_e('There are no credits left. The Bulk AI SEO processing is paused.','shortpixel-ai-alt-text-generator'); ?></h3>
			<p><a href="javascript:window.location.reload()"><?php esc_html_e('Click to reload page after adding credits','shortpixel-ai-alt-text-generator'); ?></a></p>
	</div>

  <div class="screen-wrapper">

  <?php
  $this->loadview('bulk/part-dashboard');
  $this->loadView('bulk/part-selection');
  $this->loadView('bulk/part-summary');
  $this->loadView('bulk/part-process');
  $this->loadView('bulk/part-finished');

  $this->loadView('bulk/part-bulk-special');

  ?>

  </div>

</div> <!-- wrapper -->
