diff --git a/app/Resources/views/base.html.twig b/app/Resources/views/base.html.twig index bafd28d3bda05c01971c5b8e600f549fe9450389..4b32c1f8d33a31c067993bd2ceda8d8c827bf668 100755 --- a/app/Resources/views/base.html.twig +++ b/app/Resources/views/base.html.twig @@ -2,12 +2,21 @@ + {% block title %}Welcome!{% endblock %} + + {% block stylesheets %}{% endblock %} + + + - - {% block body %}{% endblock %} + + + {% block layout %}{% endblock %} + {% block javascripts %}{% endblock %} + diff --git a/src/PotageBundle/Resources/views/Default/index.html.twig b/src/PotageBundle/Resources/views/Default/index.html.twig index e2bcabcad68b5d77af11f9995a6902ddf7b82259..608b5d2b9605b4e2f0de963b1bfe3a7f0eed967b 100755 --- a/src/PotageBundle/Resources/views/Default/index.html.twig +++ b/src/PotageBundle/Resources/views/Default/index.html.twig @@ -1,6 +1,11 @@ -{% extends 'base.html.twig' %} +{% extends '@Potage/layout.html.twig' %} + +{% block title %} + Hello Potage! +{% endblock %} {% block body %} -

Hello Potage!

+ {{ block('breadcrumb') }} +

{{ block('title') }}

post webhook test 2

{% endblock %} diff --git a/src/PotageBundle/Resources/views/layout.html.twig b/src/PotageBundle/Resources/views/layout.html.twig new file mode 100644 index 0000000000000000000000000000000000000000..67a222a4f91fc7bf4c899f158b4b2cd7837cdfbf --- /dev/null +++ b/src/PotageBundle/Resources/views/layout.html.twig @@ -0,0 +1,93 @@ +{% extends "base.html.twig" %} + +{% block title %} + Application Potage +{% endblock %} + +{% block stylesheets %}{% endblock %} + +{% block bodyParam %}{{ app.request.get('_route')|replace({'potage_': ''}) }}{% endblock %} + +{% block layout %} + +
+
+ + {% block body %} + +
+ {% block content %} + + {% block breadcrumb %} + + + Accueil + + {{ block('title') }} + + {% endblock %} + +

{{ block('title') }}

+ + {% endblock %} +
+ + {% endblock %} +
+ +
+
+ + {% block hero %}{% endblock %} + + + + {% block javascripts %} + + {% endblock %} + +{% endblock %} diff --git a/web/css/style.css b/web/css/style.css new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/web/js/script.js b/web/js/script.js new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391