Commit d90b5477 authored by Mat's avatar Mat

Template de base pour les 2 entités Groupe et Dépôt

parent 9d0bdd61
......@@ -52,6 +52,7 @@ class DepotType extends AbstractType
'samedi' => '6',
'dimanche' => '0',
),
'placeholder' => '',
'label_attr' => array('class' => 'col-form-label'),
'attr' => array(
'class' => 'form-control form-control-sm',
......
......@@ -4,10 +4,40 @@
Les points de dépôt
{% endblock %}
{% block body %}
{{ block('breadcrumb') }}
<h1>{{ block('title') }}</h1>
{% block searchbar %}
<nav class="navbar navbar-expand-lg navbar-light navbar-search">
{{ form(formDepot) }}
</nav>
{% endblock %}
{% block headerContent %}
{% endblock %}
{% block sidebarContent %}
<div class="row">
<aside class="col-3">
</aside>
{% endblock %}
{% block sectionContent %}
<section class="col-9">
{% include '@Potage/Depot/ajaxForm.html.twig' %}
</section>
</div>
{% endblock %}
{% block customJS %}
<script type="text/javascript" src="{{ asset('js/functions.js') }}"></script>
<script type="text/javascript" src="{{ asset('js/ajax_functions.js') }}"></script>
<script type="text/javascript">
</script>
{% endblock %}
{#
{% endblock %}
\ No newline at end of file
#}
\ No newline at end of file
{{ form(formDepot) }}
\ No newline at end of file
......@@ -4,10 +4,40 @@
Les groupes
{% endblock %}
{% block body %}
{{ block('breadcrumb') }}
<h1>{{ block('title') }}</h1>
{% block searchbar %}
<nav class="navbar navbar-expand-lg navbar-light navbar-search">
{{ form(formGroupe) }}
</nav>
{% endblock %}
{% block headerContent %}
{% endblock %}
{% block sidebarContent %}
<div class="row">
<aside class="col-3">
</aside>
{% endblock %}
{% block sectionContent %}
<section class="col-9">
{% include '@Potage/Groupe/ajaxForm.html.twig' %}
</section>
</div>
{% endblock %}
{% block customJS %}
<script type="text/javascript" src="{{ asset('js/functions.js') }}"></script>
<script type="text/javascript" src="{{ asset('js/ajax_functions.js') }}"></script>
<script type="text/javascript">
</script>
{% endblock %}
{#
{% endblock %}
\ No newline at end of file
#}
\ No newline at end of file
{{ form(formGroupe) }}
\ No newline at end of file
......@@ -6,8 +6,8 @@
{% block searchbar %}
<nav class="navbar navbar-expand-lg navbar-light navbar-search">
<a href="{{ path('potage_legume_ajax_display') }}" class="nav-laterale left text-secondary"><i class="fas fa-long-arrow-alt-left fa-fw"></i>Les légumes</a>
<a href="{{ path('potage_lettre_ajax_display') }}" class="nav-laterale right text-secondary">Les infolettres<i class="fas fa-long-arrow-alt-right fa-fw"></i></a>
<a href="{{ path('potage_legume_ajax_display') }}" class="nav-laterale left text-secondary"><i class="fas fa-long-arrow-alt-left fa-fw"></i>Les légumes</a>
<a href="{{ path('potage_lettre_ajax_display') }}" class="nav-laterale right text-secondary">Les infolettres<i class="fas fa-long-arrow-alt-right fa-fw"></i></a>
</nav>
{% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment