2020-05-29 13:41:58 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
|
|
|
|
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
|
|
|
|
*
|
|
|
|
* Licensed under The MIT License
|
|
|
|
* For full copyright and license information, please see the LICENSE.txt
|
|
|
|
* Redistributions of files must retain the above copyright notice.
|
|
|
|
*
|
|
|
|
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
|
|
|
|
* @link https://cakephp.org CakePHP(tm) Project
|
|
|
|
* @since 0.10.0
|
|
|
|
* @license https://opensource.org/licenses/mit-license.php MIT License
|
|
|
|
* @var \App\View\AppView $this
|
|
|
|
*/
|
|
|
|
|
|
|
|
$cakeDescription = 'Cerebrate';
|
|
|
|
?>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<?= $this->Html->charset() ?>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>
|
|
|
|
<?= $cakeDescription ?>:
|
|
|
|
<?= $this->fetch('title') ?>
|
|
|
|
</title>
|
|
|
|
<?= $this->Html->meta('icon') ?>
|
2020-06-23 14:14:20 +02:00
|
|
|
<?php
|
|
|
|
if (empty($darkMode)) {
|
|
|
|
echo $this->Html->css('bootstrap.css');
|
|
|
|
} else {
|
|
|
|
echo $this->Html->css('darkly-bootstrap.css');
|
|
|
|
}
|
|
|
|
?>
|
2020-05-29 13:41:58 +02:00
|
|
|
<?= $this->Html->css('main.css') ?>
|
|
|
|
<?= $this->Html->css('font-awesome') ?>
|
|
|
|
<?= $this->Html->script('jquery-3.5.1.min.js') ?>
|
|
|
|
<?= $this->Html->script('popper.min.js') ?>
|
|
|
|
<?= $this->Html->script('bootstrap.bundle.js') ?>
|
|
|
|
<?= $this->Html->script('main.js') ?>
|
2020-12-07 14:15:59 +01:00
|
|
|
<?= $this->Html->script('bootstrap-helper.js') ?>
|
2020-12-10 15:18:02 +01:00
|
|
|
<?= $this->Html->script('api-helper.js') ?>
|
2021-07-21 11:18:06 +02:00
|
|
|
<?= $this->Html->script('select2.min.js') ?>
|
2021-07-05 14:14:17 +02:00
|
|
|
<?= $this->Html->script('CodeMirror/codemirror.js') ?>
|
|
|
|
<?= $this->Html->script('CodeMirror/mode/javascript/javascript') ?>
|
|
|
|
<?= $this->Html->script('CodeMirror/addon/hint/show-hint') ?>
|
|
|
|
<?= $this->Html->script('CodeMirror/addon/lint/lint') ?>
|
|
|
|
<?= $this->Html->script('CodeMirror/addon/lint/jsonlint') ?>
|
|
|
|
<?= $this->Html->script('CodeMirror/addon/lint/json-lint') ?>
|
|
|
|
<?= $this->Html->script('CodeMirror/addon/edit/matchbrackets') ?>
|
|
|
|
<?= $this->Html->script('CodeMirror/addon/edit/closebrackets') ?>
|
|
|
|
<?= $this->Html->css('CodeMirror/codemirror') ?>
|
|
|
|
<?= $this->Html->css('CodeMirror/codemirror-additional') ?>
|
|
|
|
<?= $this->Html->css('CodeMirror/addon/hint/show-hint') ?>
|
|
|
|
<?= $this->Html->css('CodeMirror/addon/lint/lint') ?>
|
2021-07-21 11:18:06 +02:00
|
|
|
<?= $this->Html->css('select2.min') ?>
|
|
|
|
<?= $this->Html->css('select2-bootstrap4.min') ?>
|
2020-05-29 13:41:58 +02:00
|
|
|
<?= $this->fetch('meta') ?>
|
|
|
|
<?= $this->fetch('css') ?>
|
|
|
|
<?= $this->fetch('script') ?>
|
2020-12-07 14:15:59 +01:00
|
|
|
<?= $this->Html->css('bootstrap-additional.css') ?>
|
2020-05-29 13:41:58 +02:00
|
|
|
<?= $this->Html->meta('favicon.ico', '/img/favicon.ico', ['type' => 'icon']); ?>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
2020-06-08 11:57:53 +02:00
|
|
|
<?= $this->element('header') ?>
|
2020-05-29 13:41:58 +02:00
|
|
|
</header>
|
2020-06-23 13:07:12 +02:00
|
|
|
<main role="main">
|
2020-06-04 10:05:45 +02:00
|
|
|
<div class="container-fluid">
|
2020-05-29 13:41:58 +02:00
|
|
|
<div class="row">
|
2020-06-23 14:14:20 +02:00
|
|
|
<div class="col-1 d-none d-xl-block sidebar p-0">
|
2020-06-08 11:57:53 +02:00
|
|
|
<?= $this->element('side_menu') ?>
|
2020-05-29 13:41:58 +02:00
|
|
|
</div>
|
2020-06-23 13:05:08 +02:00
|
|
|
<div role="main" class="col-xl-11 col-lg-12 ml-sm-auto pt-3 px-4">
|
|
|
|
<div class="col-12 d-xl-none px-0"><?= $this->element('side_menu', ['minimal' => 1]) ?></div>
|
2020-05-29 13:41:58 +02:00
|
|
|
<?= $this->Flash->render() ?>
|
|
|
|
<?= $this->fetch('content') ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
<div id="mainModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mediumModalLabel" aria-hidden="true"></div>
|
2020-12-15 10:40:49 +01:00
|
|
|
<div id="mainToastContainer" style="position: absolute; top: 15px; right: 15px; z-index: 1080"></div>
|
2020-12-10 15:18:02 +01:00
|
|
|
<div id="mainModalContainer"></div>
|
2020-05-29 13:41:58 +02:00
|
|
|
</body>
|
2021-01-18 09:47:15 +01:00
|
|
|
<script>
|
|
|
|
const darkMode = (<?= empty($darkMode) ? 'false' : 'true' ?>)
|
|
|
|
</script>
|
2020-05-29 13:41:58 +02:00
|
|
|
</html>
|