<?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('Missing previous configurations', 'swpanel-ai'); ?></h1>
        <div id="right-header">
            <?php if ( get_option('swpanel_ai_redirect', 0 ) >= 1 ) : ?>
                <a href="<?php echo esc_url(admin_url()); ?>">
                    <div id="exit">
                        <img src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../assets/img/x.svg');?>" alt="Exit Logo">
                    </div>
                </a>
            <?php endif; ?>
        </div>
    </div>

    <div class="alert-message">
        <div class="icon-message">
            <img src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../assets/img/box_alerta.svg');?>">
        </div>
        <div class="content-message">
            <h1><?php esc_html_e('WARNING', 'swpanel-ai'); ?></h1>
            <p><?php echo esc_html($message); ?></p>
        </div>
        <div class="form-buttons">
            <div class="left">
                <form method="post" action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>">
                    <?php wp_nonce_field( 'swpanel_ai_back' ); ?>
                    <input type="hidden" name="action" value="<?php echo esc_attr( $value_form ); ?>">
                    <button type="submit" class="blue-button">
                        <?php esc_html_e( 'Back', 'swpanel-ai' ); ?>
                    </button>
                </form>
            </div>
        </div>
    </div>
</div>
