<commit_before>{% load i18n %}
{% load static %}

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% block title %}Pixel{% endblock title %}</title>

    <link rel="stylesheet" type="text/css" href="{% static 'css/main.css' %}">
  </head>
  <body class="{% block body_class %}base-layout{% endblock body_class %}">
    <nav class="main-navigation">
      <div class="logo">
        <a href="{% url 'core:home' %}">
          <img src="{% static "img/pixel-logo.svg" %}" alt="Pixel's Logo" />
        </a>
      </div>
      <div class="navigation-links">
        <ul class="links">
          {% if request.user.is_authenticated %}
          <li class="pixeler">
            <i class="fa fa-user-circle" aria-hidden="true"></i>
            {{ request.user.username }}
          </li>
          {% if request.user.is_staff %}
          <li>
            <a class="admin" href="{% url 'admin:index' %}">
              <i class="fa fa-wrench" aria-hidden="true"></i>
            </a>
          </li>
          {% endif %}
          <li>
            <a class="explore" href="{% url 'explorer:pixelset_list' %}">
              <i class="fa fa-search" aria-hidden="true"></i>
            </a>
          </li>
          <li>
            <a class="submit" href="{% url 'submission:index' %}">
              <i class="fa fa-plus-circle" aria-hidden="true"></i>
            </a>
          </li>
          <li>
            <a class="action logout" href="{% url 'logout' %}">
              <i class="fa fa-sign-out" aria-hidden="true"></i>
            </a>
          </li>
          {% else %}
          <li>
            <a class="action login" href="{% url 'login' %}">
              <i class="fa fa-sign-in" aria-hidden="true"></i>
              {% trans "Login" %}
            </a>
          </li>
          {% endif %}
        </ul>
      </div>
    </nav>

    {% block messages_wrapper %}
    <div class="messages-wrapper">
      <div class="messages">
        {% for message in messages %}
        <div class="message {% if message.tags %}{{ message.tags }}{% endif %}">
          {{ message }}
        </div>
        {% endfor %}
        {% block messages %}{% endblock messages %}
      </div>
    </div>
    {% endblock messages_wrapper %}

    <header class="page-header">
      {% block header %}{% endblock %}
    </header>

    <div class="page-content-wrapper">
      <div class="page-content">
        <aside class="sidebar-left">
          {% block sidebar-left %}{% endblock %}
        </aside>

        <main class="content">
          {% block content %}{% endblock %}
        </main>

        <aside class="sidebar-right">
          {% block sidebar-right %}{% endblock %}
        </aside>
      </div>
    </div>

    <footer class="page-footer">
      {% block footer %}
        <div class="copyright">
          <a href="https://github.com/Candihub/pixel/">Pixel</a>
          by <a href="https://github.com/Candihub/">Candihub</a>
          &mdash; 2017.
        </div>
      {% endblock footer %}
    </footer>
    {% block javascript %}{% endblock %}
  </body>
</html>
<commit_msg>Add titles to menu entries<commit_after>{% load i18n %}
{% load static %}

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% block title %}Pixel{% endblock title %}</title>

    <link rel="stylesheet" type="text/css" href="{% static 'css/main.css' %}">
  </head>
  <body class="{% block body_class %}base-layout{% endblock body_class %}">
    <nav class="main-navigation">
      <div class="logo">
        <a href="{% url 'core:home' %}">
          <img src="{% static "img/pixel-logo.svg" %}" alt="Pixel's Logo" />
        </a>
      </div>
      <div class="navigation-links">
        <ul class="links">
          {% if request.user.is_authenticated %}
          <li class="pixeler">
            <i class="fa fa-user-circle" aria-hidden="true"></i>
            {{ request.user.username }}
          </li>
          {% if request.user.is_staff %}
          <li>
            <a class="admin" href="{% url 'admin:index' %}">
              <i class="fa fa-wrench" aria-hidden="true"></i>
              {% trans "Django admin" %}
            </a>
          </li>
          {% endif %}
          <li>
            <a class="explore" href="{% url 'explorer:pixelset_list' %}">
              <i class="fa fa-search" aria-hidden="true"></i>
              {% trans "Pixel sets" %}
            </a>
          </li>
          <li>
            <a class="submit" href="{% url 'submission:index' %}">
              <i class="fa fa-plus-circle" aria-hidden="true"></i>
              {% trans "Submissions" %}
            </a>
          </li>
          <li>
            <a class="action logout" href="{% url 'logout' %}">
              <i class="fa fa-sign-out" aria-hidden="true"></i>
              {% trans "Log out" %}
            </a>
          </li>
          {% else %}
          <li>
            <a class="action login" href="{% url 'login' %}">
              <i class="fa fa-sign-in" aria-hidden="true"></i>
              {% trans "Log in" %}
            </a>
          </li>
          {% endif %}
        </ul>
      </div>
    </nav>

    {% block messages_wrapper %}
    <div class="messages-wrapper">
      <div class="messages">
        {% for message in messages %}
        <div class="message {% if message.tags %}{{ message.tags }}{% endif %}">
          {{ message }}
        </div>
        {% endfor %}
        {% block messages %}{% endblock messages %}
      </div>
    </div>
    {% endblock messages_wrapper %}

    <header class="page-header">
      {% block header %}{% endblock %}
    </header>

    <div class="page-content-wrapper">
      <div class="page-content">
        <aside class="sidebar-left">
          {% block sidebar-left %}{% endblock %}
        </aside>

        <main class="content">
          {% block content %}{% endblock %}
        </main>

        <aside class="sidebar-right">
          {% block sidebar-right %}{% endblock %}
        </aside>
      </div>
    </div>

    <footer class="page-footer">
      {% block footer %}
        <div class="copyright">
          <a href="https://github.com/Candihub/pixel/">Pixel</a>
          by <a href="https://github.com/Candihub/">Candihub</a>
          &mdash; 2017.
        </div>
      {% endblock footer %}
    </footer>
    {% block javascript %}{% endblock %}
  </body>
</html>

{'fraction_non_alphanumeric': 0.1937799043062201, 'fraction_numerical': 0.0026913875598086126, 'mean_word_length': 1.799916282963583, 'pattern_counts': {'":': 0, '<': 171, '<?xml version=': 0, '>': 171, 'https://': 4, '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': '4969144', 'n_tokens_mistral': 2240, 'n_tokens_neox': 2036, 'n_words': 458}