gdc_cmod/app/Views/superuser/validate.php
2026-01-22 17:02:47 +07:00

20 lines
622 B
PHP

<?php
$config = include __DIR__ . '/../shared/dashboard_config.php';
$roleConfig = $config['superuser'];
?>
<?= $this->extend('shared/layout_dashboard', ['roleConfig' => $roleConfig]); ?>
<?= $this->section('content'); ?>
<main class="p-4 flex-1 flex flex-col gap-2" x-data="validatePage">
<?= $this->include('shared/dashboard_validate', ['config' => $roleConfig]); ?>
</main>
<?= $this->endSection(); ?>
<?= $this->section('script'); ?>
<script type="module">
import Alpine from '<?= base_url("js/app.js"); ?>';
<?= $this->include('shared/script_validate'); ?>
Alpine.start();
</script>
<?= $this->endSection(); ?>