<commit_before><% -%>
<script language="javascript">
  var $j = jQuery.noConflict();
  $j(document).ready(function() {
    $j('#calendar_modal').jqm({ajax: '@href', trigger: 'a.entry', toTop: true});
    if(<%= @admin %>) {
      $j('#calendar_modal_2').jqm({ajax: '@id', trigger: 'div.new_entry', toTop: true});
    }
    $j('#calendar_modal_3').jqm({ajax: '@id', trigger: 'input.wiki_entries_button', toTop: true});

    // Close Button Highlighting. IE doesn\'t support :hover. Surprise?
    if($j.browser.msie) {
      $j('div.jqmClose')
      .hover(
        function(){ $j(this).addClass('jqmCloseHover'); }, 
        function(){ $j(this).removeClass('jqmCloseHover'); });
    }
  });
</script>
<div class="jqmWindow" id="calendar_modal" style="display:none;"></div>
<div class="jqmWindow" id="calendar_modal_2" style="display:none;"></div>
<div class="jqmWindow" id="calendar_modal_3" style="display:none;"></div>
<table class="simple_calendar">
  <tr colspan="7">
    <th colspan="7" style="border: 0;">
      <%= select_month(@date, {}, {:id => "date_month",
                                   :onchange => "#{remote_function(:url => {:controller => 'simple_calendar', :action => 'refresh_date'},
                                                                        :with => "'month='+this.value+'&year='+$('date_year').value")}"})%> 
      <%= select_year( @date, {}, {:id => "date_year",
                                   :onchange => "#{remote_function(:url => {:controller => 'simple_calendar', :action => 'refresh_date'},
                                                                          :with => "'year='+this.value+'&month='+$('date_month').value")}"})%>
      <% if @show_wiki_entries_button -%>
        <%= button_to "Wiki Entries", {}, :id => url_for(:controller => "simple_calendar_entries", :action => "entries_without_time"), :class => "wiki_entries_button" %>
      <% end -%>
    </th>
  </tr>
  <tr>
    <td style="height:15px; border: none;" colspan="7"></td>
  </tr>
  <tr>
    <% Date::DAYNAMES.each do |day| -%>
      <th><%= day -%></th><commit_msg>wiki_entries needs to be left aligned and button url needed to be dynamic<commit_after><% -%>
<script language="javascript">
  var $j = jQuery.noConflict();
  $j(document).ready(function() {
    $j('#calendar_modal').jqm({ajax: '@href', trigger: 'a.entry', toTop: true});
    if(<%= @admin %>) {
      $j('#calendar_modal_2').jqm({ajax: '@id', trigger: 'div.new_entry', toTop: true});
    }
    $j('#calendar_modal_3').jqm({ajax: '@id', trigger: 'input.wiki_entries_button', toTop: true});

    // Close Button Highlighting. IE doesn\'t support :hover. Surprise?
    if($j.browser.msie) {
      $j('div.jqmClose')
      .hover(
        function(){ $j(this).addClass('jqmCloseHover'); }, 
        function(){ $j(this).removeClass('jqmCloseHover'); });
    }
  });
</script>
<div class="jqmWindow" id="calendar_modal" style="display:none;"></div>
<div class="jqmWindow" id="calendar_modal_2" style="display:none;"></div>
<div class="jqmWindow" id="calendar_modal_3" style="display:none; text-align: left;"></div>
<table class="simple_calendar">
  <tr colspan="7">
    <th colspan="7" style="border: 0;">
      <%= select_month(@date, {}, {:id => "date_month",
                                   :onchange => "#{remote_function(:url => {:controller => 'simple_calendar', :action => 'refresh_date'},
                                                                        :with => "'month='+this.value+'&year='+$('date_year').value")}"})%> 
      <%= select_year( @date, {}, {:id => "date_year",
                                   :onchange => "#{remote_function(:url => {:controller => 'simple_calendar', :action => 'refresh_date'},
                                                                          :with => "'year='+this.value+'&month='+$('date_month').value")}"})%>
      <% if @show_wiki_entries_button -%>
        <%= button_to "Wiki Entries", {}, :id => "#{home_path}/simple_calendar_entries/entries_without_time", :class => "wiki_entries_button" %>
      <% end -%>
    </th>
  </tr>
  <tr>
    <td style="height:15px; border: none;" colspan="7"></td>
  </tr>
  <tr>
    <% Date::DAYNAMES.each do |day| -%>
      <th><%= day -%></th>
{'fraction_non_alphanumeric': 0.2179456906729634, 'fraction_numerical': 0.004722550177095631, 'mean_word_length': 2.8474114441416893, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 91, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1762214', 'n_tokens_mistral': 1401, 'n_tokens_neox': 1332, 'n_words': 240}