<commit_before>x<!-- TODO navigation -->
<?php echo $this->doctype(); ?>

<html lang="pt-BR">
    <head>
        <meta charset="utf-8">
        <?php echo $this->headTitle('Zf2SkeletonApp')->setSeparator(' - ')->setAutoEscape(false) ?>

        <?php echo $this->headMeta()
            ->appendName('viewport', 'width=device-width, initial-scale=1.0')
            ->appendHttpEquiv('X-UA-Compatible', 'IE=edge')
        ?>

        <!-- Le styles -->
        <?php echo $this->headLink(array('rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->basePath() . '/assets/img/favicon.ico'))
            ->prependStylesheet($this->basePath() . '/assets/css/main.css')
            ->prependStylesheet($this->basePath() . '/library/fontawesome/css/font-awesome.min.css')
            ->prependStylesheet($this->basePath() . '/library/bootstrap/css/bootstrap.min.css')  ?>

        <!-- Scripts -->
        <?php echo $this->headScript()
            ->prependScript("var basePath = '".$this->basePath()."'" )
            ->prependFile($this->basePath() . '/assets/js/app.js')
            ->prependFile($this->basePath() . '/library/bootstrap/js/bootstrap.min.js')
            ->prependFile($this->basePath() . '/library/jquery/jquery-1.11.0.min.js')
            ->prependFile($this->basePath() . '/library/base/respond.min.js', 'text/javascript', array('conditional' => 'lt IE 9',))
            ->prependFile($this->basePath() . '/library/base/html5shiv.js',   'text/javascript', array('conditional' => 'lt IE 9',))  ?>
    </head>
    <body>
        <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
            <div class="container">
                <!-- Brand and toggle get grouped for better mobile display -->
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#app-navbar-collapse">
                        <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="<?php echo $this->url('home'); ?>">Zf2SkeletonApp</a>
                </div>
                <div class="collapse navbar-collapse" id="app-navbar-collapse">
                    <?php echo $this->navigation('navigation')->menu()->setPartial('partials/navigation-top.phtml');
                    ?>
                    <?php if ($this->UserIdentity()) : ?>
                        <ul class="nav navbar-nav navbar-right">
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Hello <?php echo ($this->UserIdentity()->getPerfil()->getName()) ? $this->UserIdentity()->getPerfil()->getName() : $this->UserIdentity()->getUsername() ; ?>! <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    <li><a href="#">Meus Dados</a></li>
                                    <li class="divider"></li>
                                    <li><a href="<?php echo $this->url('user-auth/default', array('action' => 'logout')) ?>">Logout</a></li>
                                </ul>
                            </li>
                        </ul>
                    <?php else: ?>
                        <form class="navbar-form navbar-right" action="/auth" method="post">
                            <div class="form-group">
                                <input type="text" name="username" class="form-control" placeholder="Username">
                            </div>
                            <div class="form-group">
                                <input type="password" name="password" class="form-control" placeholder="Password">
                            </div>
                            <div class="form-group">
                                <input type="checkbox" name="rememberme" value="1"><label for="rememberme">Remember me</label>
                            </div>
                            <button type="submit" class="btn btn-default">Autenticar</button>
                        </form>
                    <?php endif; ?>
                </div>

            </div><!-- /.container -->
        </nav>
        <!-- MAIN CONTENT -->
        <div class="container" style="padding-top: 80px;">
            <?php echo $this->content; ?>
            <div class="text-center col-xs-12"><?php echo $this->Version(); ?></div>
        </div>

        <!-- END MAIN CONTENT -->

        <?php echo $this->inlineScript() ?>
    </body>
</html><commit_msg>Update layout.phtml<commit_after>x<!-- TODO navigation -->
<?php echo $this->doctype(); ?>

<html lang="pt-BR">
    <head>
        <meta charset="utf-8">
        <?php echo $this->headTitle('Zf2SkeletonApp')->setSeparator(' - ')->setAutoEscape(false) ?>

        <?php echo $this->headMeta()
            ->appendName('viewport', 'width=device-width, initial-scale=1.0')
            ->appendHttpEquiv('X-UA-Compatible', 'IE=edge')
        ?>

        <!-- Le styles -->
        <?php echo $this->headLink(array('rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->basePath() . '/assets/img/favicon.ico'))
            ->prependStylesheet($this->basePath() . '/assets/css/main.css')
            ->prependStylesheet($this->basePath() . '/library/fontawesome/css/font-awesome.min.css')
            ->prependStylesheet($this->basePath() . '/library/bootstrap/css/bootstrap.min.css')  ?>

        <!-- Scripts -->
        <?php echo $this->headScript()
            ->prependScript("var basePath = '".$this->basePath()."'" )
            ->prependFile($this->basePath() . '/assets/js/app.js')
            ->prependFile($this->basePath() . '/library/bootstrap/js/bootstrap.min.js')
            ->prependFile($this->basePath() . '/library/jquery/jquery-1.11.0.min.js')
            ->prependFile($this->basePath() . '/library/base/respond.min.js', 'text/javascript', array('conditional' => 'lt IE 9',))
            ->prependFile($this->basePath() . '/library/base/html5shiv.js',   'text/javascript', array('conditional' => 'lt IE 9',))  ?>
    </head>
    <body>
        <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
            <div class="container">
                <!-- Brand and toggle get grouped for better mobile display -->
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#app-navbar-collapse">
                        <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="<?php echo $this->url('home'); ?>">Zf2SkeletonApp</a>
                </div>
                <div class="collapse navbar-collapse" id="app-navbar-collapse">
                    <?php echo $this->navigation('navigation')->menu()->setPartial('partials/navigation-top.phtml');
                    ?>
                    <?php if ($this->UserIdentity()) : ?>
                        <ul class="nav navbar-nav navbar-right">
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Hello <?php echo ($this->UserIdentity()->getPerfil()->getName()) ? $this->UserIdentity()->getPerfil()->getName() : $this->UserIdentity()->getUsername() ; ?>! <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    <li><a href="#">Meus Dados</a></li>
                                    <li class="divider"></li>
                                    <li><a href="<?php echo $this->url('user-auth/default', array('action' => 'logout')) ?>">Logout</a></li>
                                </ul>
                            </li>
                        </ul>
                    <?php else: ?>
                        <form class="navbar-form navbar-right" action="<?php echo $this->url('user-auth') ?>" method="post">
                            <div class="form-group">
                                <input type="text" name="username" class="form-control" placeholder="Username">
                            </div>
                            <div class="form-group">
                                <input type="password" name="password" class="form-control" placeholder="Password">
                            </div>
                            <div class="form-group">
                                <input type="checkbox" name="rememberme" value="1"><label for="rememberme">Remember me</label>
                            </div>
                            <button type="submit" class="btn btn-default">Autenticar</button>
                        </form>
                    <?php endif; ?>
                </div>

            </div><!-- /.container -->
        </nav>
        <!-- MAIN CONTENT -->
        <div class="container" style="padding-top: 80px;">
            <?php echo $this->content; ?>
            <div class="text-center col-xs-12"><?php echo $this->Version(); ?></div>
        </div>

        <!-- END MAIN CONTENT -->

        <?php echo $this->inlineScript() ?>
    </body>
</html>
{'fraction_non_alphanumeric': 0.18414429530201343, 'fraction_numerical': 0.0035654362416107383, 'mean_word_length': 1.651376146788991, 'pattern_counts': {'":': 0, '<': 180, '<?xml version=': 0, '>': 283, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '122617', 'n_tokens_mistral': 2621, 'n_tokens_neox': 2501, 'n_words': 444}