19 lines
623 B
PHP
19 lines
623 B
PHP
<?php
|
|
$config = include __DIR__ . '/../shared/config.php';
|
|
$roleConfig = $config['admin'];
|
|
?>
|
|
<?= $this->extend('shared/layout', ['roleConfig' => $roleConfig]); ?>
|
|
|
|
<?= $this->section('content'); ?>
|
|
<main class="p-4 flex-1 flex flex-col gap-2 overflow-hidden min-h-0" x-data="validatePage">
|
|
<?= $this->include('shared/content_validation', ['config' => $roleConfig]); ?>
|
|
</main>
|
|
<?= $this->endSection(); ?>
|
|
|
|
<?= $this->section('script'); ?>
|
|
<script type="module">
|
|
import Alpine from '<?= base_url("js/app.js"); ?>';
|
|
<?= $this->include('shared/script_validation'); ?>
|
|
Alpine.start();
|
|
</script>
|
|
<?= $this->endSection(); ?>
|