Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mathieu
potage
Commits
d90b5477
Commit
d90b5477
authored
Jun 16, 2018
by
Mat
Browse files
Template de base pour les 2 entités Groupe et Dépôt
parent
9d0bdd61
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/PotageBundle/Form/Depot/DepotType.php
View file @
d90b5477
...
...
@@ -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'
,
...
...
src/PotageBundle/Resources/views/Depot/ajaxDisplay.html.twig
View file @
d90b5477
...
...
@@ -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
src/PotageBundle/Resources/views/Depot/ajaxForm.html.twig
0 → 100644
View file @
d90b5477
{{
form
(
formDepot
)
}}
\ No newline at end of file
src/PotageBundle/Resources/views/Groupe/ajaxDisplay.html.twig
View file @
d90b5477
...
...
@@ -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
src/PotageBundle/Resources/views/Groupe/ajaxForm.html.twig
0 → 100644
View file @
d90b5477
{{
form
(
formGroupe
)
}}
\ No newline at end of file
src/PotageBundle/Resources/views/Offre/ajaxDisplay.html.twig
View file @
d90b5477
...
...
@@ -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
%}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment