set admin V1
This commit is contained in:
13
templates/admin/index.html.twig
Normal file
13
templates/admin/index.html.twig
Normal file
@@ -0,0 +1,13 @@
|
||||
{% extends 'main/base.html.twig' %}
|
||||
|
||||
{% block title %}📣 Sortie.com Admin 🔊{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="flex">
|
||||
{% include 'admin/sidebar.html.twig' %}
|
||||
<div class="ml-64 p-8">
|
||||
<h1 class="text-2xl font-semibold">Bienvenue sur le Panel d'Administration</h1>
|
||||
<p class="text-gray-600 mt-4">Utilisez le menu pour accéder aux différentes sections.</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
30
templates/admin/sidebar.html.twig
Normal file
30
templates/admin/sidebar.html.twig
Normal file
@@ -0,0 +1,30 @@
|
||||
<nav class="bg-gray-800 text-white p-5 w-64 h-screen fixed">
|
||||
<h3 class="text-xl font-bold text-center mb-5">Administration</h3>
|
||||
<ul class="space-y-4">
|
||||
<li>
|
||||
<a href="{{ path('app_admin') }}" class="block text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded">
|
||||
🏠 Tableau de board
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="block text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded">
|
||||
👤 Utilisateurs
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="block text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded">
|
||||
🏙 Villes
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="block text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded">
|
||||
📍 Sites
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="block text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded">
|
||||
⚙ Paramètres
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user