<commit_before>{% extends "webtemplate_dbca/base_b4.html" %}
{% load static %}

{% block extra_style %}
{{ block.super }}
<style>
    .footer {
        background-color: #f5f5f5;
    }
</style>
{% endblock %}

{% block navbar_links %}
<ul class="navbar-nav">
    {% block navbar_auth %}
    {% if user.is_authenticated %}
        <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                {% firstof user.get_full_name user.email %} <span class="caret"></span>
            </a>
            <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                {% if user.is_staff %}
                <a class="dropdown-item" href="{% url 'admin:index' %}">Admin</a>
                {% if superuser %}
                <a class="dropdown-item" href="{% url 'clearglpivot' %}">Clear GL Pivot entries</a>
                {% endif %}
                <div class="dropdown-divider"></div>
                {% endif %}
                <a class="dropdown-item" href="{% url 'logout' %}">Log out</a>
            </div>
        </li>
        {% else %}
        <li class="nav-item">
            <a href="{% url 'login' %}">Log in</a>
        </li><commit_msg>Align top navbar menu element right.<commit_after>{% extends "webtemplate_dbca/base_b4.html" %}
{% load static %}

{% block extra_style %}
{{ block.super }}
<style>
    .footer {
        background-color: #f5f5f5;
    }
</style>
{% endblock %}

{% block navbar_links %}
<ul class="navbar-nav ml-auto">
    {% block navbar_auth %}
    {% if user.is_authenticated %}
        <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                {% firstof user.get_full_name user.email %} <span class="caret"></span>
            </a>
            <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
                {% if user.is_staff %}
                <a class="dropdown-item" href="{% url 'admin:index' %}">Admin</a>
                {% if superuser %}
                <a class="dropdown-item" href="{% url 'clearglpivot' %}">Clear GL Pivot entries</a>
                {% endif %}
                <div class="dropdown-divider"></div>
                {% endif %}
                <a class="dropdown-item" href="{% url 'logout' %}">Log out</a>
            </div>
        </li>
        {% else %}
        <li class="nav-item">
            <a href="{% url 'login' %}">Log in</a>
        </li>
{'fraction_non_alphanumeric': 0.17893544733861835, 'fraction_numerical': 0.003020007550018875, 'mean_word_length': 2.132387706855792, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, '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': '2748674', 'n_tokens_mistral': 901, 'n_tokens_neox': 803, 'n_words': 176}