<commit_before>{% extends "crates/base.html" %}
{# TODO recovery/registration by loading offical form #}

{% load staticfiles %}



{% block head %}
<style>
.logo-container {
    text-align:right;
}
.logo {
    width:200px;
    display:inline-block;
    margin:40px;
}

.test * {
    outline:1px dotted red;
}

body {
    margin-top:10%;
}

.bubble{
    display:inline-block;
    background-color: white;
    border:1px solid black;
    border-radius: 5px;
    padding: 10px 18px;
    position: relative;
    margin: 0 -90px 5px 45px;
    vertical-align:top;
}

.bubble::before {
    background-color: white;
    border-top:1px solid black;
    border-right:1px solid black;
    content: "\00a0";
    display: block;
    height: 16px;
    position: absolute;
    bottom:-3px;
    transform:             rotate( 74deg ) skew( -35deg );
        -moz-transform:    rotate( 74deg ) skew( -35deg );
        -ms-transform:     rotate( 74deg ) skew( -35deg );
        -o-transform:      rotate( 74deg ) skew( -35deg );
        -webkit-transform: rotate( 74deg ) skew( -35deg );
    width:  20px;
    right: -5px;
}



}
</style>
{% endblock %}

{% block content %}
<div class="pure-g">
    <div class="logo-container pure-u-1-2">
        {% if form.errors %} <div class="bubble">Access denied</div> {% endif %}
        <img class="logo" src="{% static "crates/logo.gif" %}" />
    </div>
    <div class="pure-u-1-2">
        <form action="{% url 'django.contrib.auth.views.login' %}" method="post" class="pure-form pure-form-stacked">{% csrf_token %}
            <h1 class="banner">CRATES</h1>
            <fieldset>
                <label for="username">Email</label>
                <input id="id_username" type="text" name="username" placeholder="Username">

                <label for="password">Password</label>
                <input id="id_password" type="password" name="password" placeholder="Password">

                <input type="hidden" name="next" value="{{ next }}" />


                <button type="submit" class="pure-button pure-button-primary">Sign in</button>
            </fieldset>
        </form>
    </div>
    <script type="text/javascript">
        document.getElementById('id_username').focus()
    </script>
</div>
{% endblock %}
<commit_msg>remove nonsense<commit_after>{% extends "crates/base.html" %}
{# TODO recovery/registration by loading offical form #}

{% load staticfiles %}



{% block head %}
<style>
.logo-container {
    text-align:right;
}
.logo {
    width:200px;
    display:inline-block;
    margin:40px;
}

.test * {
    outline:1px dotted red;
}

body {
    margin-top:10%;
    font-family:Helvetica Neue, Sans-serif;

}

.bubble{
    display:inline-block;
    background-color: white;
    border:1px solid black;
    border-radius: 5px;
    padding: 10px 18px;
    position: relative;
    margin: 0 -90px 5px 45px;
    vertical-align:top;
}

.bubble::before {
    background-color: white;
    border-top:1px solid black;
    border-right:1px solid black;
    content: "\00a0";
    display: block;
    height: 16px;
    position: absolute;
    bottom:-3px;
    transform:             rotate( 74deg ) skew( -35deg );
        -moz-transform:    rotate( 74deg ) skew( -35deg );
        -ms-transform:     rotate( 74deg ) skew( -35deg );
        -o-transform:      rotate( 74deg ) skew( -35deg );
        -webkit-transform: rotate( 74deg ) skew( -35deg );
    width:  20px;
    right: -5px;
}



}
</style>
{% endblock %}

{% block content %}
<div class="pure-g">
    <div class="logo-container pure-u-1-2">
        {% if form.errors %} <div class="bubble">Access denied</div> {% endif %}
        <img class="logo" src="{% static "crates/logo.gif" %}" />
    </div>
    <div class="pure-u-1-2">
        <form action="{% url 'django.contrib.auth.views.login' %}" method="post" class="pure-form pure-form-stacked">{% csrf_token %}
            <h1 class="banner">CRATES</h1>
            <p>Curate your media</p>
            <fieldset>
                <input id="id_username" type="text" name="username" placeholder="Username">

                <input id="id_password" type="password" name="password" placeholder="Password">

                <input type="hidden" name="next" value="{{ next }}" />


                <button type="submit" class="pure-button pure-button-primary">Sign in</button>
            </fieldset>
        </form>
    </div>
    <script type="text/javascript">
        document.getElementById('id_username').focus()
    </script>
</div>
{% endblock %}

{'fraction_non_alphanumeric': 0.16374528511204792, 'fraction_numerical': 0.025293987131129354, 'mean_word_length': 2.5, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, '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': '93776', 'n_tokens_mistral': 1621, 'n_tokens_neox': 1454, 'n_words': 323}