<commit_before><!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8"/>
    <title>{% block title %}Accueil{% endblock %}</title>

    {% block stylesheets %}
        <link rel="stylesheet" href="{{ asset('/css/materialize.css') }}">
        <link rel="stylesheet" href="{{ asset('/css/style.css') }}">
        <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    {% endblock %}
    <script src="{{ asset('/js/jquery-3.2.0.min.js') }}"></script>
    <script src="{{ asset('/js/materialize.min.js') }}"></script>
    <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}"/>
</head>
<body>
<header>
    {% block header %}
        <ul id="slide-out" class="side-nav">
            {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
                <li>
                    <div class="userView">
                        <div class="background">
                            <img src="{{ asset('/images/interface/side-nav-bg.jpg') }}">
                        </div>
                        <a href="#"><img class="circle" src="{{ asset('/images/profile/profile.png') }}"></a>
                        <a href="#"><span class="white-text name">{{ app.user.username }}</span></a>
                        <a href="#"><span class="white-text email">{{ app.user.email }}</span></a>
                    </div>
                </li>
                <li><a href="{{ path('fos_user_security_logout') }}">
                        Se déconnecter
                        {#{{ 'layout.logout'|trans({}, 'FOSUserBundle') }}#}
                    </a></li>
                <li>
                    <div class="divider"></div>
                </li>
                <li><a class="subheader">Activités</a></li>
                <li><a href="{{ path('my_photos') }}"><i class="material-icons">perm_media</i>Mes sons</a></li>
                <li><a class="subheader">Mes actions</a></li>
                <li><a class="waves-effect" href="{{ path('new_sound') }}"><i class="material-icons">add</i>Ajouter un son</a></li>
            {% else %}
                <a class="btn-floating btn-large waves-effect waves-light red" href="{{ path('fos_user_security_login') }}"><i class="material-icons">perm_identity</i></a>
                {#<a href="">{{ 'layout.login'|trans({}, 'FOSUserBundle') }}</a>#}
            {% endif %}
        </ul>
        <div class="row">
            <div class="col s2 center-align">
                <a class="btn-floating btn-large red button-collapse" data-activates="slide-out">
                    <i class="material-icons">menu</i>
                </a>
            </div>
            <div class="col s2 offset-s3 center-align">
                <a class="btn-floating btn-large waves-effect waves-light red" href="{{ path('home') }}"><i class="material-icons">home</i></a>
                <a class="btn-floating btn-large waves-effect waves-light blue" href="{{ path('music_home') }}"><i class="material-icons">queue_music</i></a>
            </div>
        </div>
    {% endblock %}
</header>
<div class="container">
    {% block content %}
    {% endblock %}
</div>

{% block javascripts %}
    <script src="{{ asset('/js/main.js') }}"></script>
{% endblock %}
</body>
</html><commit_msg>MAj connexion obligatoire pour boite à son<commit_after><!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8"/>
    <title>{% block title %}Accueil{% endblock %}</title>

    {% block stylesheets %}
        <link rel="stylesheet" href="{{ asset('/css/materialize.css') }}">
        <link rel="stylesheet" href="{{ asset('/css/style.css') }}">
        <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    {% endblock %}
    <script src="{{ asset('/js/jquery-3.2.0.min.js') }}"></script>
    <script src="{{ asset('/js/materialize.min.js') }}"></script>
    <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}"/>
</head>
<body>
<header>
    {% block header %}
        <ul id="slide-out" class="side-nav">
            {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
                <li>
                    <div class="userView">
                        <div class="background">
                            <img src="{{ asset('/images/interface/side-nav-bg.jpg') }}">
                        </div>
                        <a href="#"><img class="circle" src="{{ asset('/images/profile/profile.png') }}"></a>
                        <a href="#"><span class="white-text name">{{ app.user.username }}</span></a>
                        <a href="#"><span class="white-text email">{{ app.user.email }}</span></a>
                    </div>
                </li>
                <li><a href="{{ path('fos_user_security_logout') }}">
                        Se déconnecter
                        {#{{ 'layout.logout'|trans({}, 'FOSUserBundle') }}#}
                    </a></li>
                <li>
                    <div class="divider"></div>
                </li>
                <li><a class="subheader">Activités</a></li>
                <li><a href="{{ path('my_photos') }}"><i class="material-icons">perm_media</i>Mes sons</a></li>
                <li><a class="subheader">Mes actions</a></li>
                <li><a class="waves-effect" href="{{ path('new_sound') }}"><i class="material-icons">add</i>Ajouter un son</a></li>
            {% else %}
                <a class="btn-floating btn-large waves-effect waves-light red" href="{{ path('fos_user_security_login') }}"><i class="material-icons">perm_identity</i></a>
                {#<a href="">{{ 'layout.login'|trans({}, 'FOSUserBundle') }}</a>#}
            {% endif %}
        </ul>
        <div class="row">
            <div class="col s2 center-align">
                <a class="btn-floating btn-large red button-collapse" data-activates="slide-out">
                    <i class="material-icons">menu</i>
                </a>
            </div>
            <div class="col s2 offset-s3 center-align">
                <a class="btn-floating btn-large waves-effect waves-light red" href="{{ path('home') }}"><i class="material-icons">home</i></a>
                <a class="btn-floating btn-large waves-effect waves-light blue" href="{{ path('music_home') }}"><i class="material-icons">queue_music</i></a>
            </div>
        </div>
    {% endblock %}
</header>
<div class="container">
    {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
    {% block content %}
    {% endblock %}
    {% else %}
        <h2>Il faut se connecter pour avoir accès à cette partie du site ;)</h2>
    {% endif %}
</div>

{% block javascripts %}
    <script src="{{ asset('/js/main.js') }}"></script>
{% endblock %}
</body>
</html>
{'fraction_non_alphanumeric': 0.2097787081339713, 'fraction_numerical': 0.0023923444976076554, 'mean_word_length': 2.0725769407441432, 'pattern_counts': {'":': 0, '<': 197, '<?xml version=': 0, '>': 197, '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': '4215495', 'n_tokens_mistral': 2125, 'n_tokens_neox': 1975, 'n_words': 396}