add a admin dashboard controller

This commit is contained in:
Simon Vieille 2022-05-13 22:42:06 +02:00
parent a79011c276
commit 6addbc7de4
Signed by: deblan
GPG Key ID: 579388D585F70417
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,21 @@
<?php
namespace App\Controller;
use App\Core\Controller\Dashboard\DashboardAdminController as Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
/**
* @Route("/admin")
*/
class DashboardAdminController extends Controller
{
/**
* @Route("/", name="admin_dashboard_index")
*/
public function index(): Response
{
return $this->render('admin/dashboard.html.twig');
}
}

View File

@ -0,0 +1,5 @@
{% extends '@Core/admin/layout.html.twig' %}
{% block body %}
<iframe src="https://doc.murph-project.org" frameborder="0" marginheight="0" marginwidth="0" width="100%" style="height: calc(100vh - 65px)"></iframe>
{% endblock %}