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-06 21:27:12 +01:00
|
|
|
<div class="login">
|
2016-11-07 21:14:53 +01:00
|
|
|
<div class="login-container">
|
|
|
|
|
{#{% include('@JotunheimrUser/Social/facebook.html.twig') %}#}
|
2016-11-06 21:27:12 +01:00
|
|
|
|
2016-11-07 21:14:53 +01:00
|
|
|
<h1>
|
|
|
|
|
Sign in
|
|
|
|
|
</h1>
|
2016-09-22 13:56:57 +02:00
|
|
|
|
2016-11-07 21:14:53 +01:00
|
|
|
<div class="form">
|
|
|
|
|
<form action="{{ path("fos_user_security_check") }}" method="post">
|
|
|
|
|
<input type="hidden" name="_csrf_token" value="{{ csrf_token }}"/>
|
|
|
|
|
|
|
|
|
|
<div class="input input--kozakura">
|
|
|
|
|
<input type="text" id="username" name="_username" value="{{ last_username }}"
|
|
|
|
|
class="input__field input__field--kozakura"/>
|
|
|
|
|
<label class="input__label input__label--kozakura" for="fos_user_registration_form_email">
|
2016-11-06 21:27:12 +01:00
|
|
|
<span class="input__label-content input__label-content--kozakura"
|
|
|
|
|
data-content="Username or Email">Username or Email</span>
|
2016-11-07 21:14:53 +01:00
|
|
|
</label>
|
|
|
|
|
<svg class="graphic graphic--kozakura" width="300%" height="100%" viewBox="0 0 1200 60"
|
|
|
|
|
preserveAspectRatio="none">
|
|
|
|
|
<path d="M1200,9c0,0-305.005,0-401.001,0C733,9,675.327,4.969,598,4.969C514.994,4.969,449.336,9,400.333,9C299.666,9,0,9,0,9v43c0,0,299.666,0,400.333,0c49.002,0,114.66,3.484,197.667,3.484c77.327,0,135-3.484,200.999-3.484C894.995,52,1200,52,1200,52V9z"/>
|
|
|
|
|
</svg>
|
|
|
|
|
</div>
|
2016-09-22 13:56:57 +02:00
|
|
|
|
2016-11-07 21:14:53 +01:00
|
|
|
<div class="input input--kozakura">
|
|
|
|
|
<input type="password" id="password" name="_password"
|
|
|
|
|
class="input__field input__field--kozakura"/>
|
|
|
|
|
<label class="input__label input__label--kozakura" for="fos_user_registration_form_email">
|
|
|
|
|
<span class="input__label-content input__label-content--kozakura" data-content="Password">Password</span>
|
|
|
|
|
</label>
|
|
|
|
|
<svg class="graphic graphic--kozakura" width="300%" height="100%" viewBox="0 0 1200 60"
|
|
|
|
|
preserveAspectRatio="none">
|
|
|
|
|
<path d="M1200,9c0,0-305.005,0-401.001,0C733,9,675.327,4.969,598,4.969C514.994,4.969,449.336,9,400.333,9C299.666,9,0,9,0,9v43c0,0,299.666,0,400.333,0c49.002,0,114.66,3.484,197.667,3.484c77.327,0,135-3.484,200.999-3.484C894.995,52,1200,52,1200,52V9z"/>
|
|
|
|
|
</svg>
|
|
|
|
|
</div>
|
2016-11-02 18:35:03 +01:00
|
|
|
|
2016-11-07 21:14:53 +01:00
|
|
|
<div class="checkbox text-center">
|
|
|
|
|
<label for="remember_me">
|
|
|
|
|
<input type="checkbox" id="remember_me" name="_remember_me" value="on"/>
|
|
|
|
|
{{ 'security.login.remember_me'|trans }}
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
2016-11-02 18:35:03 +01:00
|
|
|
|
2016-11-07 21:14:53 +01:00
|
|
|
<div class="input-submit">
|
|
|
|
|
<input class="submit" type="submit" id="_submit" name="_submit"
|
|
|
|
|
value="{{ 'security.login.submit'|trans }}"/>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</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
|
|
|
|
|
'@JotunheimrUserBundle/Resources/public/js/register.js' %}
|
|
|
|
|
<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'
|
|
|
|
|
'@JotunheimrUserBundle/Resources/public/css/login.css' %}
|
|
|
|
|
<link rel="stylesheet" media="screen" href="{{ asset_url }}"/>
|
|
|
|
|
{% endstylesheets %}
|
|
|
|
|
{% endblock %}
|