mirror of
https://github.com/Karaka-Management/oms-HumanResourceTimeRecording.git
synced 2026-01-11 11:58:47 +00:00
69 lines
2.0 KiB
PHP
69 lines
2.0 KiB
PHP
<?php
|
|
/**
|
|
* Jingga
|
|
*
|
|
* PHP Version 8.1
|
|
*
|
|
* @package Web\Timerecording
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 2.0
|
|
* @version 1.0.0
|
|
* @link https://jingga.app
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
$nav = $this->getData('nav');
|
|
|
|
$nav->setTemplate('/Modules/Navigation/Theme/Backend/top');
|
|
$top = $nav->render();
|
|
|
|
/** @var phpOMS\Model\Html\Head $head */
|
|
$head = $this->head;
|
|
|
|
/** @var array $dispatch */
|
|
$dispatch = $this->getData('dispatch') ?? [];
|
|
?>
|
|
<!DOCTYPE HTML>
|
|
<html lang="<?= $this->printHtml($this->response->header->l11n->language); ?>">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="theme-color" content="#712b91">
|
|
<meta name="msapplication-navbutton-color" content="#712b91">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="#712b91">
|
|
<meta name="description" content="<?= $this->getHtml(':meta', '0', '0'); ?>">
|
|
<?= $head->meta->render(); ?>
|
|
|
|
<base href="<?= \phpOMS\Uri\UriFactory::build('{/base}'); ?>/">
|
|
|
|
<link rel="manifest" href="<?= \phpOMS\Uri\UriFactory::build('Web/Timerecording/manifest.json'); ?>">
|
|
<link rel="shortcut icon" href="<?= \phpOMS\Uri\UriFactory::build('Web/Timerecording/img/favicon.ico'); ?>" type="image/x-icon">
|
|
|
|
<title><?= $this->printHtml($head->title); ?></title>
|
|
|
|
<?= $head->renderAssets(); ?>
|
|
|
|
<style><?= $head->renderStyle(); ?></style>
|
|
<script><?= $head->renderScript(); ?></script>
|
|
</head>
|
|
<body>
|
|
<div class="vh" id="dim"></div>
|
|
<header><div id="t-nav-container"><?= $top; ?></div></header>
|
|
<main id="content" class="container-fluid" role="main">
|
|
<?php
|
|
foreach ($dispatch as $view) {
|
|
if ($view instanceof \phpOMS\Contract\RenderableInterface) {
|
|
echo $view->render();
|
|
}
|
|
}
|
|
?>
|
|
</main>
|
|
<div id="app-message-container">
|
|
<template id="app-message-tpl">
|
|
<div class="log-msg">
|
|
<h1 class="log-msg-title"></h1>
|
|
<div class="log-msg-content"></div>
|
|
</div>
|
|
</template>
|
|
</div>
|
|
<?= $head->renderAssetsLate(); ?>
|