<commit_before><!DOCTYPE html>
<html lang="fr" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>

    <title>Home</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Bootstrap -->
    <link href="{{ asset('/css/bootstrap.css') }}" rel="stylesheet" media="screen">

    <!-- HTML5 Shim and Respond.js add IE8 support of HTML5 elements and media queries -->
    {% include 'BraincraftedBootstrapBundle::ie8-support.html.twig' %}

</head>

<body>
  <header>
      <div class="row">
        <div class="col-md-12">
        <nav class="navbar navbar-default" role="navigation">
          <div class="container">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="col-md-2 navbar-header">
                <button type="button" class="navbar-toggle"
                        data-toggle="collapse" data-target=".navbar-ex1-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <h1>
                  <a class="navbar-brand" href="#">
                    <img src="{{ asset('/bundles/sonataadmin/logo.png') }}" alt="#">
                  </a>
                </h1>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="col-md-6 collapse navbar-collapse navbar-ex1-collapse">
                {{ knp_menu_render('wottFrontBundle:Builder:mainMenu', { 'style': 'navbar' }) }}
            </div><!-- /.navbar-collapse -->

            <div class="col-md-4 pull-right">
              {% if app.user %}
                <div class="pull-left">
                  <a class="btn btn-default btn-xs" href="{{ path('_security_logout') }}">Logout</a>
                </div>
              {% else %}
                <div class="pull-left">
                  <a class="btn btn-default btn-xs" href="{{ path('fos_user_security_login') }}">Login without FB</a>
                </div>
                <div>
                  {{ facebook_login_button() }}
                  {{ facebook_initialize({'xfbml': true, 'culture': 'fr_FR', 'fbAsyncInit': 'onFbInit();'}) }}
                </div>
                <script type="text/javascript" > // Script for FOSFacebookBundle
                  function goLogIn(){
                    window.location = "{{ path('_security_check') }}";
                  }

                  function onFbInit() {
                    if (typeof(FB) != 'undefined' && FB != null ) {
                      FB.Event.subscribe('auth.statusChange', function(response) {
                        if (response.session || response.authResponse) setTimeout(goLogIn, 50);
                        else window.location = "{{ path('_security_logout') }}";
                      });
                    }
                  }
                </script>
              {% endif %}
              </div> 
            </div>         
        </nav>
      </div>
      </div>
    </header>

    {% block content %}{% endblock %}<commit_msg>before merge Marine<commit_after><!DOCTYPE html>
<html lang="fr" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>

    <title>Home</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Bootstrap -->
    <link href="{{ asset('/css/bootstrap.css') }}" rel="stylesheet" media="screen">

    <!-- HTML5 Shim and Respond.js add IE8 support of HTML5 elements and media queries -->
    {% include 'BraincraftedBootstrapBundle::ie8-support.html.twig' %}

</head>

<body>
  <header>
      <div class="row">
        <nav class="navbar navbar-default" role="navigation">
          <div class="container">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="col-md-2 navbar-header">
                <button type="button" class="navbar-toggle"
                        data-toggle="collapse" data-target=".navbar-ex1-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <h1>
                  <a class="navbar-brand" href="#">
                    <img src="{{ asset('/bundles/sonataadmin/logo.png') }}" alt="#">
                  </a>
                </h1>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="col-md-6 collapse navbar-collapse navbar-ex1-collapse">
                {{ knp_menu_render('wottFrontBundle:Builder:mainMenu', { 'style': 'navbar' }) }}
            </div><!-- /.navbar-collapse -->

            <div class="col-md-4 pull-right">
              {% if app.user %}
                <div class="pull-left">
                  <a class="btn btn-default btn-xs" href="{{ path('_security_logout') }}">Logout</a>
                </div>
              {% else %}
                <div class="pull-left">
                  <a class="btn btn-default btn-xs" href="{{ path('fos_user_security_login') }}">Login without FB</a>
                </div>
                <div>
                  {{ facebook_login_button() }}
                  {{ facebook_initialize({'xfbml': true, 'culture': 'fr_FR', 'fbAsyncInit': 'onFbInit();'}) }}
                </div>
                <script type="text/javascript" > // Script for FOSFacebookBundle
                  function goLogIn(){
                    window.location = "{{ path('_security_check') }}";
                  }

                  function onFbInit() {
                    if (typeof(FB) != 'undefined' && FB != null ) {
                      FB.Event.subscribe('auth.statusChange', function(response) {
                        if (response.session || response.authResponse) setTimeout(goLogIn, 50);
                        else window.location = "{{ path('_security_logout') }}";
                      });
                    }
                  }
                </script>
              {% endif %}
              </div> 
            </div>         
        </nav>
      </div>
    </header>

    {% block content %}{% endblock %}
{'fraction_non_alphanumeric': 0.16076765770017304, 'fraction_numerical': 0.006292276230926538, 'mean_word_length': 1.5523885989562425, 'pattern_counts': {'":': 0, '<': 115, '<?xml version=': 0, '>': 115, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4888008', 'n_tokens_mistral': 1823, 'n_tokens_neox': 1661, 'n_words': 353}