Add footer at the bottom close #351

This commit is contained in:
Marc Ducobu 2014-11-21 15:59:29 +01:00
parent 9e05755f28
commit 0c4e02afac
3 changed files with 48 additions and 46 deletions

View File

@ -3269,7 +3269,7 @@ a:hover {
.navigation .navigation-search button { .navigation .navigation-search button {
padding: 7px 12px; padding: 7px 12px;
position: absolute; position: absolute;
top: .9em; top: .99em;
right: 1em; } right: 1em; }
a { a {
@ -3278,6 +3278,12 @@ a {
.text-right { .text-right {
text-align: right; } text-align: right; }
html, body {
height: 100%; }
.content {
min-height: 85%; }
.footer { .footer {
background: #294253; background: #294253;
width: 100%; } width: 100%; }

File diff suppressed because one or more lines are too long

View File

@ -71,54 +71,50 @@
{% block layout_content %} {% block layout_content %}
<div class="container content"> <div class="container content">
{# Flash messages ! #} {# Flash messages ! #}
<div class="container"> {% for flashMessage in app.session.flashbag.get('success') %}
{% for flashMessage in app.session.flashbag.get('success') %} <div class="grid-8 centered success">
<div class="grid-8 centered success"> <span>
<span> {{ flashMessage|raw }}
{{ flashMessage|raw }} </span>
</span> </div>
</div> {% endfor %}
{% endfor %}
{% for flashMessage in app.session.flashbag.get('danger') %}
{% for flashMessage in app.session.flashbag.get('danger') %} <div class="grid-8 centered error">
<div class="grid-8 centered error"> <span>
<span> {{ flashMessage|raw }}
{{ flashMessage|raw }} </span>
</span> </div>
</div> {% endfor %}
{% endfor %}
{% for flashMessage in app.session.flashbag.get('info') %}
{% for flashMessage in app.session.flashbag.get('info') %} <div class="grid-8 centered notice">
<div class="grid-8 centered notice"> <span>
<span> {{ flashMessage|raw }}
{{ flashMessage|raw }} </span>
</span> </div>
</div> {% endfor %}
{% endfor %}
</div>
{% block content %} {% block content %}
<div class="container">
<div class="grid-8 centered">
<h2>{{ 'Search a person'|trans }}</h2>
<div class="container"> <form action="{{ path('chill_person_search') }}" method="get">
<div class="grid-8 centered"> <input name="q" type="search" placeholder="{{ 'Person name'|trans }}" />
<h2>{{ 'Search a person'|trans }}</h2> <center>
<button type="submit" class="sc-button orange"><i class="fa fa-search"></i> {{ 'Search a person'|trans }}</button>
<form action="{{ path('chill_person_search') }}" method="get"> </center>
<input name="q" type="search" placeholder="{{ 'Person name'|trans }}" /> </form>
<center> </div>
<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;"> <div style="padding-top:2em; padding-bottom:2em;">
{{ chill_menu('homepage', { {{ chill_menu('homepage', {
'layout': 'ChillMainBundle::Menu/homepage.html.twig', 'layout': 'ChillMainBundle::Menu/homepage.html.twig',
}) }} }) }}
</div>
{% endblock %} {% endblock %}
</div>
</div> </div>
{% endblock %} {% endblock %}