Test-Branch erstellt, Dev-Area for EngineerTrooper, base Editing, theme create
This commit is contained in:
parent
d3d889dc4c
commit
c13a18b00b
6 changed files with 89 additions and 0 deletions
30
tpl/engineers-dummy/base.php
Normal file
30
tpl/engineers-dummy/base.php
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
use Venom\Core\Registry;
|
||||
use Venom\Views\Asset;
|
||||
|
||||
$reg = Registry::getInstance();
|
||||
$lang = $reg->getLang();
|
||||
?>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<?php
|
||||
echo $this->includeTemplate("header/head");
|
||||
?>
|
||||
<body>
|
||||
<header>
|
||||
<?= $lang->getTranslation("HEADLINE") ?>
|
||||
</header>
|
||||
<main>
|
||||
<h1>Mami ich mag dich</h1>
|
||||
<?php
|
||||
$lang->getTranslation("TEST_TRANSLATION");
|
||||
echo $this->templateData;
|
||||
?>
|
||||
</main>
|
||||
|
||||
<?php
|
||||
Asset::get()->renderJS();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
17
tpl/engineers-dummy/header/head.php
Normal file
17
tpl/engineers-dummy/header/head.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
//zero stuff, imports, ... , blabla alles was ich Dokumentweit brauche
|
||||
use Venom\Views\Asset;
|
||||
|
||||
?>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Engineers Dummy</title>
|
||||
<?php
|
||||
Asset::get()->renderCSS();
|
||||
?>
|
||||
</head>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue