diff --git a/templates/base.html.twig b/templates/base.html.twig
index 3d4015e..fee15d3 100644
--- a/templates/base.html.twig
+++ b/templates/base.html.twig
@@ -11,14 +11,138 @@
{# #}
{% block stylesheets %}
+
+
+
+
{% endblock %}
- {% block javascripts %}
- {% block importmap %}{{ importmap('app') }}{% endblock %}
- {% endblock %}
+{# {% block javascripts %}#}
+{# #}
+{# #}
+{# #}
+{# #}
+{# #}
+{# {% block importmap %}{{ importmap('app') }}{% endblock %}#}
+{# {% endblock %}#}
-{% block body %}{% endblock %}
+{% block body %}
+
+
+
+
+
+ Bonjour, {{ app.user.prenom }}
+
+
+
+
+
+
 }})
+ {% if is_granted('ROLE_ADMIN') %}
+
+ {% elseif is_granted('ROLE_CUISINIER') %}
+
+ {% elseif is_granted('ROLE_SERVEUR') %}
+
+ {% endif %}
+
+
+
+{% block container_modal %}
+
+
+
+{% endblock %}
+
+
+
+
+
+{% endblock %}
{# bootstrap#}
{# #}
{# #}
diff --git a/templates/index/admin.html.twig b/templates/index/admin.html.twig
index 8a7f8ef..e6833da 100644
--- a/templates/index/admin.html.twig
+++ b/templates/index/admin.html.twig
@@ -10,130 +10,11 @@
{% endblock %}
{% block stylesheets %}
+
+
{% endblock %}
-{% block body %}
-
-
-
-
-
- Bonjour, {{ app.user.prenom }}
-
-
-
-
-
-
 }})
- {% if is_granted('ROLE_ADMIN') %}
-
-
- -
-
- {{ ux_icon('grommet-icons:group') }}
- Gérer Utilisateur
-
-
- -
-
- {{ ux_icon('ic:outline-table-bar') }}
- Gérer Table
-
-
- -
-
-
- -
-
- {{ ux_icon('lsicon:badge-promotion-outline') }}
- Gestion Promotion
-
-
- -
-
- {{ ux_icon('fluent-emoji-high-contrast:ten-oclock') }}
- Voir tendances
-
-
-
-
- {% elseif is_granted('ROLE_CUISINIER') %}
-
- {% elseif is_granted('ROLE_SERVEUR') %}
-
- {% endif %}
-
-
-
-
-
-
-
-
-
-
-
-{% endblock %}
-
-{% block javascripts %}
-
-
-
-
-
-{% endblock %}
\ No newline at end of file
diff --git a/templates/plats/edit.html.twig b/templates/plats/edit.html.twig
index f3b6c7b..d9a1dde 100644
--- a/templates/plats/edit.html.twig
+++ b/templates/plats/edit.html.twig
@@ -1,112 +1,24 @@
{% extends 'base.html.twig' %}
-{% block title %}Modifier Plat{% endblock %}
+{% block title %}Tables index{% endblock %}
{% block head %}
-
+
{% endblock %}
-{% block body %}
-
-
-
- Bonjour, {{ app.user.prenom }}
-
-
+{% block stylesheets %}
+
+
+
+
+
+{% endblock %}
-
-
-
 }})
- {% if is_granted('ROLE_ADMIN') %}
-
- {% elseif is_granted('ROLE_CUISINIER') %}
-
- {% elseif is_granted('ROLE_SERVEUR') %}
-
- {% endif %}
-
-
+{% block container_modal %}
- {% block stylesheets %}
-
-
-
-
-
- {% endblock %}
-
{% endblock %}
diff --git a/templates/plats/index.html.twig b/templates/plats/index.html.twig
index e0cfa38..9ca141c 100644
--- a/templates/plats/index.html.twig
+++ b/templates/plats/index.html.twig
@@ -1,112 +1,24 @@
{% extends 'base.html.twig' %}
-{% block title %}Plats index{% endblock %}
+{% block title %}Tables index{% endblock %}
{% block head %}
-
+
{% endblock %}
-{% block body %}
-
-
-
- Bonjour, {{ app.user.prenom }}
-
-
+{% block stylesheets %}
+
+
+
+
+
+{% endblock %}
-
-
-
 }})
- {% if is_granted('ROLE_ADMIN') %}
-
- {% elseif is_granted('ROLE_CUISINIER') %}
-
- {% elseif is_granted('ROLE_SERVEUR') %}
-
- {% endif %}
-
-
+{% block container_modal %}
- {% block stylesheets %}
-
-
-
-
- {% endblock %}
-
{% endblock %}
diff --git a/templates/plats/new.html.twig b/templates/plats/new.html.twig
index 6a6e2ff..221bba9 100644
--- a/templates/plats/new.html.twig
+++ b/templates/plats/new.html.twig
@@ -1,112 +1,24 @@
{% extends 'base.html.twig' %}
-{% block title %}New Plats{% endblock %}
+{% block title %}Tables index{% endblock %}
{% block head %}
-
+
{% endblock %}
-{% block body %}
-
-
-
- Bonjour, {{ app.user.prenom }}
-
-
+{% block stylesheets %}
+
+
+
+
+
+{% endblock %}
-
-
-
 }})
- {% if is_granted('ROLE_ADMIN') %}
-
- {% elseif is_granted('ROLE_CUISINIER') %}
-
- {% elseif is_granted('ROLE_SERVEUR') %}
-
- {% endif %}
-
-
+{% block container_modal %}
- {% block stylesheets %}
-
-
-
-
- {% endblock %}
-
{% endblock %}
diff --git a/templates/reductions/edit.html.twig b/templates/reductions/edit.html.twig
index 10adb6f..38cfb25 100644
--- a/templates/reductions/edit.html.twig
+++ b/templates/reductions/edit.html.twig
@@ -1,112 +1,24 @@
{% extends 'base.html.twig' %}
-{% block title %}Modifier Réductions{% endblock %}
+{% block title %}Tables index{% endblock %}
{% block head %}
-
+
{% endblock %}
-{% block body %}
-
-
-
- Bonjour, {{ app.user.prenom }}
-
-
+{% block stylesheets %}
+
+
+
+
+
+{% endblock %}
-
-
-
 }})
- {% if is_granted('ROLE_ADMIN') %}
-
- {% elseif is_granted('ROLE_CUISINIER') %}
-
- {% elseif is_granted('ROLE_SERVEUR') %}
-
- {% endif %}
-
-
+{% block container_modal %}
- {% block stylesheets %}
-
-
-
-
-
- {% endblock %}
-
{% endblock %}
diff --git a/templates/reductions/index.html.twig b/templates/reductions/index.html.twig
index 79a4ccb..ee999f6 100644
--- a/templates/reductions/index.html.twig
+++ b/templates/reductions/index.html.twig
@@ -1,112 +1,24 @@
{% extends 'base.html.twig' %}
-{% block title %}Promotion index{% endblock %}
+{% block title %}Tables index{% endblock %}
{% block head %}
-
+
{% endblock %}
-{% block body %}
-
-
-
- Bonjour, {{ app.user.prenom }}
-
-
+{% block stylesheets %}
+
+
+
+
+
+{% endblock %}
-
-
-
 }})
- {% if is_granted('ROLE_ADMIN') %}
-
- {% elseif is_granted('ROLE_CUISINIER') %}
-
- {% elseif is_granted('ROLE_SERVEUR') %}
-
- {% endif %}
-
-
+{% block container_modal %}
- {% block stylesheets %}
-
-
-
-
- {% endblock %}
-
{% endblock %}
diff --git a/templates/reductions/new.html.twig b/templates/reductions/new.html.twig
index 1279336..50557b6 100644
--- a/templates/reductions/new.html.twig
+++ b/templates/reductions/new.html.twig
@@ -1,112 +1,24 @@
{% extends 'base.html.twig' %}
-{% block title %}Nouvelle reduction{% endblock %}
+{% block title %}Tables index{% endblock %}
{% block head %}
-
+
{% endblock %}
-{% block body %}
-
-
-
- Bonjour, {{ app.user.prenom }}
-
-
+{% block stylesheets %}
+
+
+
+
+
+{% endblock %}
-
-
-
 }})
