<commit_before>{% extends "mdstore/base.html" %}
{% block content %}
{% load humanize %}
    {% if entries %}
    <!-- Search results header feedback -->

<div class="row-fluid section">
        {% if searchString %}Search Results for "<em>{{ searchString }}</em>"{% endif %}
	<div class="alert alert-success">
        now viewing entries <strong>{{ entries.start_index|intcomma }}-{% if entries.has_next %}{{ entries.start_index|add:'19'|intcomma }}{% else %}{{ entries.paginator.count|intcomma }}{% endif %}</strong> of <strong>{{ entries.paginator.count|intcomma }}</strong> total
    </div>
</div>

    <!-- table header for results -->
    {% if entries.object_list %}

        <table id="results" class="table table-striped table-hover">
            <thead><tr>
                <th>
                    Ark ID
                </th>
                <th>
                    Bagged Date
                </th>
                <th>
                    URLs
                </th>
                <th>
                    ATOM
                </th>
                <th style="text-align:right;">
                    Size
                </th>
                <th style="text-align:right;">
                    # Files
                </th>
            </tr></thead>
            <!-- iterate through search results and display if not suppressed / deleted -->
            {% for entry in entries.object_list %}
                <tr>
                    <td class="data" style="vertical-align:middle">
                        <i class="icon-tag"></i> <a href="http://{{ request.META.HTTP_HOST }}/bag/{{ entry.name }}/">{{ entry.name }}</a>
                    </td>
                    <td class="data" style="vertical-align:middle">
                        <i class="icon-calendar"></i> {{ entry.bagging_date }}</a>
                    </td>
                    <td class="data" style="vertical-align:middle">
                        <i class="icon-globe"></i> <a href="http://{{ request.META.HTTP_HOST }}/bag/{{ entry.name }}.urls">urls</a>
                    </td>
                    <td class="data" style="vertical-align:middle">
                        <i class="icon-globe"></i> <a href="http://{{ request.META.HTTP_HOST }}/APP/bag/{{ entry.name }}">ATOM</a>
                    </td>
                    <td class="data" style="vertical-align:middle; text-align:right;">
                       {{ entry.size|filesizeformat }}
                    </td>
                    <td class="data" style="vertical-align:middle; text-align:right;">
                       {{ entry.files|intcomma }}
                    </td>
                </tr>
            {% endfor %}
        </table>
        {% else %}
        <div class="row-fluid">
            <form action="/search/" method="get" class="dashboard-search hero-unit">
                <div class="input-prepend input-append">
                    <span class="add-on"><i class="icon-search">&nbsp;</i></span>
                    <input class="input-xxlarge" type="text" name="search" placeholder="search text within a bag"/>
                    <button class="btn btn-large btn-inverse" type="submit">Search</button>
                </div>
            </form>
		</div>
        {% endif %}
    {% else %}
<commit_msg>Add Links to bag-search page.<commit_after>{% extends "mdstore/base.html" %}
{% block content %}
{% load humanize %}
    {% if entries %}
    <!-- Search results header feedback -->

<div class="row-fluid section">
        {% if searchString %}Search Results for "<em>{{ searchString }}</em>"{% endif %}
	<div class="alert alert-success">
        now viewing entries <strong>{{ entries.start_index|intcomma }}-{% if entries.has_next %}{{ entries.start_index|add:'19'|intcomma }}{% else %}{{ entries.paginator.count|intcomma }}{% endif %}</strong> of <strong>{{ entries.paginator.count|intcomma }}</strong> total
    </div>
</div>

    <!-- table header for results -->
    {% if entries.object_list %}

        <table id="results" class="table table-striped table-hover">
            <thead><tr>
                <th>
                    Ark ID
                </th>
                <th>
                    Bagged Date
                </th>
                <th>
                    URLs
                </th>
                <th>
                    ATOM
                </th>
                <th>
                    Links
                </th>
                <th style="text-align:right;">
                    Size
                </th>
                <th style="text-align:right;">
                    # Files
                </th>
            </tr></thead>
            <!-- iterate through search results and display if not suppressed / deleted -->
            {% for entry in entries.object_list %}
                <tr>
                    <td class="data" style="vertical-align:middle">
                        <i class="icon-tag"></i> <a href="http://{{ request.META.HTTP_HOST }}/bag/{{ entry.name }}/">{{ entry.name }}</a>
                    </td>
                    <td class="data" style="vertical-align:middle">
                        <i class="icon-calendar"></i> {{ entry.bagging_date }}</a>
                    </td>
                    <td class="data" style="vertical-align:middle">
                        <i class="icon-globe"></i> <a href="http://{{ request.META.HTTP_HOST }}/bag/{{ entry.name }}.urls">urls</a>
                    </td>
                    <td class="data" style="vertical-align:middle">
                        <i class="icon-globe"></i> <a href="http://{{ request.META.HTTP_HOST }}/APP/bag/{{ entry.name }}">ATOM</a>
                    </td>
                    <td class="data" style="vertical-align:middle">
                        <i class="icon-globe"></i> <a href="http://{{ request.META.HTTP_HOST }}/bag/{{ entry.name }}/links/">links</a>
                    </td>
                    <td class="data" style="vertical-align:middle; text-align:right;">
                       {{ entry.size|filesizeformat }}
                    </td>
                    <td class="data" style="vertical-align:middle; text-align:right;">
                       {{ entry.files|intcomma }}
                    </td>
                </tr>
            {% endfor %}
        </table>
        {% else %}
        <div class="row-fluid">
            <form action="/search/" method="get" class="dashboard-search hero-unit">
                <div class="input-prepend input-append">
                    <span class="add-on"><i class="icon-search">&nbsp;</i></span>
                    <input class="input-xxlarge" type="text" name="search" placeholder="search text within a bag"/>
                    <button class="btn btn-large btn-inverse" type="submit">Search</button>
                </div>
            </form>
		</div>
        {% endif %}
    {% else %}

{'fraction_non_alphanumeric': 0.1660338785046729, 'fraction_numerical': 0.0005841121495327102, 'mean_word_length': 1.4227095861337107, 'pattern_counts': {'":': 0, '<': 157, '<?xml version=': 0, '>': 157, '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': '5891855', 'n_tokens_mistral': 1964, 'n_tokens_neox': 1784, 'n_words': 399}