<commit_before>{% extends "users/base.html" %}
{% load static i18n users_tags crispy_forms_tags querystring_tags bootstrap_pagination %}

{% block title %}{% trans 'Users index' %}{% endblock %}

{% block breadcrumbs_rows %}
    <li class="active">{% trans 'Users index' %}</li>
{% endblock %}

{% block extra_css %}
    <style>
        .staff {
            background-color: #FF7474;
        }
    </style>
{% endblock %}
{% block users_content %}
    <h2>{% trans 'Users' %}</h2>
    {% if not perms.users.can_view_other %}
        <p>
            {% trans "You don't have access to data of all our users. Mostly you have access to staff and own profile." %}
        </p>
    {% endif %}

    <div class="row">
        {% crispy filter.form %}
        <ul class="nav nav-tabs">
            {% for key, value in is_staff.choices %}
                <li role="presentation"{% ifequal key is_staff.selected %} class="active"{% endifequal %}><a
                        href="?{% query_update is_staff=key page='' %}">{{ value.0 }}</a></li>
            {% endfor %}
        </ul>
    </div>

    <table class="table table-condensed table-users">
        <thead>
        <tr>
            <th class="user">{% trans 'User' %}</th><commit_msg>Add margin-top for filter button<commit_after>{% extends "users/base.html" %}
{% load static i18n users_tags crispy_forms_tags querystring_tags bootstrap_pagination %}

{% block title %}{% trans 'Users index' %}{% endblock %}

{% block breadcrumbs_rows %}
    <li class="active">{% trans 'Users index' %}</li>
{% endblock %}

{% block extra_css %}
    <style>
        .staff {
            background-color: #FF7474;
        }
        #submit-id-filter {
            margin-top: 20px;
        }
    </style>
{% endblock %}
{% block users_content %}
    <h2>{% trans 'Users' %}</h2>
    {% if not perms.users.can_view_other %}
        <p>
            {% trans "You don't have access to data of all our users. Mostly you have access to staff and own profile." %}
        </p>
    {% endif %}

    <div class="row">
        {% crispy filter.form %}
        <ul class="nav nav-tabs">
            {% for key, value in is_staff.choices %}
                <li role="presentation"{% ifequal key is_staff.selected %} class="active"{% endifequal %}><a
                        href="?{% query_update is_staff=key page='' %}">{{ value.0 }}</a></li>
            {% endfor %}
        </ul>
    </div>

    <table class="table table-condensed table-users">
        <thead>
        <tr>
            <th class="user">{% trans 'User' %}</th>
{'fraction_non_alphanumeric': 0.16699256941728588, 'fraction_numerical': 0.007821666014861166, 'mean_word_length': 2.2379746835443037, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '6431755', 'n_tokens_mistral': 883, 'n_tokens_neox': 786, 'n_words': 216}