<commit_before><!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>{% block title %}{{ page_title|default(_('Project')) }}{% endblock %} - Rootio</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="csrf-token" content="{{ csrf_token() }}">

    <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
    <link rel="Shortcut Icon" href="{{ url_for('static', filename='favicon.png') }}" type="image/x-icon">

    {% block css %}
    <link rel="stylesheet" href="{{ url_for('static', filename='css/vendor/normalize.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/vendor/bootstrap.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/vendor/bootstrap-responsive.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}">
    {% endblock %}

    {% block css_style %}
    {% endblock %}

    <script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
    {% block js_top %}
    {% endblock %}
</head>
<body>
    {% include "macros/_ask_user_to_update_ie.html" %}

    <div id='wrap'>
        {% block topbar %}
        <div class="navbar navbar-static-top">
            <div class="navbar-inner">
                <div class="container">
                    <a class='brand' href='{{ url_for('frontend.index') }}'><img src="{{ url_for('static', filename='img/logo.png') }}" /></a>

                    <form class="navbar-search pull-left" action="{{ url_for('frontend.search') }}">
                        <input type='text' class="search-query" name='keywords' value='{{ keywords|default('') }}' placeholder='Search' />
                    </form>

                     <div class="pull-right">
                        <ul class="nav">
                            {% if current_user.is_authenticated() %}
                                {% if current_user.is_admin() %}
                                <li><a href="{{ url_for('rootio.index') }}">{{ current_user.name }}</a></li>
                                {% else %}
                                <li><a href="{{ url_for('user.index') }}">{{ current_user.name }}</a></li>
                                {% endif %}
                                <li><a href="{{ url_for('settings.profile') }}">Settings</a></li>
                                <li><a href="{{ url_for('frontend.logout') }}">Log out</a></li>
                            {% else %}
                                <li><span><a class="btn btn-success" href="{{ url_for('frontend.signup') }}"><strong>{{ _('Sign up') }}</strong></a></span></li>
                                <li><a href="{{ url_for('frontend.login') }}">{{ _('Sign in') }}</a></li>
                            {% endif %}
                            <li>
                                <form class="navbar-search pull-right" action="{{ url_for('frontend.lang') }}" method="POST" id="language-selector">
                                    <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
                                    <select name='language'>
                                    {% for lang_code,name in g.accept_languages.items() %}
                                        <option value="{{lang_code}}" {% if lang_code == session.language%}selected=selectred{%endif%}>{{name}}</option>
                                    {%endfor%}
                                    </select>
                                </form>
                            </li>
                        </ul>
                    </div>
                    
                </div>
            </div>
        </div>
        {% endblock %}

        {% block flash_message %}
            {% with messages = get_flashed_messages(with_categories=True) %}
                {% if messages %}
                <div class="container">
                    <div id='flash_message_container'>
                        {% for category, msg in messages %}
                            <div class="alert alert-{{ category }}">
                                <button type="button" class="close" data-dismiss="alert">×</button>
                                {{ msg }}
                            </div>
                        {% endfor %}
                    </div>
                </div>
                {% endif %}
            {% endwith %}
        {% endblock %}



    <script src="{{ url_for('static', filename='js/vendor/jquery.min.js') }}"></script>
    <script>window.jQuery || document.write('<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"><\/script>')</script>
    <script src="{{ url_for('static', filename='js/vendor/jquery-ui.custom.min.js') }}"></script>
    <script>window.jQuery.ui || document.write('<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"><\/script>')</script>
    
    {% block paging_js %}
    <link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.12/css/jquery.dataTables.css">
    <script type="text/javascript" charset="utf8" src="//cdn.datatables.net/1.10.12/js/jquery.dataTables.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $('#datatable').DataTable({
               serverSide: true,
               ajax: $('#datatable').attr('data-url'),
               searching: true,
           });

            $('#offline_datatable').DataTable({
               searching: true,
           });

        });
    </script>
    {% endblock %}

        {% block container %}
        <div class="container">

            {% block top %}
                {% if tabs %}
                <div class="tabbable">
                    <ul class="nav nav-tabs">
                        {% if tab_title%}
                            <li class="nav-header">{{tab_title}}</li>
                        {%endif%}
                        {% for tab, link in tabs %}
                        <li class="{% if active == tab %}active{% endif %}">
                            {% trans tab %}<a href="{{ link }}">{{ tab }}</a>{% endtrans %}
                        </li>
                        {% endfor %}
                    </ul>
                </div>
                {% endif %}
            {% endblock %}

            {% block body %}
            {% endblock %}

        </div>
        {% endblock %}
        <div id="push"></div>
    </div>

    <footer id="footer">
        <ul class="footer-links">
            <li>© 2013</li>
            <li><a href='http://rootio.org/'>{{ _('About') }}</a></li>
            <li class="muted">&middot;</li>
            <li><a href='{{ url_for('frontend.help') }}'>{{ _('Help') }}</a></li>
            <li class="muted">&middot;</li>
            <li><a href='https://github.com/rootio/rootio-cloud/blob/master/LICENSE'>{{ _('Terms') }}</a></li>
        </ul>
    </footer>

    <script src="{{ url_for('static', filename='js/vendor/bootstrap.js') }}"></script>
    {% block js_btm %}{% endblock %}
    <script src="{{ url_for('static', filename='js/plugins/bootstrap.modal-inline.js') }}"></script>
    <script src="{{ url_for('static', filename='js/main.js') }}"></script>


    {% block ga %}
    {% include "macros/_google_analytics.html" %}
    {% endblock %}
