<commit_before>﻿@if (ViewBag.Paging != null && (ViewBag.Paging.PageNr>1 || ViewBag.Paging.HasMore))
{
    <ul class="pagination">
        @for (int i = 1; i <= (int)ViewBag.Paging.PageNr; i++)
        {
            if (i == ViewBag.Paging.PageNr)
            {
                <li class="active">
                    <a href="@Url.Action("Index", new { pageNr = i })">@i</a>
                </li>
            }
            else
            {
                <li>
                    <a href="@Url.Action("Index", new { pageNr = i })">@i</a>
                </li>
            }
        }

        @if (ViewBag.Paging.HasMore)
        {
            int nextPage = ViewBag.Paging.PageNr + 1;
        <li>
            <a href="@Url.Action("Index", new { pageNr = nextPage })">...</a>
        </li>
        }
    </ul>
}<commit_msg>paging with next and previous only #46<commit_after>﻿@if (ViewBag.Paging != null)
{
    <ul class="pagination">

        @*@for (int i = 1; i <= (int)ViewBag.Paging.PageNr; i++)
            {
                if (i == ViewBag.Paging.PageNr)
                {
                    <li class="active">
                        <a href="@Url.Action("Index", new { pageNr = i })">@i</a>
                    </li>
                }
                else
                {
                    <li>
                        <a href="@Url.Action("Index", new { pageNr = i })">@i</a>
                    </li>
                }
            }*@
        @if (ViewBag.Paging.PageNr > 1)
        {
            int prevPage = ViewBag.Paging.PageNr - 1;
            <li>
                <a href="@Url.Action("Index", new { pageNr = prevPage })"> previous </a>
            </li>
        }
        else
        {
            <li class="disabled">
                <a class="disabled"> previous </a>
            </li>
        }

        @if (ViewBag.Paging.HasMore)
        {
            int nextPage = ViewBag.Paging.PageNr + 1;
            <li>
                <a href="@Url.Action("Index", new { pageNr = nextPage })"> next </a>
            </li>
        }
        else
        {
            <li class="disabled">
                <a class="disabled"> next </a>
            </li>
        }
    </ul>
}
{'fraction_non_alphanumeric': 0.16092475067996373, 'fraction_numerical': 0.004079782411604714, 'mean_word_length': 1.0606909430438842, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '6436715', 'n_tokens_mistral': 720, 'n_tokens_neox': 680, 'n_words': 137}