allow to customize footer on login screen

This commit is contained in:
Tchama 2019-12-06 16:01:24 +01:00
parent 92c8fe5b0d
commit d6354da24e
3 changed files with 14 additions and 7 deletions

View File

@ -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;
} }
} }

View File

@ -0,0 +1 @@
<footer class="footer"></footer>

View File

@ -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>