- {% if is_granted('ROLE_ADMIN') %}
-
- {% elseif is_granted('ROLE_CUISINIER') %}
-
- {% elseif is_granted('ROLE_SERVEUR') %}
-
- {% endif %}
-
-
+{% block container_modal %}
- {% block stylesheets %}
-
-
-
-
- {% endblock %}
-
{% endblock %}
diff --git a/templates/tables/edit.html.twig b/templates/tables/edit.html.twig
index 93c11c2..9ec9de9 100644
--- a/templates/tables/edit.html.twig
+++ b/templates/tables/edit.html.twig
@@ -1,113 +1,24 @@
{% extends 'base.html.twig' %}
-{% block title %}Edit Tables{% endblock %}
+{% block title %}Tables index{% endblock %}
{% block head %}
-
+
{% endblock %}
-{% block body %}
-
-
-
- Bonjour, {{ app.user.prenom }}
-
-
-
-
-
-
 }})
- {% if is_granted('ROLE_ADMIN') %}
-
- {% elseif is_granted('ROLE_CUISINIER') %}
-
- {% elseif is_granted('ROLE_SERVEUR') %}
-
- {% endif %}
-
-
+{% block stylesheets %}
+
+
+
+
+
+{% endblock %}
+{% block container_modal %}
Modifier Tables
@@ -122,14 +33,6 @@
- {% block stylesheets %}
-
-
-
-
-
- {% endblock %}
-
{% endblock %}
diff --git a/templates/tables/index.html.twig b/templates/tables/index.html.twig
index a973bf3..a0af7b4 100644
--- a/templates/tables/index.html.twig
+++ b/templates/tables/index.html.twig
@@ -5,108 +5,19 @@
{% block head %}
-
+
{% endblock %}
-{% block body %}
-
-
-
- Bonjour, {{ app.user.prenom }}
-
-
+{% block stylesheets %}
+
+
+
+
+{% endblock %}
-
-
-
 }})
- {% if is_granted('ROLE_ADMIN') %}
-
- {% elseif is_granted('ROLE_CUISINIER') %}
-
- {% elseif is_granted('ROLE_SERVEUR') %}
-
- {% endif %}
-
-
+{% block container_modal %}
- {% block stylesheets %}
-
-
-
-
- {% endblock %}
-
{% endblock %}
+
diff --git a/templates/tables/new.html.twig b/templates/tables/new.html.twig
index f81ede4..4ec31e3 100644
--- a/templates/tables/new.html.twig
+++ b/templates/tables/new.html.twig
@@ -1,112 +1,23 @@
{% extends 'base.html.twig' %}
-{% block title %}Create New Table{% endblock %}
+{% block title %}Tables index{% endblock %}
{% block head %}
-
+
{% endblock %}
-{% block body %}
-
-
-
- Bonjour, {{ app.user.prenom }}
-
-
+{% block stylesheets %}
+
+
+
+
+{% endblock %}
-
-
-
 }})
- {% if is_granted('ROLE_ADMIN') %}
-
- {% elseif is_granted('ROLE_CUISINIER') %}
-
- {% elseif is_granted('ROLE_SERVEUR') %}
-
- {% endif %}
-
-
+{% block container_modal %}
- {% block stylesheets %}
-
-
-
-
- {% endblock %}
-
{% endblock %}
diff --git a/templates/user/add.html.twig b/templates/user/add.html.twig
index e7eeb3a..4405e97 100644
--- a/templates/user/add.html.twig
+++ b/templates/user/add.html.twig
@@ -1,112 +1,16 @@
{% extends 'base.html.twig' %}
-{% block title %}Nouvelle Utilisateur{% endblock %}
+{% block title %}Tables index{% endblock %}
{% block head %}
-
+
{% endblock %}
-{% block body %}
-
-
-
- Bonjour, {{ app.user.prenom }}
-
-
-
-
-
-
 }})
- {% if is_granted('ROLE_ADMIN') %}
-
- {% elseif is_granted('ROLE_CUISINIER') %}
-
- {% elseif is_granted('ROLE_SERVEUR') %}
-
- {% endif %}
-
-
+{% block container_modal %}