<commit_before><!DOCTYPE html>
<html lang="en">
{% macro csrf_input() %}
    <input type="hidden" value="{{ _csrf_code }}" name="_csrf_code"/>
{% endmacro %}

<head>
    <meta charset="utf-8">
    <title>Bootstrap 3, from LayoutIt!</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!--append ‘#!watch’ to the browser URL, then refresh the page. -->

    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/css/style.css" rel="stylesheet">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="/static/js/html5shiv.js"></script>
    <![endif]-->

    <!-- Fav and touch icons -->
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/static/img/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/static/img/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/static/img/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57-precomposed.png">
    <link rel="icon" href="/static/img/favicon.ico" type="image/x-icon"/>

    <script type="text/javascript" src="/static/js/jquery.min.js"></script>
    <script type="text/javascript" src="/static/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/static/js/scripts.js"></script>
</head>

<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <nav class="navbar navbar-default navbar-inverse" role="navigation">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse"
                            data-target="#bs-example-navbar-collapse-1"><span
                            class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span
                            class="icon-bar"></span><span class="icon-bar"></span></button>
                    <a class="navbar-brand" href="/">Python Pro</a>
                </div>

                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                    <ul class="nav navbar-nav">
                        {% macro macro_abas(aba_selecionada='') %}
                            <li {{ 'class=active' if aba_selecionada =='CURSOS' }}>
                                <a href="/curso">Cursos</a>
                            </li>
                            <li {{ 'class=active' if aba_selecionada =='USUARIOS' }}>
                                <a href="/usuario">Usuários</a>
                            </li>
                        {% endmacro %}

                        {% block abas %}
                            {{ macro_abas() }}
                        {% endblock %}
                    </ul>
                    <form class="navbar-form navbar-left" role="search">
                        <div class="form-group">
                            <input type="text" class="form-control">
                        </div>
                        <button type="submit" class="btn btn-default">Submit</button>
                    </form>
                    <ul class="nav navbar-nav navbar-right">
                        <li>
                            <a href="#">Link</a>
                        </li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown<strong
                                    class="caret"></strong></a>
                            <ul class="dropdown-menu">
                                <li>
                                    <a href="#">Action</a>
                                </li>
                                <li>
                                    <a href="#">Another action</a>
                                </li>
                                <li>
                                    <a href="#">Something else here</a>
                                </li>
                                <li class="divider">
                                </li>
                                <li>
                                    <a href="#">Separated link</a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>

            </nav>
        </div>
    </div>
    {% block conteudo %}
        <div class="row clearfix">
            <div class="col-md-12 column">
                <h1>Bloco de Conteúdo</h1>
            </div>
        </div>
    {% endblock %}

</div>
<hr/>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">

    &copy; 2014 - App Engine e Python
        </div>
    </div>
</div>
</body>
</html>
<commit_msg>Informções sobre login no cabeçalho de base.html<commit_after><!DOCTYPE html>
<html lang="en">
{% macro csrf_input() %}
    <input type="hidden" value="{{ _csrf_code }}" name="_csrf_code"/>
{% endmacro %}

<head>
    <meta charset="utf-8">
    <title>Bootstrap 3, from LayoutIt!</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!--append ‘#!watch’ to the browser URL, then refresh the page. -->

    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/css/style.css" rel="stylesheet">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="/static/js/html5shiv.js"></script>
    <![endif]-->

    <!-- Fav and touch icons -->
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/static/img/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/static/img/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/static/img/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57-precomposed.png">
    <link rel="icon" href="/static/img/favicon.ico" type="image/x-icon"/>

    <script type="text/javascript" src="/static/js/jquery.min.js"></script>
    <script type="text/javascript" src="/static/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/static/js/scripts.js"></script>
</head>

<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <nav class="navbar navbar-default navbar-inverse" role="navigation">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse"
                            data-target="#bs-example-navbar-collapse-1"><span
                            class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span
                            class="icon-bar"></span><span class="icon-bar"></span></button>
                    <a class="navbar-brand" href="/">Python Pro</a>
                </div>

                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                    <ul class="nav navbar-nav">
                        {% macro macro_abas(aba_selecionada='') %}
                            <li {{ 'class=active' if aba_selecionada =='CURSOS' }}>
                                <a href="/curso">Cursos</a>
                            </li>
                            <li {{ 'class=active' if aba_selecionada =='USUARIOS' }}>
                               <a href="/usuario">Usuários</a>
                            </li>
                        {% endmacro %}

                        {% block abas %}
                            {{ macro_abas() }}
                        {% endblock %}
                    </ul>
                    <div class="nav navbar-nav navbar-right" style="padding: 8px 8px;">
                        {% if _logged_user %}
                        <form class="form-inline" action="{{ _logout_path }}" method="post">
                            <div class="input-append" id="logout-div">
                                {{ csrf_input() }}
                                <span style="color: #999999;">{{ _logged_user.name }}</span>
                                <button class="btn btn-danger" type="submit">Sair</button>
                            </div>
                        </form>
                        {% else %}
                            <a class="btn btn-success" href="{{ _login_pth }}">Login</a>
                        {% endif %}
                    </div>
                </div>

            </nav>
        </div>
    </div>
    {% block conteudo %}
        <div class="row clearfix">
            <div class="col-md-12 column">
                <h1>Bloco de Conteúdo</h1>
            </div>
        </div>
    {% endblock %}

</div>
<hr/>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">

            &copy; 2014 - App Engine e Python
        </div>
    </div>
</div>
</body>
</html>

{'fraction_non_alphanumeric': 0.16306462070456018, 'fraction_numerical': 0.011670628917224984, 'mean_word_length': 1.4966280010790396, 'pattern_counts': {'":': 0, '<': 216, '<?xml version=': 0, '>': 216, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 11, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4314040', 'n_tokens_mistral': 2796, 'n_tokens_neox': 2565, 'n_words': 490}