add a admin dashboard controller
This commit is contained in:
parent
a79011c276
commit
6addbc7de4
|
@ -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');
|
||||
}
|
||||
}
|
|
@ -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 %}
|
Loading…
Reference in New Issue