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

{% block title %}Browse Tools{% endblock %}

{% block BrowseNav %} active {% endblock %}

{% block auth-content %}
    <h1 class="page-header">Browse Tools</h1>

    <h3 class="sub-header">Available tools in your share zone</h3>


    <div class="container">
        <div class="row">
            {% if toolsList %}
                {% for tool in toolsList %}
                    <div class="col-sm-2">
                        <figure>
                            <div id="toolThumbnail">
                                <a href="{% url "toolManagement:viewTool" tool.id %}" class="thumbnail">
                                    <img class="img-square" src="{{tool.picture.url}}" alt="{{tool.name}}">
                                </a>
                            </div>
                            <figcaption>{{tool.name}}</figcaption>
                        </figure>
                    </div>
                {% endfor %}
            {% endif %}
        </div>
    </div>

    {% if toolsList.paginator.num_pages >  1 %}
        <div class="row text-center toolPaginator">
            <div class="col-sm-12">
                <ul class="pagination">
                    <li>
                        <a href="?page=1"> &laquo; First Page </a>
                    </li>
                    {% if toolsList.has_previous %}
                        <li>
                            <a href="?page={{ toolsList.previous_page_number }}"> &lsaquo; Previous </a>
                        </li>
                    {% else %}
                        <li>
                            <a href=""> &lsaquo; Previous </a>
                        </li>
                    {% endif %}

                    <li>
                        <a class = "pageTracker"> Page {{ toolsList.number }} of {{ toolsList.paginator.num_pages }} </a>
                    </li>

                    {% if toolsList.has_next %}
                        <li>
                            <a href="?page={{ toolsList.next_page_number }}"> Next &rsaquo; </a>
                        </li>
                    {% else %}
                        <li>
                            <a href=""> Next &rsaquo; </a>
                        </li>
                    {% endif %}
                    <li>
                        <a href="?page={{ toolsList.paginator.num_pages }}"> Last Page &raquo; </a>
                    </li>
                </ul>
            </div>
        </div>

        </div>
    {% endif %}
{% endblock %}<commit_msg>Tools thumbnails on browse tools no longer overlaps menu<commit_after>{% extends "auth_base.html" %}

{% block title %}Browse Tools{% endblock %}

{% block BrowseNav %} active {% endblock %}

{% block auth-content %}
    <h1 class="page-header">Browse Tools</h1>

    <h3 class="sub-header">Available tools in your share zone</h3>


    <div class="container">
        <div class="row">
            {% if toolsList %}
                {% for tool in toolsList %}
                    <div class="toolList">
                        <div class="col-sm-2">
                            <figure>
                                <div id="toolThumbnail">
                                    <a href="{% url "toolManagement:viewTool" tool.id %}" class="thumbnail">
                                        <img class="img-square" src="{{tool.picture.url}}" alt="{{tool.name}}">
                                    </a>
                                </div>
                                <figcaption>{{tool.name}}</figcaption>
                            </figure>
                        </div>
                    </div>
                {% endfor %}
            {% endif %}
        </div>
    </div>

    {% if toolsList.paginator.num_pages >  1 %}
        <div class="row text-center toolPaginator">
            <div class="col-sm-12">
                <ul class="pagination">
                    <li>
                        <a href="?page=1"> &laquo; First Page </a>
                    </li>
                    {% if toolsList.has_previous %}
                        <li>
                            <a href="?page={{ toolsList.previous_page_number }}"> &lsaquo; Previous </a>
                        </li>
                    {% else %}
                        <li>
                            <a href=""> &lsaquo; Previous </a>
                        </li>
                    {% endif %}

                    <li>
                        <a class = "pageTracker"> Page {{ toolsList.number }} of {{ toolsList.paginator.num_pages }} </a>
                    </li>

                    {% if toolsList.has_next %}
                        <li>
                            <a href="?page={{ toolsList.next_page_number }}"> Next &rsaquo; </a>
                        </li>
                    {% else %}
                        <li>
                            <a href=""> Next &rsaquo; </a>
                        </li>
                    {% endif %}
                    <li>
                        <a href="?page={{ toolsList.paginator.num_pages }}"> Last Page &raquo; </a>
                    </li>
                </ul>
            </div>
        </div>

        </div>
    {% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.14054465816035042, 'fraction_numerical': 0.0034279184917158636, 'mean_word_length': 0.9330143540669856, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 115, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6586281', 'n_tokens_mistral': 1479, 'n_tokens_neox': 1290, 'n_words': 291}