VENOM-10 : added design (first step)

This commit is contained in:
engineerTrooper 2020-11-01 18:59:05 +01:00
commit 162cc4b0a4
10 changed files with 155 additions and 4 deletions

View file

@ -12,14 +12,14 @@ use Venom\Views\Asset;
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Venom Admin Interface</title>
<?php Asset::get()->renderCSS(); ?>
<!--link rel="stylesheet" href="/theme/admin/css/admin-panel.css"-->
</head>
<body>
<?php
if (!$this->getVar('isLoggedIn')) {
$this->renderTemplate('login');
} else {
echo 'Admin Interface!';
echo '<a href="/admin/api/login/logout">Ausloggen</a>';
$this->renderTemplate('admin-panel');
}
Asset::get()->renderJS();
?>