<?php
if (!defined('ABSPATH')) exit; // Exit if accessed directly 
?>

<div class="iwbvel-float-side-modal" id="iwbvel-float-side-modal-schedule-jobs">
    <div class="iwbvel-float-side-modal-container">
        <div class="iwbvel-float-side-modal-box">
            <div class="iwbvel-float-side-modal-content">
                <div class="iwbvel-float-side-modal-title">
                    <h2><?php esc_html_e('Scheduled jobs', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?></h2>
                    <button type="button" class="iwbvel-float-side-modal-close" data-toggle="float-side-modal-close">
                        <i class="iwbvel-icon-x"></i>
                    </button>
                </div>
                <div class="iwbvel-float-side-modal-body">
                    <div class="iwbvel-wrap" style="padding-top: 10px;">
                        <?php
                        if (!defined('IWBVE_ACTIVE') || !IWBVE_ACTIVE):
                            include IWBVEL_VIEWS_DIR . 'alerts/warning-active-pro.php';
                        else:
                        ?>
                            <div class="iwbvel-float-side-modal-schedule-jobs-table-container">
                                <table>
                                    <thead>
                                        <tr>
                                            <th><?php esc_html_e('#', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?></th>
                                            <th><?php esc_html_e('Name', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?></th>
                                            <th><?php esc_html_e('Schedules', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?></th>
                                            <th><?php esc_html_e('Status', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?></th>
                                            <th><?php esc_html_e('Actions', 'ithemeland-bulk-variation-editing-for-woocommerce'); ?></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td colspan="100%" align="center"><img src="<?php echo esc_url(IWBVEL_IMAGES_URL . 'loading-2.gif'); ?>" width="20" height="20" alt="Loading"></td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<?php
if (defined('IWBVE_ACTIVE') && IWBVE_ACTIVE) {
    include "edit_job.php";
    include_once "job_log.php";
    include_once "job_edit_items_modal.php";
}
