<commit_before><!DOCTYPE html>
<html lang="en">
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <title>Carina &middot; {{ active_page | title }} </title>
    {#    <meta name="description" content=""> TODO #}
    <meta content="initial-scale=1, shrink-to-fit=no, width=device-width"
          name="viewport">
    <meta name="author" content="<NAME>">
    <!-- CSS -->
    <!-- Add Material font (Roboto) and Material icon as needed -->
    <link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i"
          rel="stylesheet">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons"
          rel="stylesheet">
    <!-- Add Material CSS, replace Bootstrap CSS -->
    <link rel="stylesheet"
          href="{{ url_for('static', filename='css/style.css') }}">
    <link rel="stylesheet"
          href="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.4/css/selectize.bootstrap3.css">
    <link rel="stylesheet"
          href="{{ url_for('static', filename='css/material.min.css') }}">
    <link rel="stylesheet"
          href="{{ url_for('static', filename='css/selectize.css') }}">

    {% block extra_headers %}{% endblock %}
</head>


</head>
<body class="doc-body">

{% set navigation_bar = [
    ('/', 'index', 'Index'),
    ('/news', 'news', 'News'),
    ('/tutorials', 'tutorials', 'Tutorials'),
    ('/regulators', 'regulators', 'Regulators'),
    ('/docs', 'documentation', 'Documentation'),
    ('/acknowledgements', 'acknowledgements', 'Acknowledgements')] -%}

<div class="navbar toolbar-waterfall doc-navbar" id="doc-navbar">
    <button aria-controls="doc-navdrawer" aria-expanded="false"
            aria-label="Toggle Navdrawer" class="navbar-toggler "
            data-breakpoint="lg" data-target="#doc-navdrawer"
            data-toggle="navdrawer" data-type="permanent">
        <span class="navbar-toggler-icon"></span>
    </button>
    <a class="navbar-brand d-lg-none mr-auto">Carina</a>
    {#  <div class="d-lg-none ml-auto">#}
    {#    <div class="dropdown">#}
    {#      <button aria-expanded="false" aria-haspopup="true" class="navbar-toggler" data-toggle="dropdown" id="doc-dropdown-follow" type="button">#}
    {#        <i class="material-icons mx-auto">more_vert</i>#}
    {#      </button>#}
    {#      <div aria-labelledby="doc-dropdown-follow" class="dropdown-menu dropdown-menu-right">#}
    {#        <a class="dropdown-item" href="https://github.com/Daemonite/material" target="_blank">#}
    {#          <i class="material-icons mr-3">code</i>Fork me on GitHub#}
    {#        </a>#}
    {#        <a class="dropdown-item" href="http://www.daemon.com.au/" target="_blank">#}
    {#          <i class="material-icons mr-3 text-danger">favorite</i>Made by Daemon#}
    {#        </a>#}
    {#      </div>#}
    {#    </div>#}
    {#  </div>#}
</div>

<div aria-hidden="true" class="navdrawer navdrawer-permanent-lg doc-navdrawer"
     id="doc-navdrawer" tabindex="-1">
    <div class="navdrawer-content">
        <div class="d-flex flex-column doc-navdrawer-body">
            <div class="navdrawer-header">
                <a class="navbar-brand px-0 ">Carina</a>
            </div>
            {% for href, id, caption in navigation_bar %}

                <a {% if id == active_page %}
                    class="nav-link nav-item text-black font-weight-bold"
                {% else %}
                    class="nav-link nav-item text-black-secondary" {% endif %}
                    href="{{ href|e }}"> {{ caption|e }}
                </a>
            {% endfor %}
            {#                <a class="nav-item nav-link collapsed" data-toggle="collapse"#}
            {#                   href="#doc-navdrawer-components">#}
            {#                    <strong>Regulators</strong>#}
            {#                </a>#}
            {#                <div class="collapse pb-2 " id="doc-navdrawer-components">#}
            {#                    <a class="nav-item nav-link pl-4 py-2 text-black-secondary"#}
            {#                        href="/material/docs/4.0/components/alerts/"><span#}
            {#                        class="font-weight-normal">template#}
            {#                    </span>#}
            {#                    </a>#}
            {#                </div>#}
            </nav>

            <div class="mt-auto">
                <div class="navdrawer-divider mt-no"></div>
                <div class="navdrawer-nav">
                    <a class="nav-item nav-link text-black-secondary"
                       href="https://github.com/dieterich-lab/webdorina"
                       target="_blank">
                        <i class="material-icons mr-3">code</i>Source code
                    </a>
                    <a class="nav-item nav-link text-black-secondary"
                       href="mail:<EMAIL>"
                       target="_blank">
                        <i class="material-icons mr-3">email</i> Contact
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>

<main class="col bg-faded py-3">
    <div class="container pt-4 ">
        {# pt-4 adjust padding to the top from 1 to 5 #}
        <div class="row justify-content-center">
            <div class="col-lg-9 col-xl-6">
                {% with messages = get_flashed_messages(with_categories=true) %}
                    {% if messages %}
                        {% for category, message in messages %}
                            <div class="alert alert-{{ category }}
                                alert-dismissible fade show"
                                 role="alert">
                                <button type="button"
                                        class="close"
                                        data-dismiss="alert"
                                        aria-label="Close">
                                    <span aria-hidden="true">&times;</span>
                                </button>
                                {{ message }}
                            </div>
                        {% endfor %}

                    {% endif %}
                {% endwith %}
                <div class="bd-content mb-xl">
                    {% block body %}{% endblock %}
                </div>
            </div>
        </div>
    </div>
</main>
</div>
</div>

<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
        integrity="<KEY>
        crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js"></script>

<!-- Then Material JavaScript on top of Bootstrap JavaScript -->
<script src="{{ url_for('static', filename='js/material.min.js') }}"></script>
<!-- Optional JavaScript -->
<script src="{{ url_for('static', filename='js/knockout.js') }}"></script>
<script src="{{ url_for('static', filename='js/knockstrap.js') }}"></script>
<script src="{{ url_for('static', filename='js/dorina.js') }}"></script>
<script src="{{ url_for('static', filename='js/dorina.net.js') }}"></script>
<script src="{{ url_for('static', filename='js/selectize.min.js') }}"></script>

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
        integrity="<KEY>"
        crossorigin="anonymous"></script>
{% block extra_scripts %}{% endblock %}
</body>
</html><commit_msg>Search direct in the navbar minor fixes<commit_after><!DOCTYPE html>
<html lang="en">
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <title>Carina &middot; {{ active_page | title }} </title>
    {#    <meta name="description" content=""> TODO #}
    <meta content="initial-scale=1, shrink-to-fit=no, width=device-width"
          name="viewport">
    <meta name="author" content="<NAME>">
    <!-- CSS -->
    <!-- Add Material font (Roboto) and Material icon as needed -->
    <link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i"
          rel="stylesheet">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons"
          rel="stylesheet">
    <!-- Add Material CSS, replace Bootstrap CSS -->
    <link rel="stylesheet"
          href="{{ url_for('static', filename='css/style.css') }}">
    <link rel="stylesheet"
          href="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.4/css/selectize.bootstrap3.css">
    <link rel="stylesheet"
          href="{{ url_for('static', filename='css/material.min.css') }}">
    <link rel="stylesheet"
          href="{{ url_for('static', filename='css/selectize.css') }}">

    {% block extra_headers %}{% endblock %}
</head>

<body class="doc-body">

{% set navigation_bar = [
    ('/', 'index', 'Home'),
    ('/go', 'go', 'Search'),
    ('/news', 'news', 'News'),
    ('/tutorials', 'tutorials', 'Tutorials'),
    ('/regulators', 'regulators', 'Regulators'),
    ('/docs', 'documentation', 'Documentation'),
    ('/acknowledgements', 'acknowledgements', 'Acknowledgements')] -%}

<div class="navbar toolbar-waterfall doc-navbar" id="doc-navbar">
    <button aria-controls="doc-navdrawer" aria-expanded="false"
            aria-label="Toggle Navdrawer" class="navbar-toggler "
            data-breakpoint="lg" data-target="#doc-navdrawer"
            data-toggle="navdrawer" data-type="permanent">
        <span class="navbar-toggler-icon"></span>
    </button>
    <a class="navbar-brand d-lg-none mr-auto"></a>
    {#  <div class="d-lg-none ml-auto">#}
    {#    <div class="dropdown">#}
    {#      <button aria-expanded="false" aria-haspopup="true" class="navbar-toggler" data-toggle="dropdown" id="doc-dropdown-follow" type="button">#}
    {#        <i class="material-icons mx-auto">more_vert</i>#}
    {#      </button>#}
    {#      <div aria-labelledby="doc-dropdown-follow" class="dropdown-menu dropdown-menu-right">#}
    {#        <a class="dropdown-item" href="https://github.com/Daemonite/material" target="_blank">#}
    {#          <i class="material-icons mr-3">code</i>Fork me on GitHub#}
    {#        </a>#}
    {#        <a class="dropdown-item" href="http://www.daemon.com.au/" target="_blank">#}
    {#          <i class="material-icons mr-3 text-danger">favorite</i>Made by Daemon#}
    {#        </a>#}
    {#      </div>#}
    {#    </div>#}
    {#  </div>#}
</div>

<div aria-hidden="true" class="navdrawer navdrawer-permanent-lg doc-navdrawer"
     id="doc-navdrawer" tabindex="-1">
    <div class="navdrawer-content">
        <div class="d-flex flex-column doc-navdrawer-body">
            <div class="navdrawer-header">
                <a class="navbar-brand px-0 ">Carina</a>
            </div>
            <nav class="navdrawer-nav">
                {% for href, id, caption in navigation_bar %}

                    <a {% if id == active_page %}
                        class="nav-link nav-item text-black font-weight-bold"
                    {% else %}
                        class="nav-link nav-item text-black-secondary" {% endif %}
                        href="{{ href|e }}"> {{ caption|e }}
                    </a>
                {% endfor %}
                {#                <a class="nav-item nav-link collapsed" data-toggle="collapse"#}
                {#                   href="#doc-navdrawer-components">#}
                {#                    <strong>Regulators</strong>#}
                {#                </a>#}
                {#                <div class="collapse pb-2 " id="doc-navdrawer-components">#}
                {#                    <a class="nav-item nav-link pl-4 py-2 text-black-secondary"#}
                {#                        href="/material/docs/4.0/components/alerts/"><span#}
                {#                        class="font-weight-normal">template#}
                {#                    </span>#}
                {#                    </a>#}
                {#                </div>#}
            </nav>

            <div class="mt-auto">
                <div class="navdrawer-divider mt-no"></div>
                <div class="navdrawer-nav">
                    <a class="nav-item nav-link text-black-secondary"
                       href="https://github.com/dieterich-lab/webdorina"
                       target="_blank">
                        <i class="material-icons mr-3">code</i>Source code
                    </a>
                    <a class="nav-item nav-link text-black-secondary"
                       href="mailto:<EMAIL>"
                       target="_blank">
                        <i class="material-icons mr-3">email</i> Contact
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>

<main class="col bg-faded py-3">
    <div class="container pt-4 ">
        {# pt-4 adjust padding to the top from 1 to 5 #}
        <div class="row justify-content-center">
            <div class="col-lg-9 col-xl-6">
                {% with messages = get_flashed_messages(with_categories=true) %}
                    {% if messages %}
                        {% for category, message in messages %}
                            <div class="alert alert-{{ category }}
                                alert-dismissible fade show"
                                 role="alert">
                                <button type="button"
                                        class="close"
                                        data-dismiss="alert"
                                        aria-label="Close">
                                    <span aria-hidden="true">&times;</span>
                                </button>
                                {{ message }}
                            </div>
                        {% endfor %}

                    {% endif %}
                {% endwith %}
                <div class="bd-content mb-xl">
                    {% block body %}{% endblock %}
                </div>
            </div>
        </div>
    </div>
</main>
</div>
</div>

<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
        integrity="<KEY>
        crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js"></script>

<!-- Then Material JavaScript on top of Bootstrap JavaScript -->
<script src="{{ url_for('static', filename='js/material.min.js') }}"></script>
<!-- Optional JavaScript -->
<script src="{{ url_for('static', filename='js/knockout.js') }}"></script>
<script src="{{ url_for('static', filename='js/knockstrap.js') }}"></script>
<script src="{{ url_for('static', filename='js/dorina.js') }}"></script>
<script src="{{ url_for('static', filename='js/dorina.net.js') }}"></script>
<script src="{{ url_for('static', filename='js/selectize.min.js') }}"></script>

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
        integrity="<KEY>"
        crossorigin="anonymous"></script>
{% block extra_scripts %}{% endblock %}
</body>
</html>
{'fraction_non_alphanumeric': 0.17926594544368488, 'fraction_numerical': 0.007831685139709298, 'mean_word_length': 1.7888210253562835, 'pattern_counts': {'":': 0, '<': 263, '<?xml version=': 0, '>': 263, 'https://': 16, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2246759', 'n_tokens_mistral': 4698, 'n_tokens_neox': 4355, 'n_words': 793}