Init project
This commit is contained in:
45
templates/base_admin.html.twig
Normal file
45
templates/base_admin.html.twig
Normal file
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="h-full">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>
|
||||
{% block title %}
|
||||
Administration de votre site web
|
||||
{% endblock %}
|
||||
</title>
|
||||
<link
|
||||
rel="icon"
|
||||
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdn.ckeditor.com/ckeditor5/47.3.0/ckeditor5.css"
|
||||
/>
|
||||
{% block stylesheets %}
|
||||
{{ encore_entry_link_tags('app') }}
|
||||
{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
{{ encore_entry_script_tags('app') }}
|
||||
<script
|
||||
src="https://cdn.ckeditor.com/ckeditor5/47.3.0/ckeditor5.umd.js"
|
||||
></script>
|
||||
{% endblock %}
|
||||
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" />
|
||||
</head>
|
||||
<body class="h-full bg-white">
|
||||
{{
|
||||
render(
|
||||
controller(
|
||||
'App\\Controller\\BaseAdminController::sidebar',
|
||||
{
|
||||
path: app.request.pathinfo
|
||||
}
|
||||
)
|
||||
)
|
||||
}}
|
||||
{% block body %}
|
||||
|
||||
{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user