<commit_before><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>{% block title %}{% endblock title %}</title>
</head>
<body>
    <h1>Log In</h1>
    {% if messages %}
    <ul class="messages">
        {% for message in messages %}
        <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
        {% endfor %}
    </ul>
    {% endif %}
    <form method="post" action="">
        {% csrf_token %}
        <ul>
            {{ form.as_ul }}
            <li><input type="submit" name="submit_login" value="Login" /></li>
        </ul>
    </form>
    <p><a href="{% url cas_logout %}">Logout</a></p>
</body>
</html><commit_msg>Improve layout and add initial styling to login template<commit_after><!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>{% block title %}{% endblock title %}</title>
    {% block extra_head %}
    <style>
        html, body { color:#000; background-color:#d9d9de; }
        #content { margin:10% auto 0 auto; width:500px; background-color:#fff; padding:30px; }
        .messages, .errorlist { width:90%; margin:1em auto; background-color:#fff6bf; border:1px solid #ffd324; color:#514721; padding:8px; list-style:none; }
        .errorlist { background-color:#fbe3e4; border-color:#fbc2c4; color:#8a1f11; }
        #login-form { width:80%; margin:0 auto; }
        fieldset { border:0; padding:0; margin:0; }
        label { display:block; }
    </style>
    {% endblock extra_head %}
</head>
<body>
    {% block body %}
    <div id="content">
        {% block content %}
        <h1>{% block content_title %}Log In{% endblock content_title %}</h1>
        {% if messages %}
        <ul class="messages">
            {% for message in messages %}
            <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
            {% endfor %}
        </ul>
        {% endif %}
        {{ form.non_field_errors }}
        <form id="login-form" method="post">
            {% csrf_token %}
            {% for field in form.hidden_fields %}
                {{ field }}
            {% endfor %}
            <fieldset id="input">
            {% for field in form.visible_fields %}
                {{ field.label_tag }}{{ field }}
                {{ field.errors }}
            {% endfor %}
            </fieldset>
            <fieldset id="action">
                <input type="submit" name="submit_login" value="Log in" />
            </fieldset>
        </form>
        {% endblock content %}
    </div>
    {% endblock body %}
</body>
</html>
{'fraction_non_alphanumeric': 0.1840030041306797, 'fraction_numerical': 0.019902365752910253, 'mean_word_length': 2.217391304347826, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 2}, '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': '4539494', 'n_tokens_mistral': 928, 'n_tokens_neox': 833, 'n_words': 196}