mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
allow to customize footer on login screen
This commit is contained in:
parent
92c8fe5b0d
commit
d6354da24e
@ -17,6 +17,10 @@ body {
|
|||||||
position: relative;
|
position: relative;
|
||||||
height: 90%;
|
height: 90%;
|
||||||
padding-top: 10%;
|
padding-top: 10%;
|
||||||
|
footer.footer {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#content:before {
|
#content:before {
|
||||||
@ -63,10 +67,10 @@ button {
|
|||||||
|
|
||||||
p.forgot-password-link {
|
p.forgot-password-link {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1
Resources/views/Login/_footer.html.twig
Normal file
1
Resources/views/Login/_footer.html.twig
Normal file
@ -0,0 +1 @@
|
|||||||
|
<footer class="footer"></footer>
|
@ -1,5 +1,5 @@
|
|||||||
{#
|
{#
|
||||||
* Copyright (C) 2014-2015, Champs Libres Cooperative SCRLFS,
|
* Copyright (C) 2014-2015, Champs Libres Cooperative SCRLFS,
|
||||||
<info@champs-libres.coop> / <http://www.champs-libres.coop>
|
<info@champs-libres.coop> / <http://www.champs-libres.coop>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
@ -28,7 +28,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
{{ include('@ChillMain/Login/_login-logo.html.twig') }}
|
{{ include('@ChillMain/Login/_login-logo.html.twig') }}
|
||||||
|
|
||||||
{% if error is not null %}
|
{% if error is not null %}
|
||||||
<p>{{ error.message|trans }}</p>
|
<p>{{ error.message|trans }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -41,12 +41,14 @@
|
|||||||
<input type="password" name="_password" />
|
<input type="password" name="_password" />
|
||||||
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" />
|
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" />
|
||||||
<br/>
|
<br/>
|
||||||
<button type="submit" name="login">{{ 'Login'|trans }}</button>
|
<button type="submit" name="login">{{ 'Login'|trans }}</button>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<p class="forgot-password-link"><a href="{{ path('password_request_recover') }}">{{ 'Forgot your password ?'|trans }}</a></p>
|
<p class="forgot-password-link"><a href="{{ path('password_request_recover') }}">{{ 'Forgot your password ?'|trans }}</a></p>
|
||||||
|
|
||||||
|
{{ include('@ChillMain/Login/_footer.html.twig') }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript" src="{{ asset('build/runtime.js') }}"></script>
|
<script type="text/javascript" src="{{ asset('build/runtime.js') }}"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user