<commit_before><commit_msg>added new template<commit_after>{% import "ProjectHelloMainBundle:Fragments:form_macros_new.html.twig" as forms %}

{% extends 'ProjectHelloMainBundle::layout_main.html.twig' %}

{% block content %}
    <div class="homepage-header">
        <img src="/bundles/projecthellomain/img/logo.png" alt="" />
        <h1 class="homepage-header">project-hello</h1>
        <p>Create a card</p>
        <p>Add a personal message</p>
        <p>Let others add their messages</p>
        <p>Send it to someone</p>
        <br />
        <p>Enjoy.</p>

        <div class="actions">
            <a class="btn btn-xlarge btn-primary" id="registrationBtn" href="#" data-reveal-id="myModal" data-animation="fadeAndPop" data-animationspeed="300" data-closeonbackgroundclick="true" data-dismissmodalclass="close-reveal-modal">Register Now!</a>
            <a class="btn btn-xlarge" id="loginBtn" href="#" data-reveal-id="myModal" data-animation="fadeAndPop" data-animationspeed="300" data-closeonbackgroundclick="true" data-dismissmodalclass="close-reveal-modal">Log-in</a>
        </div>

        <input type="hidden" id="hdnRegistrationLink" value="{{ registerAction }}" />
        <input type="hidden" id="hdnLoginLink" value="{{ loginAction }}" />
    </div>

    <div id="registrationModal" class="reveal-modal">
        <h1>Register Now</h1>
        <p>
            <form class="form-horizontal" method="POST">
                <fieldset>
                    {{ forms.fieldRow(registrationForm.emailAddress, 'Email') }}

                    {{ forms.fieldRow(registrationForm.password, 'Password') }}

                    {{ forms.fieldRow(registrationForm.confirmPassword, '<PASSWORD> Password') }}
                </fieldset>

                <div class="form-actions">
                    <button class="btn btn-primary" type="submit">Submit</button>
                    <em style="display: none">
                        <img src="/bundles/projecthellomain/img/ajax-loader.gif" />
                        Registering account...
                    </em>
                </div>
            </form>
        </p>
       <a class="close-reveal-modal">&#215;</a>
    </div>

    <div id="loginModal" class="reveal-modal">
        <h1>Login</h1>
        <p>
            <form action="{{ path('login_check') }}" class="form-horizontal" method="POST">
                <fieldset>
                    <div class="control-group">
                        <label for="email" class="control-label required">Email</label>
                        <div class="controls">
                            <input type="email" class="focused input-xlarge" name="_username" id="loginEmail">
                        </div>
                    </div>

                    <div class="control-group">
                        <label for="email" class="control-label required">Password</label>
                        <div class="controls">
                            <input type="password" class="focused input-xlarge" name="_password" id="loginPassword">
                        </div>
                    </div>
                </fieldset>

                <div class="form-actions">
                    <button class="btn btn-primary" type="submit">Login</button>
                    <span class="help-inline" style="display:none"> </span>
                    <br/>
                    <em style="display: none">
                        <img src="/bundles/projecthellomain/img/ajax-loader.gif" />
                        Verifying account...
                    </em>
                </div>
            </form>
        </p>
        <a class="close-reveal-modal">&#215;</a>
    </div>
{% endblock %}

{% block stylesheets %}
    {{ parent() }}

    {% stylesheets
        '@ProjectHelloMainBundle/Resources/public/css/reveal.css'
    %}
        <link rel="stylesheet" href="{{ asset_url }}" />
    {% endstylesheets %}
{% endblock %}

{% block javascripts %}
    {{ parent() }}

    {% javascripts
        '@ProjectHelloMainBundle/Resources/public/js/libs/jquery.reveal.js'
        '@ProjectHelloMainBundle/Resources/public/js/libs/jquery.form.plugin.js'
        '@ProjectHelloMainBundle/Resources/public/js/Default/homepage.js'
    %}
        <script type="text/javascript" src="{{ asset_url }}"></script>
    {% endjavascripts %}
{% endblock %}
{'fraction_non_alphanumeric': 0.15494581507954808, 'fraction_numerical': 0.004150334332487895, 'mean_word_length': 1.9510204081632654, 'pattern_counts': {'":': 0, '<': 86, '<?xml version=': 0, '>': 86, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '419937', 'n_tokens_mistral': 1274, 'n_tokens_neox': 1174, 'n_words': 205}