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-12-08 14:35:28 +01:00
|
|
|
<section class="header-content">
|
|
|
|
|
<div class="logo">
|
2016-12-11 18:25:19 +01:00
|
|
|
<a href="{{ path('MineSeekerBundle_homepage') }}" target="_self">
|
|
|
|
|
<img src="{{ asset('bundles/mineseeker/images/mine-logo-txt.png') }}" alt="MineSeeker Logo w/ Txt"
|
|
|
|
|
border="0"/>
|
|
|
|
|
</a>
|
2016-12-08 14:35:28 +01:00
|
|
|
</div>
|
2016-12-11 18:25:19 +01:00
|
|
|
<h1>Sign in</h1>
|
2016-12-08 14:35:28 +01:00
|
|
|
<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-11-02 18:35:03 +01:00
|
|
|
|
2016-12-08 14:35:28 +01:00
|
|
|
<input type="text" id="username" name="_username" value="{{ last_username }}"
|
|
|
|
|
class="form-input form-username"
|
|
|
|
|
placeholder="Username or Email"/>
|
2016-11-02 18:35:03 +01:00
|
|
|
|
2016-12-08 14:35:28 +01:00
|
|
|
<input type="password" id="password" name="_password"
|
|
|
|
|
class="form-input"
|
|
|
|
|
placeholder="Password"/>
|
2016-11-15 17:53:12 +01:00
|
|
|
|
2016-12-08 14:35:28 +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-18 18:34:15 +01:00
|
|
|
</div>
|
2016-12-08 14:35:28 +01:00
|
|
|
|
|
|
|
|
<div class="input-submit">
|
|
|
|
|
<button type="submit" id="_submit" name="_submit">
|
|
|
|
|
<i class="fa fa-check"></i>
|
|
|
|
|
</button>
|
2016-11-07 21:14:53 +01:00
|
|
|
</div>
|
2016-12-08 14:35:28 +01:00
|
|
|
</form>
|
2016-12-11 18:25:19 +01:00
|
|
|
<h3 class="or">or login <u>w/ one click</u></h3>
|
2016-12-11 17:43:31 +01:00
|
|
|
<div class="buttons">
|
2016-12-08 14:35:28 +01:00
|
|
|
{% include('@JotunheimrUser/Social/facebook.html.twig') %}
|
2016-12-11 17:43:31 +01:00
|
|
|
{#<a class="slack-login"#}
|
|
|
|
|
{#href="https://slack.com/oauth/authorize?scope=identity.basic,identity.email,identity.team,identity.avatar&client_id=107639806167.106953365090&redirect_uri=http://mine.dev">#}
|
|
|
|
|
{#<i class="fa fa-slack"></i><span>w/ Slack</span>#}
|
|
|
|
|
{#</a>#}
|
2016-11-06 21:27:12 +01:00
|
|
|
</div>
|
2016-12-08 14:35:28 +01:00
|
|
|
<img src="{{ asset('bundles/mineseeker/images/mine-logo-logo.png') }}" alt="MineSeeker Logo" border="0"/>
|
|
|
|
|
</section>
|
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 %}
|