<commit_before>@(pageName: Option[String], commits: List[app.CommitInfo], repository: app.RepositoryInfo)(implicit context: app.Context)
@import view.helpers
@import context._
@main("History - " + repository.owner + "/" + repository.name){
  @header("wiki", repository)
  @wikitab(if(pageName.isEmpty) "history" else "", repository)
  <ul class="nav nav-tabs">
    <li>
      <h1 class="wiki-title">
        @if(pageName.nonEmpty){
          <span class="description">History for</span> @pageName.get
        }
        @if(pageName.isEmpty){
          <span class="description">History</span>
        }
      </h1>
    </li>
    <li class="pull-right">
      <div class="btn-group">
        <a class="btn" href="@path/@repository.owner/@repository.name/wiki/_new">New Page</a>
      </div>
    </li>
  </ul>
  <table class="table table-bordered">
    @commits.map { commit =>
      <tr>
        <td width="0%"><input type="checkbox"></td>
        <td><a href="@path/@commit.committer">@commit.committer</a></td>
        <td width="80%">
          <span class="description">@helpers.datetime(commit.time):</span>
          @commit.message
        </td>
      </tr>
      
    }
  </table>
  <input type="button" value="Compare Revisions" class="btn"/>
  <input type="button" value="Back to Top" class="btn"/>
}<commit_msg>Add JavaScript to control checkbox state.<commit_after>@(pageName: Option[String], commits: List[app.CommitInfo], repository: app.RepositoryInfo)(implicit context: app.Context)
@import view.helpers
@import context._
@main("History - " + repository.owner + "/" + repository.name){
  @header("wiki", repository)
  @wikitab(if(pageName.isEmpty) "history" else "", repository)
  <ul class="nav nav-tabs">
    <li>
      <h1 class="wiki-title">
        @if(pageName.nonEmpty){
          <span class="description">History for</span> @pageName.get
        }
        @if(pageName.isEmpty){
          <span class="description">History</span>
        }
      </h1>
    </li>
    <li class="pull-right">
      <div class="btn-group">
        <a class="btn" href="@path/@repository.owner/@repository.name/wiki/_new">New Page</a>
      </div>
    </li>
  </ul>
  <table class="table table-bordered">
    @commits.map { commit =>
      <tr>
        <td width="0%"><input type="checkbox" name="commitId" value="@commit.id"></td>
        <td><a href="@path/@commit.committer">@commit.committer</a></td>
        <td width="80%">
          <span class="description">@helpers.datetime(commit.time):</span>
          @commit.message
        </td>
      </tr>
    }
  </table>
  <input type="button" value="Compare Revisions" class="btn"/>
  <input type="button" value="Back to Top" class="btn"/>
  <script>
  $(function(){
    $('input[name=commitId]').click(function(){
      return !($('input[name=commitId]:checked').length == 3);
    });
  });
  </script>
}
{'fraction_non_alphanumeric': 0.19426974143955275, 'fraction_numerical': 0.003843466107617051, 'mean_word_length': 3.0667613636363638, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 73, 'https://': 0, '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': '7304641', 'n_tokens_mistral': 928, 'n_tokens_neox': 917, 'n_words': 170}