<commit_before><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>RMonitor</title>

    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <%= stylesheet_link_tag "application" %>

    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  <%= csrf_meta_tags %>
</head>
<body<%= current_server ? raw(' class="with-subnav"') : nil %>>

    <%= render "layouts/navbar" %>

    <div class="container">

        <!-- <ul class="breadcrumb">
            <li><%= link_to "RMonitor", :root %> <span class="divider">&rarr;</span></li>
              
            <% if @breadcrumbs %>
                <% @breadcrumbs[0..-2].each do |txt, path| %>
                    <li><%= link_to(t(h(txt)), path) %> <span class="divider">></span></li>
                <% end %>
                <li class="active"><%= link_to(t(h(@breadcrumbs.last.first)), @breadcrumbs.last.last) %></li>
            <% else %>
                <li class="active"><% t :home %></li>
            <% end %>
        </ul> -->

        <!-- Alert -->
        <% [:alert, :notice, :info, :error].each do |key| %>
          <% if flash[key] %>
          <div class="alert alert-block <%= format_flash_class(key) %> fade in" data-alert="alert">
            <a class="close" data-dismiss="alert" href="#">×</a>
            <%= t(flash[key]) %>
          </div>
          <% end %>
        <% end %>

        <div id="yield">

          <%= yield %>

        </div> <!-- /.yield -->

        <hr>

        <footer>
            <p>Powered by <%= link_to "RMonitor", "https://github.com/nicolas-brousse/RMonitor" %> &copy; <%= Time.now.year > 2011 ? "2011—#{Time.now.year}" : "2011" %> <%= link_to "N<NAME>", "http://nicolas-brousse.fr" %>  — v<%= RMonitor::VERSION::ARRAY[0,3].join('.') %></p>
        </footer>

    </div> <!-- /.container -->

    <%= javascript_include_tag "application" %>
    <%= yield :javascript %>

</body>
</html><commit_msg>Use RMonitor lib for layout footer<commit_after><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>RMonitor</title>

    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <%= stylesheet_link_tag "application" %>

    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  <%= csrf_meta_tags %>
</head>
<body<%= current_server ? raw(' class="with-subnav"') : nil %>>

    <%= render "layouts/navbar" %>

    <div class="container">

        <!-- <ul class="breadcrumb">
            <li><%= link_to "RMonitor", :root %> <span class="divider">&rarr;</span></li>
              
            <% if @breadcrumbs %>
                <% @breadcrumbs[0..-2].each do |txt, path| %>
                    <li><%= link_to(t(h(txt)), path) %> <span class="divider">></span></li>
                <% end %>
                <li class="active"><%= link_to(t(h(@breadcrumbs.last.first)), @breadcrumbs.last.last) %></li>
            <% else %>
                <li class="active"><% t :home %></li>
            <% end %>
        </ul> -->

        <!-- Alert -->
        <% [:alert, :notice, :info, :error].each do |key| %>
          <% if flash[key] %>
          <div class="alert alert-block <%= format_flash_class(key) %> fade in" data-alert="alert">
            <a class="close" data-dismiss="alert" href="#">×</a>
            <%= t(flash[key]) %>
          </div>
          <% end %>
        <% end %>

        <div id="yield">

          <%= yield %>

        </div> <!-- /.yield -->

        <hr>

        <footer>
            <p>Powered by <%= link_to RMonitor::Info.app_name, RMonitor::Info.url %> &copy; <%= Time.now.year > 2011 ? "2011—#{Time.now.year}" : "2011" %> <%= link_to "<NAME>", "http://nicolas-brousse.fr" %>  — v<%= RMonitor::VERSION::ARRAY[0,3].join('.') %></p>
        </footer>

    </div> <!-- /.container -->

    <%= javascript_include_tag "application" %>
    <%= yield :javascript %>

</body>
</html>
{'fraction_non_alphanumeric': 0.23288690476190477, 'fraction_numerical': 0.010912698412698412, 'mean_word_length': 2.15078125, 'pattern_counts': {'":': 0, '<': 149, '<?xml version=': 0, '>': 153, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6068104', 'n_tokens_mistral': 1509, 'n_tokens_neox': 1332, 'n_words': 248}