Commit 0c4e02af authored by Marc Ducobu's avatar Marc Ducobu
Browse files

Add footer at the bottom close #351

parent 9e05755f
......@@ -3269,7 +3269,7 @@ a:hover {
.navigation .navigation-search button {
padding: 7px 12px;
position: absolute;
top: .9em;
top: .99em;
right: 1em; }
a {
......@@ -3278,6 +3278,12 @@ a {
.text-right {
text-align: right; }
html, body {
height: 100%; }
.content {
min-height: 85%; }
.footer {
background: #294253;
width: 100%; }
......
......@@ -71,54 +71,50 @@
{% block layout_content %}
<div class="container content">
{# Flash messages ! #}
<div class="container">
{% for flashMessage in app.session.flashbag.get('success') %}
<div class="grid-8 centered success">
<span>
{{ flashMessage|raw }}
</span>
</div>
{% endfor %}
{% for flashMessage in app.session.flashbag.get('danger') %}
<div class="grid-8 centered error">
<span>
{{ flashMessage|raw }}
</span>
</div>
{% endfor %}
{% for flashMessage in app.session.flashbag.get('info') %}
<div class="grid-8 centered notice">
<span>
{{ flashMessage|raw }}
</span>
</div>
{% endfor %}
</div>
{% for flashMessage in app.session.flashbag.get('success') %}
<div class="grid-8 centered success">
<span>
{{ flashMessage|raw }}
</span>
</div>
{% endfor %}
{% for flashMessage in app.session.flashbag.get('danger') %}
<div class="grid-8 centered error">
<span>
{{ flashMessage|raw }}
</span>
</div>
{% endfor %}
{% for flashMessage in app.session.flashbag.get('info') %}
<div class="grid-8 centered notice">
<span>
{{ flashMessage|raw }}
</span>
</div>
{% endfor %}
{% block content %}
<div class="container">
<div class="grid-8 centered">
<h2>{{ 'Search a person'|trans }}</h2>
<form action="{{ path('chill_person_search') }}" method="get">
<input name="q" type="search" placeholder="{{ 'Person name'|trans }}" />
<center>
<button type="submit" class="sc-button orange"><i class="fa fa-search"></i> {{ 'Search a person'|trans }}</button>
</center>
</form>
<div class="container">
<div class="grid-8 centered">
<h2>{{ 'Search a person'|trans }}</h2>
<form action="{{ path('chill_person_search') }}" method="get">
<input name="q" type="search" placeholder="{{ 'Person name'|trans }}" />
<center>
<button type="submit" class="sc-button orange"><i class="fa fa-search"></i> {{ 'Search a person'|trans }}</button>
</center>
</form>
</div>
</div>
</div>
<div style="padding-top:2em; padding-bottom:2em;">
{{ chill_menu('homepage', {
'layout': 'ChillMainBundle::Menu/homepage.html.twig',
}) }}
{% endblock %}
</div>
<div style="padding-top:2em; padding-bottom:2em;">
{{ chill_menu('homepage', {
'layout': 'ChillMainBundle::Menu/homepage.html.twig',
}) }}
</div>
{% endblock %}
</div>
{% 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