<commit_before>@(page:Page[org.fedoraproject.javadeptools.ClassEntry])(implicit request:play.api.mvc.RequestHeader)
<div>Showing results from @page.from to @page.to of total @page.totalCount</div>
@defining(request.getQueryString("q").getOrElse("")) { q =>
<ul class="pagination">
    <li @if(page.currentPage == 1){class="disabled"}>
        <a href="@routes.Application.index(page.currentPage - 1, q)">Previous</a>
    </li>
    <li @if(page.currentPage > page.maxPage){class="disabled"}>
        <a href="@routes.Application.index(page.currentPage + 1, q)">Next</a>
     </li>
</ul>}
<table class="table table-condensed">
    <tr>
        <th>Class name</th>
        <th>JAR path</th>
        <th>Package name</th>
    </tr>
    @for(row <-page.content) {
    <tr>
        <td>@row.getClassName</td>
        <td>@row.getFileArtifact.getPath</td>
        <td>@row.getFileArtifact.getPkg.getName</td>
    </tr>
}
</table><commit_msg>Make disabled pagination links really disabled<commit_after>@(page:Page[org.fedoraproject.javadeptools.ClassEntry])(implicit request:play.api.mvc.RequestHeader)
<div>Showing results from @page.from to @page.to of total @page.totalCount</div>
@defining(request.getQueryString("q").getOrElse("")) { q =>
    <ul class="pagination">
        @if(page.currentPage == 1) {
            <li class="disabled"><a href="#">Previous</a></li>
        } else {
            <li>
                <a href="@routes.Application.index(page.currentPage - 1, q)">Previous</a>
            </li>
        }
        @if(page.currentPage > page.maxPage) {
            <li class="disabled"><a href="#">Next</a></li>
        } else {
            <li>
                <a href="@routes.Application.index(page.currentPage + 1, q)">Next</a>
            </li>
        }
    </ul>
}
<table id="class-table" class="table table-condensed">
    <tr>
        <th>Class name</th>
        <th>JAR path</th>
        <th>Package name</th>
    </tr>
    @for(row <-page.content) {
    <tr>
        <td>@row.getClassName</td>
        <td>@row.getFileArtifact.getPath</td>
        <td>@row.getFileArtifact.getPkg.getName</td>
    </tr>
}
</table>
{'fraction_non_alphanumeric': 0.1893158388003749, 'fraction_numerical': 0.0028116213683223993, 'mean_word_length': 2.7854609929078014, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 75, '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': '4894956', 'n_tokens_mistral': 755, 'n_tokens_neox': 744, 'n_words': 115}