<commit_before><!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">
    {% block head %}
    <title>Scoring Engine - {% block title %}{% endblock %}</title>
    {% endblock %}
    <link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet">
    <link rel="shortcut icon" href="{{ url_for('static', filename='images/favicon.ico') }}">
  </head>
  <body>
    {% for category, message in get_flashed_messages(with_categories=true) %}
    <div class="alert alert-{{category}} alert-dismissable alert-fixed" role="alert" style="margin-bottom: 0px">
      <button type="button" class="close" data-dismiss="alert" aria-label="Close">
        <span aria-hidden="true">&times;</span>
      </button>
      <strong>{{ message }}</strong>
    </div>
    {% endfor %}

    <nav class="navbar navbar-collapse navbar-inverse navbar-static-top">
      <div class="container">
        <a class="navbar-brand" href="/">Scoring Engine</a>
        <ul class="nav navbar-nav">
          <li class="navbar-item"><a class="nav-link" href="{{ url_for('scoreboard.home') }}">Scoreboard</a></li>
          <li class="navbar-item"><a class="nav-link"  href="{{ url_for('overview.home') }}">Overview</a></li>
          <li class="navbar-item"><a class="nav-link"  href="{{ url_for('services.home') }}">Services</a></li>
          <li class="navbar-item"><a class="nav-link"  href="{{ url_for('admin.home') }}">Admin</a></li>
        </ul>
        <ul class="nav navbar-nav navbar-right">
          <li class="navbar-item"><a>{{ current_user.get_username }}</a></li>
          {% if not current_user.is_authenticated %}
          <li class="navbar-item"><a class="nav-link pull-right"  href="{{ url_for('auth.login') }}">Login</a></li>
          {% else %}
          <li class="navbar-item"><a class="nav-link pull-right"  href="{{ url_for('auth.logout') }}">Logout</a></li>
          {% endif %}
        </ul>
      </div>
    </nav>

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

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
    <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
  </body>
</html><commit_msg>Fix placement of logged in user<commit_after><!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">
    {% block head %}
    <title>Scoring Engine - {% block title %}{% endblock %}</title>
    {% endblock %}
    <link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet">
    <link rel="shortcut icon" href="{{ url_for('static', filename='images/favicon.ico') }}">
  </head>
  <body>
    {% for category, message in get_flashed_messages(with_categories=true) %}
    <div class="alert alert-{{category}} alert-dismissable alert-fixed" role="alert" style="margin-bottom: 0px">
      <button type="button" class="close" data-dismiss="alert" aria-label="Close">
        <span aria-hidden="true">&times;</span>
      </button>
      <strong>{{ message }}</strong>
    </div>
    {% endfor %}

    <nav class="navbar navbar-collapse navbar-inverse navbar-static-top">
      <div class="container">
        <a class="navbar-brand" href="/">Scoring Engine</a>
        <ul class="nav navbar-nav">
          <li class="navbar-item"><a class="nav-link" href="{{ url_for('scoreboard.home') }}">Scoreboard</a></li>
          <li class="navbar-item"><a class="nav-link"  href="{{ url_for('overview.home') }}">Overview</a></li>
          <li class="navbar-item"><a class="nav-link"  href="{{ url_for('services.home') }}">Services</a></li>
          <li class="navbar-item"><a class="nav-link"  href="{{ url_for('admin.home') }}">Admin</a></li>
        </ul>
        <ul class="nav navbar-nav navbar-right">
          {% if not current_user.is_authenticated %}
          <li class="navbar-item"><a class="nav-link pull-right"  href="{{ url_for('auth.login') }}">Login</a></li>
          {% else %}
          <li class="navbar-item"><p class="navbar-text">{{ current_user.get_username }}</p></li>
          <li class="navbar-item"><a class="nav-link pull-right"  href="{{ url_for('auth.logout') }}">Logout</a></li>
          {% endif %}
        </ul>
      </div>
    </nav>

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

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
    <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
  </body>
</html>
{'fraction_non_alphanumeric': 0.21792260692464357, 'fraction_numerical': 0.002443991853360489, 'mean_word_length': 3.41636690647482, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 137, 'https://': 2, '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': '3090596', 'n_tokens_mistral': 1653, 'n_tokens_neox': 1558, 'n_words': 309}