2020-09-25 21:33:54 +02:00
|
|
|
<?php
|
|
|
|
|
2020-10-05 20:02:43 +02:00
|
|
|
use Venom\Views\Asset;
|
2020-09-25 21:33:54 +02:00
|
|
|
|
2020-10-05 20:02:43 +02:00
|
|
|
?>
|
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<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>Venom Admin Interface</title>
|
|
|
|
<?php Asset::get()->renderCSS(); ?>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<?php
|
|
|
|
if (!$this->getVar('isLoggedIn')) {
|
|
|
|
$this->renderTemplate('login');
|
2020-09-25 21:33:54 +02:00
|
|
|
} else {
|
|
|
|
echo 'Admin Interface!';
|
2020-09-25 22:33:35 +02:00
|
|
|
echo '<a href="/admin/api/login/logout">Ausloggen</a>';
|
2020-09-25 21:33:54 +02:00
|
|
|
}
|
2020-10-05 20:02:43 +02:00
|
|
|
Asset::get()->renderJS();
|
|
|
|
?>
|
|
|
|
</body>
|
|
|
|
</html>
|