VENOM-10 : added design (first step)
This commit is contained in:
parent
8b87c7d2f7
commit
162cc4b0a4
10 changed files with 155 additions and 4 deletions
|
|
@ -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();
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue