2016-09-22 13:56:57 +02:00
|
|
|
{% extends 'JotunheimrUserBundle::layout.html.twig' %}
|
|
|
|
|
|
|
|
|
|
{% trans_default_domain 'FOSUserBundle' %}
|
|
|
|
|
|
|
|
|
|
{% block fos_user_content %}
|
2016-11-02 18:35:03 +01:00
|
|
|
{% if error %}
|
|
|
|
|
{{ error.messageKey|trans(error.messageData, 'security') }}
|
|
|
|
|
{% endif %}
|
2016-09-22 13:56:57 +02:00
|
|
|
|
2016-11-18 18:34:15 +01:00
|
|
|
<div class="wrapper">
|
|
|
|
|
<div class="form-container">
|
|
|
|
|
<h1>Sign in</h1>
|
|
|
|
|
<div class="db">
|
|
|
|
|
<form action="{{ path("fos_user_security_check") }}" method="post"
|
|
|
|
|
class="ac-custom ac-checkbox ac-boxfill">
|
|
|
|
|
<input type="hidden" name="_csrf_token" value="{{ csrf_token }}"/>
|
2016-09-22 13:56:57 +02:00
|
|
|
|
2016-11-18 18:34:15 +01:00
|
|
|
<div>
|
|
|
|
|
<input type="text" id="username" name="_username" value="{{ last_username }}"
|
|
|
|
|
class="form-input form-username"
|
|
|
|
|
placeholder="Username or Email"/>
|
|
|
|
|
</div>
|
2016-11-02 18:35:03 +01:00
|
|
|
|
2016-11-18 18:34:15 +01:00
|
|
|
<div>
|
|
|
|
|
<input type="password" id="password" name="_password"
|
|
|
|
|
class="form-input"
|
|
|
|
|
placeholder="Password"/>
|
|
|
|
|
</div>
|
2016-11-02 18:35:03 +01:00
|
|
|
|
2016-11-18 18:34:15 +01:00
|
|
|
<div class="form-check">
|
|
|
|
|
<input type="checkbox" id="remember-me" name="_remember_me" value="on"/>
|
|
|
|
|
<label for="remember-me">{{ 'security.login.remember_me'|trans }}</label>
|
2016-11-07 21:14:53 +01:00
|
|
|
</div>
|
2016-11-15 17:53:12 +01:00
|
|
|
|
2016-11-18 18:34:15 +01:00
|
|
|
<div class="input-submit">
|
|
|
|
|
<button type="submit" id="_submit" name="_submit">
|
|
|
|
|
<i class="fa fa-check"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<h2><u><b>or</b></u> enter w/ your Facebook's e-mail</h2>
|
|
|
|
|
<div class="fb">
|
|
|
|
|
{% include('@JotunheimrUser/Social/facebook.html.twig') %}
|
2016-11-07 21:14:53 +01:00
|
|
|
</div>
|
2016-11-06 21:27:12 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-09-22 13:56:57 +02:00
|
|
|
{% endblock fos_user_content %}
|
2016-11-06 21:27:12 +01:00
|
|
|
|
|
|
|
|
{% block javascripts %}
|
|
|
|
|
{{ parent() }}
|
|
|
|
|
|
|
|
|
|
{% javascripts
|
2016-11-18 18:34:15 +01:00
|
|
|
'@JotunheimrUserBundle/Resources/public/js/register.js'
|
|
|
|
|
'@JotunheimrUserBundle/Resources/public/js/svgcheckbox.js' %}
|
2016-11-06 21:27:12 +01:00
|
|
|
<script type="text/javascript" src="{{ asset_url }}"></script>
|
|
|
|
|
{% endjavascripts %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
|
{{ parent() }}
|
|
|
|
|
|
|
|
|
|
{% stylesheets filter='cssrewrite'
|
|
|
|
|
'@JotunheimrUserBundle/Resources/public/css/font-awesome/css/font-awesome.min.css'
|
2016-11-18 18:34:15 +01:00
|
|
|
'@JotunheimrUserBundle/Resources/public/css/svgcheckbox.css' %}
|
2016-11-06 21:27:12 +01:00
|
|
|
<link rel="stylesheet" media="screen" href="{{ asset_url }}"/>
|
|
|
|
|
{% endstylesheets %}
|
|
|
|
|
{% endblock %}
|