<commit_before>{% macro filelist(files) %}
    <table>
        <thead>
        <tr>
            <td>Filename</td>
            <td>Type</td>
            <td>Size</td>
            <td>Uploaded</td>
            <td>Actions</td>
        </tr>
        </thead>
        <tbody>
            {% for file in files %}
            <tr>
                <td><a href="{{ url_for('bepasty.display', name=file['id']) }}">{{ file['filename'] }}</a></td>
                <td>{{ file['type'] }}</td>
                <td>{{ file['size'] }}</td>
                <td>{{ file['timestamp-upload'] | datetime }}</td>
                <td>
                    <a href="{{ url_for('bepasty.display', name=file['id']) }}">display</a>
                    <a href="{{ url_for('bepasty.download', name=file['id']) }}">download</a>
                    <a href="{{ url_for('bepasty.inline', name=file['id']) }}">inline</a>
                    <a href="{{ url_for('bepasty.delete', name=file['id']) }}">delete</a>
                </td>
            </tr>
            {% endfor %}
        </tbody>
    </table>
{% endmacro %}
<commit_msg>make filelist table more pretty<commit_after>{% macro filelist(files) %}
    <table class="table table-hover">
        <thead>
        <tr>
            <th>Filename</th>
            <th>Type</th>
            <th>Size</th>
            <th>Uploaded</th>
            <th>Actions</th>
        </tr>
        </thead>
        <tbody>
            {% for file in files %}
            <tr>
                <td><a href="{{ url_for('bepasty.display', name=file['id']) }}">{{ file['filename'] }}</a></td>
                <td>{{ file['type'] }}</td>
                <td>{{ file['size'] }}</td>
                <td>{{ file['timestamp-upload'] | datetime }}</td>
                <td>
                    <a href="{{ url_for('bepasty.display', name=file['id']) }}">display</a>
                    <a href="{{ url_for('bepasty.download', name=file['id']) }}">download</a>
                    <a href="{{ url_for('bepasty.inline', name=file['id']) }}">inline</a>
                    <a href="{{ url_for('bepasty.delete', name=file['id']) }}">delete</a>
                </td>
            </tr>
            {% endfor %}
        </tbody>
    </table>
{% endmacro %}

{'fraction_non_alphanumeric': 0.21994657168299198, 'fraction_numerical': 0.0, 'mean_word_length': 1.5476190476190477, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7434310', 'n_tokens_mistral': 726, 'n_tokens_neox': 679, 'n_words': 130}