<?php
/*
* Plugin-Name: Product Designer App
* Plugin-URI: https://productdesignerapp.com
* Author: productdesignerapp
* Page: Templates
*/

if (!defined('ABSPATH'))
{
    exit;
}

require(PDAPP_ADMIN_PLUGIN_DIR .'pages/templates/components/html-style.php');
require(PDAPP_ADMIN_PLUGIN_DIR .'pages/components/variant-script.php');
require(PDAPP_ADMIN_PLUGIN_DIR .'pages/templates/components/html-script.php');
?>
<div id="productdesignerapp-wrapper">
    <div id="productdesignerapp-app" class="pdapp-template-page" style="display: none;">
        <div class="container-fluid" v-if="langs.menu != undefined">
            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/components/html-topbar.php'); ?>
            
            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/templates/list/index.php'); ?>
            
            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/templates/add/index.php'); ?>

            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/templates/components/html-modal.php'); ?>
            
            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/components/html-toast.php'); ?>
        </div>
        <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/components/html-loading.php'); ?>

        <iframe id="pdapp-login-frame" class="d-none" src="<?php echo esc_url(PDAPP_HOME_URL. '/iframe'); ?>"></iframe>
    </div>
</div>
<?php
    require(PDAPP_ADMIN_PLUGIN_DIR .'pages/templates/components/html-bot-script.php');
?>