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;
height: 90%;
padding-top: 10%;
footer.footer {
position: absolute;
bottom: 0;
}
}
#content:before {
@ -63,10 +67,10 @@ button {
p.forgot-password-link {
text-align: center;
a {
font-weight: 300;
color: #fff;
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>
*
* This program is free software: you can redistribute it and/or modify
@ -28,7 +28,7 @@
<body>
<div id="content">
{{ include('@ChillMain/Login/_login-logo.html.twig') }}
{% if error is not null %}
<p>{{ error.message|trans }}</p>
{% endif %}
@ -41,12 +41,14 @@
<input type="password" name="_password" />
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" />
<br/>
<button type="submit" name="login">{{ 'Login'|trans }}</button>
<button type="submit" name="login">{{ 'Login'|trans }}</button>
</form>
<p class="forgot-password-link"><a href="{{ path('password_request_recover') }}">{{ 'Forgot your password ?'|trans }}</a></p>
{{ include('@ChillMain/Login/_footer.html.twig') }}
</div>
<script type="text/javascript" src="{{ asset('build/runtime.js') }}"></script>
</body>