<commit_before>{% extends "body.html" %}

{% block title  %}
    Upload
{% endblock %}

{% block content %}
<div id="upload">
    <form id="fileupload" action="/upload/add" method="POST" enctype="multipart/form-data">
        <div class="btn-group">
            <span class="btn add">
                <span>Add files</span>
                <input type="file" name="files" multiple>
            </span>
            <button type="submit" class="btn start">
                <span>Upload</span>
            </button>
        </div>
        <hr />
        <table class="table table-striped table-bordered">
            <thead>
                <tr>
                    <th>
                        File
                    </th>
                    <th>
                        Progress
                    </th>
                </tr>
            </thead>
            <tbody class="files">
                <tr class="tmpl">
                    <td class="filename"></td>
                    <td>
                        <div class="progress progress-striped">
                            <div class="bar" style="width: 0%"></div>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>

    <hr />

    <div class="uploaded">
        <table class="table table-striped table-bordered">
            <thead>
                <tr>
                    <th>Track</th>
                </tr>
            </thead>
            <tbody class="tracks">
            </tbody>
            <thead>
                <tr>
                    <th>Message</th>
                </tr>
            </thead>
            <tbody class="messages">
            </tbody>
        </table>
    </div>
</div>
{% endblock %}

<commit_msg>use progress-success for upload progress bar<commit_after>{% extends "body.html" %}

{% block title  %}
    Upload
{% endblock %}

{% block content %}
<div id="upload">
    <form id="fileupload" action="/upload/add" method="POST" enctype="multipart/form-data">
        <div class="btn-group">
            <span class="btn add">
                <span>Add files</span>
                <input type="file" name="files" multiple>
            </span>
            <button type="submit" class="btn start">
                <span>Upload</span>
            </button>
        </div>
        <hr />
        <table class="table table-striped table-bordered">
            <thead>
                <tr>
                    <th>
                        File
                    </th>
                    <th>
                        Progress
                    </th>
                </tr>
            </thead>
            <tbody class="files">
                <tr class="tmpl">
                    <td class="filename"></td>
                    <td>
                        <div class="progress progress-striped progress-success">
                            <div class="bar" style="width: 0%"></div>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>

    <hr />

    <div class="uploaded">
        <table class="table table-striped table-bordered">
            <thead>
                <tr>
                    <th>Track</th>
                </tr>
            </thead>
            <tbody class="tracks">
            </tbody>
            <thead>
                <tr>
                    <th>Message</th>
                </tr>
            </thead>
            <tbody class="messages">
            </tbody>
        </table>
    </div>
</div>
{% endblock %}


{'fraction_non_alphanumeric': 0.1411042944785276, 'fraction_numerical': 0.0005577244841048522, 'mean_word_length': 0.9676357652221613, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 121, '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': '2320261', 'n_tokens_mistral': 995, 'n_tokens_neox': 905, 'n_words': 200}