<commit_before>{% load i18n %}
{% load staticfiles %}
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8">
    <meta name="author" content="<NAME>">

    <!--
    This file is part of Workout Manager

    Workout Manager is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Workout Manager is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with Workout Manager. If not, see <http://www.gnu.org/licenses/>.
    -->

    <link rel="stylesheet" type="text/css" href="{% static "css/yaml/demos/css/flexible-grids.css" %} "> <!-- CSS framework for the layout -->
    <link rel="stylesheet" type="text/css" href="{% static "css/yaml/custom-yaml.css" %}">               <!-- Customisations for yaml      -->
    <link rel="stylesheet" type="text/css" href="{% static "css/manager-custom.css" %}">                 <!-- Own CSS classes and styles      -->
    <link rel="stylesheet" type="text/css" href="{% static "css/jquery-ui.css" %}">                      <!-- CSS for Jqyery UI elements   -->


    <script src="{% static "js/jquery.js" %}"></script>
    {% block header %}{% endblock %}
 
    <title>{% block title %}{% endblock %}</title>
</head>
<body>
<header>
    <div class="ym-wrapper">
        <div class="ym-wbox">
            <h1>{% trans "Workout manager" %}</h1>
        </div>
    </div>
</header>
<nav id="nav">
    <div class="ym-wrapper">
        <div class="ym-hlist">
            <ul>
                <li {% if active_tab == 'user' %}class="active"{% endif %}>
            {% if not user.username %}
                <a href="{% url manager.views.login %}">{% trans "Login" %}</a>
            {% else %}
                <a href="{% url manager.views.preferences %}">{% trans "Dashboard" %}</a>
                </li>
                <li {% if active_tab == 'workout'   %}class="active"{% endif %}><a href="{% url manager.views.index %}">{% trans "Workouts" %}</a></li>
                <li {% if active_tab == 'exercises' %}class="active"{% endif %}><a href="{% url exercises.views.exercise_overview %}">{% trans "Exercises" %}</a></li>
                <li {% if active_tab == 'weight'    %}class="active"{% endif %}><a href="{% url weight.views.overview %}">{% trans "Weight" %} </a></li>
                <li {% if active_tab == 'nutrition' %}class="active"{% endif %}><a href="{% url nutrition.views.overview %}">{% trans "Nutrition" %} </a></li>
            </ul>
            
            
            <ul style="float:right;">
            <li>
                <a href="{% url manager.views.logout %}">
                {% trans 'Logout' %}
                </a>
            {% endif %}
            </li>
            </ul>
        </div>
    </div>
</nav>

<div id="main">
    <div class="ym-wrapper">
        <section ><commit_msg>Go to the index page, not the user preferences when clicking on user tab<commit_after>{% load i18n %}
{% load staticfiles %}
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8">
    <meta name="author" content="<NAME>">

    <!--
    This file is part of Workout Manager

    Workout Manager is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Workout Manager is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with Workout Manager. If not, see <http://www.gnu.org/licenses/>.
    -->

    <link rel="stylesheet" type="text/css" href="{% static "css/yaml/demos/css/flexible-grids.css" %} "> <!-- CSS framework for the layout -->
    <link rel="stylesheet" type="text/css" href="{% static "css/yaml/custom-yaml.css" %}">               <!-- Customisations for yaml      -->
    <link rel="stylesheet" type="text/css" href="{% static "css/manager-custom.css" %}">                 <!-- Own CSS classes and styles      -->
    <link rel="stylesheet" type="text/css" href="{% static "css/jquery-ui.css" %}">                      <!-- CSS for Jqyery UI elements   -->


    <script src="{% static "js/jquery.js" %}"></script>
    {% block header %}{% endblock %}
 
    <title>{% block title %}{% endblock %}</title>
</head>
<body>
<header>
    <div class="ym-wrapper">
        <div class="ym-wbox">
            <h1>{% trans "Workout manager" %}</h1>
        </div>
    </div>
</header>
<nav id="nav">
    <div class="ym-wrapper">
        <div class="ym-hlist">
            <ul>
                <li {% if active_tab == 'user' %}class="active"{% endif %}>
            {% if not user.username %}
                <a href="{% url manager.views.login %}">{% trans "Login" %}</a>
            {% else %}
                <a href="{% url manager.views.index %}">{% trans "Dashboard" %}</a>
                </li>
                <li {% if active_tab == 'workout'   %}class="active"{% endif %}><a href="{% url manager.views.overview %}">{% trans "Workouts" %}</a></li>
                <li {% if active_tab == 'exercises' %}class="active"{% endif %}><a href="{% url exercises.views.exercise_overview %}">{% trans "Exercises" %}</a></li>
                <li {% if active_tab == 'weight'    %}class="active"{% endif %}><a href="{% url weight.views.overview %}">{% trans "Weight" %} </a></li>
                <li {% if active_tab == 'nutrition' %}class="active"{% endif %}><a href="{% url nutrition.views.overview %}">{% trans "Nutrition" %} </a></li>
            </ul>
            
            
            <ul style="float:right;">
            <li>
                <a href="{% url manager.views.logout %}">
                {% trans 'Logout' %}
                </a>
            {% endif %}
            </li>
            </ul>
        </div>
    </div>
</nav>

<div id="main">
    <div class="ym-wrapper">
        <section >
{'fraction_non_alphanumeric': 0.17538322813345356, 'fraction_numerical': 0.0021039975954313195, 'mean_word_length': 2.2654563297350343, 'pattern_counts': {'":': 0, '<': 143, '<?xml version=': 0, '>': 143, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6171965', 'n_tokens_mistral': 2127, 'n_tokens_neox': 1917, 'n_words': 619}