assets class
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
* @var \kernel\CgView $view
|
||||
*/
|
||||
\Josantonius\Session\Facades\Session::start();
|
||||
$assets = new \kernel\admin_themes\default\DefaultAdminThemeAssets($resources)
|
||||
?>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
@ -17,9 +18,8 @@
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css">
|
||||
<link rel="stylesheet" href="<?= $resources ?>/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="<?= $resources ?>/css/style.css">
|
||||
<?php $assets->getCSSAsSTR(); ?>
|
||||
<?php $assets->getJSAsStr(body: false); ?>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@ -92,9 +92,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="<?= $resources ?>/js/jquery.min.js"></script>
|
||||
<script src="<?= $resources ?>/js/popper.js"></script>
|
||||
<script src="<?= $resources ?>/js/bootstrap.min.js"></script>
|
||||
<script src="<?= $resources ?>/js/main.js"></script>
|
||||
<?php $assets->getJSAsStr(); ?>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user