<commit_before>{% extends 'stackdio/page.html' %}

{% block title %}Stacks{% endblock %}
{% block stack-class %}active{% endblock %}

{% block page-content %}
    <div class="row">
        <div class="col-md-6">
            <p>
                Showing stacks
                <span data-bind="text: startNum"></span>-<span data-bind="text: endNum"></span>
                of <span data-bind="text: count"></span>.
            </p>
        </div>
        <div class="col-md-6 text-right">
            {% if has_admin %}
                {# Only show the button if the user has permission to see it #}
                <a class="btn btn-warning"
                   href="{% url 'ui:stack-model-permissions' %}">Permissions</a>
            {% endif %}
            {% if has_create %}
                <a class="btn btn-success" href="{% url 'ui:stack-create' %}">New Stack</a>
            {% endif %}
        </div>
    </div>

    <div class="row" style="margin-top: 15px">
        <div class="col-md-12">
            <nav>
                <ul class="pager" style="margin: 5px 0 10px 0">
                    <li class="previous" data-bind="css: {disabled: !previousPage()}">
                        <a href="#" data-bind="click: goToPreviousPage"><span
                                aria-hidden="true">&larr;</span> Previous</a>
                    </li>
                    <li class="next" data-bind="css: {disabled: !nextPage()}">
                        <a href="#" data-bind="click: goToNextPage">Next <span
                                aria-hidden="true">&rarr;</span></a>
                    </li>
                </ul>
            </nav>
        </div>
    </div>

    <div class="row" style="margin-top: 10px">
        <div class="col-md-12">
            <form class="form-inline" data-bind="submit: function () {}">
                <div class="input-group">
                    <label class="sr-only">Search processes</label>
                    <input class="form-control" type="text" placeholder="Search Processes" data-bind="value: searchTerm, valueUpdate: 'keyup'"/>
                    <span class="input-group-btn">
                        <button class="btn btn-success" type="submit">Search</button>
                    </span>
                </div>
            </form>

            <table class="table table-hover"><commit_msg>PI-485 make search bar look a little prettier<commit_after>{% extends 'stackdio/page.html' %}

{% block title %}Stacks{% endblock %}
{% block stack-class %}active{% endblock %}

{% block page-content %}
    <div class="row">
        <div class="col-md-6">
            <p>
                Showing stacks
                <span data-bind="text: startNum"></span>-<span data-bind="text: endNum"></span>
                of <span data-bind="text: count"></span>.
            </p>
        </div>
        <div class="col-md-6 text-right">
            {% if has_admin %}
                {# Only show the button if the user has permission to see it #}
                <a class="btn btn-warning"
                   href="{% url 'ui:stack-model-permissions' %}">Permissions</a>
            {% endif %}
            {% if has_create %}
                <a class="btn btn-success" href="{% url 'ui:stack-create' %}">New Stack</a>
            {% endif %}
        </div>
    </div>

    <div class="row" style="margin-top: 15px">
        <div class="col-md-12">
            <nav>
                <ul class="pager" style="margin: 5px 0 10px 0">
                    <li class="previous" data-bind="css: {disabled: !previousPage()}">
                        <a href="#" data-bind="click: goToPreviousPage"><span
                                aria-hidden="true">&larr;</span> Previous</a>
                    </li>
                    <li class="next" data-bind="css: {disabled: !nextPage()}">
                        <a href="#" data-bind="click: goToNextPage">Next <span
                                aria-hidden="true">&rarr;</span></a>
                    </li>
                </ul>
            </nav>
        </div>
    </div>

    <div class="row" style="margin-top: 15px">
        <div class="col-md-4">
            <form data-bind="submit: function () {}">
                <div class="input-group">
                    <input class="form-control" type="text" placeholder="Search for stacks..." data-bind="value: searchTerm, valueUpdate: 'keyup'"/>
                    <span class="input-group-btn">
                        <button class="btn btn-success" type="submit">Search</button>
                    </span>
                </div>
            </form>
        </div>
    </div>

    <div class="row" style="margin-top: 10px">
        <div class="col-md-12">
            <table class="table table-hover">
{'fraction_non_alphanumeric': 0.16779089376053963, 'fraction_numerical': 0.007588532883642495, 'mean_word_length': 1.5497044599677592, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 109, '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': '6806043', 'n_tokens_mistral': 1437, 'n_tokens_neox': 1306, 'n_words': 305}