39 lines
865 B
PHP
Executable File
39 lines
865 B
PHP
Executable File
<?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();
|
|
|
|
echo "<p>v" . VERSION . "</p>";
|
|
?>
|
|
</body>
|
|
</html>
|