<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%= yield :open_graph_tags %>
    <title>
      <%= "#{@page_title} » " if @page_title -%>
      <%= SETTINGS.name -%>: <%= SETTINGS.tagline -%>
    </title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=true">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <link rel='search' type='application/opensearchdescription+xml' href='/opensearch.xml' title='<%= SETTINGS.name %>' />

    <!-- Stylesheets, static -->
    <%= stylesheet_link_tag 'application', 'theme', :media => :all %>
    <%= stylesheet_link_tag 'mobile', :media => mobile_stylesheet_media("only screen and (max-device-width: 960px)") %>
    <%= stylesheet_link_tag 'print', :media => :print %>

    <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css" />
    <!--[if lte IE 8]>
        <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" />
    <![endif]-->

    <!-- Stylesheets, inserted  -->
    <%= yield :css_insert %>

    <!-- JavaScripts, static -->
    <%= javascript_include_tag *mapping_js_includes %>
    <%= javascript_include_tag 'application', 'theme' %>

    <!-- JavaScripts, inserted -->
    <%= yield :javascript_insert %>

    <!-- Auto-discovery, static -->
    <%= auto_discovery_link_tag(:atom, events_url(:format => 'atom'), :title => 'Atom: All Events' )%>

    <!-- Auto-discovery, inserted -->
    <%= yield :discovery_insert %>

    <%# FIXME extract icon into theme %>
    <link rel="apple-touch-icon" href="<%= image_path("site-icon.png") %>" />
  </head>
  <body class="<%= "#{controller.controller_name}_#{action_name}" %> <%= "#{controller.controller_name}_controller" %> <%= %w[new create edit update].include?(action_name) ? "#{controller.controller_name}_change" : "" %>">

  <div id="outer">
    <div id="global_header">
      <a href="/" id="project_title"><%= SETTINGS.name %></a>

      <div id="top_menu">
         <div id='app_menu'>
          <ul>
              <li class='<%=link_class[:events]%>'><%= link_to "Events", events_path %></li>
              <li class='<%=link_class[:venues]%>'><%= link_to "Venues", venues_path %></li>
          </ul>
        </div>
        <div id='project_menu'>
          <strong>Get Involved:</strong> <%= link_to "Blog", "http://calagator.wordpress.com/", {:class => 'first'} %> | <%= link_to "Forum", "http://groups.google.com/group/pdx-tech-calendar/" %> | <%= link_to "Code", "https://github.com/calagator/calagator" %>
          <br />
          <strong>Something not right?</strong> <%= link_to "File an issue", "https://github.com/calagator/calagator/issues" %>
        </div>
        <%= form_tag '/events/search', :method => :get do %>
          <div id='search_form'>
          <label for="search_field">Search Events</label>
          <% if request.env["HTTP_USER_AGENT"] && request.env["HTTP_USER_AGENT"].include?("Safari") %>
            <input type="search" name="query" value="<%= @query %>" results="5" id="search_field">
          <% else %>
            <%= text_field_tag 'query', @query, :id => 'search_field' %>
          <% end %>
          </div>
        <% end -%>
      </div>
    </div>

    <% # Pick a subnav %>

    <%= render(:partial => 'events/subnav') if link_class[:events] == 'active' %><commit_msg>fooling with the app_menu<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%= yield :open_graph_tags %>
    <title>
      <%= "#{@page_title} » " if @page_title -%>
      <%= SETTINGS.name -%>: <%= SETTINGS.tagline -%>
    </title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=true">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <link rel='search' type='application/opensearchdescription+xml' href='/opensearch.xml' title='<%= SETTINGS.name %>' />

    <!-- Stylesheets, static -->
    <%= stylesheet_link_tag 'application', 'theme', :media => :all %>
    <%= stylesheet_link_tag 'mobile', :media => mobile_stylesheet_media("only screen and (max-device-width: 960px)") %>
    <%= stylesheet_link_tag 'print', :media => :print %>

    <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css" />
    <!--[if lte IE 8]>
        <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" />
    <![endif]-->

    <!-- Stylesheets, inserted  -->
    <%= yield :css_insert %>

    <!-- JavaScripts, static -->
    <%= javascript_include_tag *mapping_js_includes %>
    <%= javascript_include_tag 'application', 'theme' %>

    <!-- JavaScripts, inserted -->
    <%= yield :javascript_insert %>

    <!-- Auto-discovery, static -->
    <%= auto_discovery_link_tag(:atom, events_url(:format => 'atom'), :title => 'Atom: All Events' )%>

    <!-- Auto-discovery, inserted -->
    <%= yield :discovery_insert %>

    <%# FIXME extract icon into theme %>
    <link rel="apple-touch-icon" href="<%= image_path("site-icon.png") %>" />
  </head>
  <body class="<%= "#{controller.controller_name}_#{action_name}" %> <%= "#{controller.controller_name}_controller" %> <%= %w[new create edit update].include?(action_name) ? "#{controller.controller_name}_change" : "" %>">

  <div id="outer">
    <div id="global_header">
      <a href="/" id="project_title"><%= SETTINGS.name %></a>

      <div id="top_menu">
         <div id='app_menu'>
          <ul>
              <li class='<%=link_class[:events]%>'><%= link_to "Map", events_path %></li>
              <li class='<%=link_class[:venues]%>'><%= link_to "Venues", venues_path %></li>
          </ul>
        </div>
        <div id='project_menu'>
          <strong>Get Involved:</strong> <%= link_to "Blog", "http://calagator.wordpress.com/", {:class => 'first'} %> | <%= link_to "Forum", "http://groups.google.com/group/pdx-tech-calendar/" %> | <%= link_to "Code", "https://github.com/calagator/calagator" %>
          <br />
          <strong>Something not right?</strong> <%= link_to "File an issue", "https://github.com/calagator/calagator/issues" %>
        </div>
        <%= form_tag '/events/search', :method => :get do %>
          <div id='search_form'>
          <label for="search_field">Search Events</label>
          <% if request.env["HTTP_USER_AGENT"] && request.env["HTTP_USER_AGENT"].include?("Safari") %>
            <input type="search" name="query" value="<%= @query %>" results="5" id="search_field">
          <% else %>
            <%= text_field_tag 'query', @query, :id => 'search_field' %>
          <% end %>
          </div>
        <% end -%>
      </div>
    </div>

    <% # Pick a subnav %>

    <%= render(:partial => 'events/subnav') if link_class[:events] == 'active' %>
{'fraction_non_alphanumeric': 0.2175755090884242, 'fraction_numerical': 0.006833401667350007, 'mean_word_length': 3.1579545454545452, 'pattern_counts': {'":': 0, '<': 177, '<?xml version=': 0, '>': 195, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 8}, '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': '2396313', 'n_tokens_mistral': 2667, 'n_tokens_neox': 2437, 'n_words': 429}