37 lines
829 B
PHP
37 lines
829 B
PHP
|
<?php
|
||
|
$com_head = $this->app->page->createComponent(
|
||
|
"\\Crispage\\Components\\HeadTagsComponent",
|
||
|
["render" => ["title", "metas", "links", "scripts", "styles"]]
|
||
|
);
|
||
|
?>
|
||
|
|
||
|
<!DOCTYPE html>
|
||
|
<html lang="<?php echo $this->app->i18n->getLanguage(); ?>" dir="<?php echo $this->app->i18n->getDirection(); ?>">
|
||
|
<head>
|
||
|
<?php $this->app->page->renderComponent($com_head); ?>
|
||
|
<style>
|
||
|
html {
|
||
|
background: #7f7f7f;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
background: #ffffff;
|
||
|
font-family: monospace;
|
||
|
width: 100%;
|
||
|
max-width: 960px;
|
||
|
margin: 20px auto;
|
||
|
padding: 10px;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<?php
|
||
|
$com_msgs = $this->app->page->createComponent(
|
||
|
"\\Crispage\\Components\\MessagesComponent", []
|
||
|
);
|
||
|
$this->app->page->renderComponent($com_msgs);
|
||
|
$this->app->page->renderMainComponent();
|
||
|
?>
|
||
|
</body>
|
||
|
</html>
|