<?php
  defined('ABSPATH') || die('No direct access.');
?>

<div class="swpanel-full-body">
    <div class="swpanel-header-full">
        <img class="image_full" src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../assets/img/logo.svg');?>" alt="SWPanel Logo">
        <img class="image_mobile" src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../assets/img/logo_symbol.svg');?>" alt="SWPanel Logo">
        <h1><?php esc_html_e('Creating Page...', 'swpanel-ai');?></h1>
        <div id="right-header">
            <div id="steps">
                <div id="completed">
                    <img src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../assets/img/concept.svg');?>" alt="Concept Logo">
                </div>
                <div id="completed">
                    <img src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../assets/img/structure.svg');?>" alt="Structure Logo">
                </div>
                <div id="completed">
                    <img src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../assets/img/brush.svg');?>" alt="Style Logo">
                </div>
                <div id="completed">
                    <img src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../assets/img/template.svg');?>" alt="Template Logo">
                </div>
            </div>
        </div>
    </div>

    <div id='loading-div'>
        <div id="chart-block">
            <div id="chart-container"></div>
            <div id="chart-text"></div>        
        </div>
        <div id="progress-bar"></div>
    </div>

    <div id="load-error">
        <div class="icon-message">
            <img src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../assets/img/box_error.svg');?>">
        </div>
        <div class="content-message">
            <h1><?php esc_html_e('Error', 'swpanel-ai'); ?></h1>
            <p id="message-error"></p>
        </div>
        <div class="form-buttons">
            <div class="left">
                <a href="<?php echo esc_url(admin_url('admin.php?page=swpanel_ai_template')); ?>" class="blue-button"><?php esc_html_e('Back', 'swpanel-ai'); ?></a>
            </div>
            <div class="right">
                <button id="retry-load" class="green-button"><?php esc_html_e('Retry', 'swpanel-ai'); ?></button>
            </div>
        </div>
    </div>
</div>