</body>
</html><commit_msg>Add cookie consent banner<commit_after><!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>{% block title %}{{ page_title|default(_('Project')) }}{% endblock %} - Rootio</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="csrf-token" content="{{ csrf_token() }}">

    <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
    <link rel="Shortcut Icon" href="{{ url_for('static', filename='favicon.png') }}" type="image/x-icon">

    {% block css %}
    <link rel="stylesheet" href="{{ url_for('static', filename='css/vendor/normalize.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/vendor/bootstrap.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/vendor/bootstrap-responsive.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}">
    {% endblock %}

    {% block css_style %}
    {% endblock %}

    <script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
    {% block js_top %}
    {% endblock %}
</head>
<body>
    {% include "macros/_ask_user_to_update_ie.html" %}

    <div id='wrap'>
        {% block topbar %}
        <div class="navbar navbar-static-top">
            <div class="navbar-inner">
                <div class="container">
                    <a class='brand' href='{{ url_for('frontend.index') }}'><img src="{{ url_for('static', filename='img/logo.png') }}" /></a>

                    <form class="navbar-search pull-left" action="{{ url_for('frontend.search') }}">
                        <input type='text' class="search-query" name='keywords' value='{{ keywords|default('') }}' placeholder='Search' />
                    </form>

                     <div class="pull-right">
                        <ul class="nav">
                            {% if current_user.is_authenticated() %}
                                {% if current_user.is_admin() %}
                                <li><a href="{{ url_for('rootio.index') }}">{{ current_user.name }}</a></li>
                                {% else %}
                                <li><a href="{{ url_for('user.index') }}">{{ current_user.name }}</a></li>
                                {% endif %}
                                <li><a href="{{ url_for('settings.profile') }}">Settings</a></li>
                                <li><a href="{{ url_for('frontend.logout') }}">Log out</a></li>
                            {% else %}
                                <li><span><a class="btn btn-success" href="{{ url_for('frontend.signup') }}"><strong>{{ _('Sign up') }}</strong></a></span></li>
                                <li><a href="{{ url_for('frontend.login') }}">{{ _('Sign in') }}</a></li>
                            {% endif %}
                            <li>
                                <form class="navbar-search pull-right" action="{{ url_for('frontend.lang') }}" method="POST" id="language-selector">
                                    <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
                                    <select name='language'>
                                    {% for lang_code,name in g.accept_languages.items() %}
                                        <option value="{{lang_code}}" {% if lang_code == session.language%}selected=selectred{%endif%}>{{name}}</option>
                                    {%endfor%}
                                    </select>
                                </form>
                            </li>
                        </ul>
                    </div>
                    
                </div>
            </div>
        </div>
        {% endblock %}

        {% block flash_message %}
            {% with messages = get_flashed_messages(with_categories=True) %}
                {% if messages %}
                <div class="container">
                    <div id='flash_message_container'>
                        {% for category, msg in messages %}
                            <div class="alert alert-{{ category }}">
                                <button type="button" class="close" data-dismiss="alert">×</button>
                                {{ msg }}
                            </div>
                        {% endfor %}
                    </div>
                </div>
                {% endif %}
            {% endwith %}
        {% endblock %}



    <script src="{{ url_for('static', filename='js/vendor/jquery.min.js') }}"></script>
    <script>window.jQuery || document.write('<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"><\/script>')</script>
    <script src="{{ url_for('static', filename='js/vendor/jquery-ui.custom.min.js') }}"></script>
    <script>window.jQuery.ui || document.write('<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"><\/script>')</script>
    
    {% block paging_js %}
    <link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.12/css/jquery.dataTables.css">
    <script type="text/javascript" charset="utf8" src="//cdn.datatables.net/1.10.12/js/jquery.dataTables.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $('#datatable').DataTable({
               serverSide: true,
               ajax: $('#datatable').attr('data-url'),
               searching: true,
           });

            $('#offline_datatable').DataTable({
               searching: true,
           });

        });
    </script>
    {% endblock %}

        {% block container %}
        <div class="container">

            {% block top %}
                {% if tabs %}
                <div class="tabbable">
                    <ul class="nav nav-tabs">
                        {% if tab_title%}
                            <li class="nav-header">{{tab_title}}</li>
                        {%endif%}
                        {% for tab, link in tabs %}
                        <li class="{% if active == tab %}active{% endif %}">
                            {% trans tab %}<a href="{{ link }}">{{ tab }}</a>{% endtrans %}
                        </li>
                        {% endfor %}
                    </ul>
                </div>
                {% endif %}
            {% endblock %}

            {% block body %}
            {% endblock %}

        </div>
        {% endblock %}
        <div id="push"></div>
    </div>

    <footer id="footer">
        <ul class="footer-links">
            <li>© 2013</li>
            <li><a href='http://rootio.org/'>{{ _('About') }}</a></li>
            <li class="muted">&middot;</li>
            <li><a href='{{ url_for('frontend.help') }}'>{{ _('Help') }}</a></li>
            <li class="muted">&middot;</li>
            <li><a href='https://github.com/rootio/rootio-cloud/blob/master/LICENSE'>{{ _('Terms') }}</a></li>
        </ul>
    </footer>

    <script src="{{ url_for('static', filename='js/vendor/bootstrap.js') }}"></script>
    {% block js_btm %}{% endblock %}
    <script src="{{ url_for('static', filename='js/plugins/bootstrap.modal-inline.js') }}"></script>
    <script src="{{ url_for('static', filename='js/main.js') }}"></script>

    <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" />
    <script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
    <script>
      window.addEventListener("load", function(){
      window.cookieconsent.initialise({
        "palette": {
          "popup": {
            "background": "#edeff5",
            "text": "#838391"
          },
          "button": {
            "background": "#4b81e8"
          }
        },
        "theme": "classic",
        "position": "bottom-right"
      })});
    </script>

    {% block ga %}
    {% include "macros/_google_analytics.html" %}
    {% endblock %}
</body>
</html>
{'fraction_non_alphanumeric': 0.19659510546410466, 'fraction_numerical': 0.0061964073355448455, 'mean_word_length': 1.655034895314058, 'pattern_counts': {'":': 8, '<': 320, '<?xml version=': 0, '>': 318, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1864751', 'n_tokens_mistral': 4912, 'n_tokens_neox': 4462, 'n_words': 810}