<commit_before>{% extends "base.html" %}
{% block title %}Search - {{query}}{% endblock %}
{% block head %}
    {{ super() }}

{% endblock %}
{% block content %}
<div class="container" style="margin-top:80px;">
    <div class="row mt centered">
        <h1>{{count}} Results for <b>"{{query}}"</b></h1>
    </div>
    <br />
    {% for user in users.items %}
        <a href="/profile/{{user.username}}">
            <div class="row mt centered">
                <div class="col-lg-4"><img class="img-circle" src="{{user.email | gravatar(size=100)}}"></div>
                <div class="col-lg-4">
                    <h2>{{user.firstName}} {{user.lastName}}</h2>
                    <p>{{user.email}}</p>
                </div>
                <div class="col-lg-4">
                    <p>{{user.quickIntro}}</p>
                </div>    
            </div>
        </a>
    {% endfor %}
    <div class="row centered col-lg-offset-3">
        <div class="col-lg-4">
            {% if users.has_prev %}
                <a href=" /search/{{users.prev_num}}?query={{query}} "><h2 style="color:blue"> &lt;&lt; Back |</h2></a>
            {% endif %}
        </div>
        <div class="col-lg-4">
            {% if users.has_next %}
                <a href=" /search/{{users.next_num}}?query={{query}} "><h2 style="color:blue">| Next &gt;&gt; </h2></a>
            {% endif %}
        </div>
    </div>
    <br />
</div>

{% endblock %}
<commit_msg>Added invite button to search results<commit_after>{% extends "base.html" %}
{% block title %}Search - {{query}}{% endblock %}
{% block head %}
    {{ super() }}

{% endblock %}
{% block content %}
<div class="container" style="margin-top:80px;">
    <div class="row mt centered" style="margin-bottom:30px;">
        <h1>{{count}} Results for <b>"{{query}}"</b></h1>
    </div>
    <br />
    {% for user in users.items %}
        <div class="row mt centered" style="margin-top:30px;">
            <a href="/profile/{{user.username}}">
                <div class="col-lg-4"><img class="img-circle" src="{{user.email | gravatar(size=100)}}"></div>
                <div class="col-lg-4">
                    <h2>{{user.firstName}} {{user.lastName}}</h2>
                    <p>{{user.email}}</p>
                </div>
            </a>
            <div class="col-lg-4">
                <div style="margin-top:20px;" class="btn btn-danger" disabled><span class="glyphicon glyphicon-envelope"></span> Invite</div>
            </div>    
        </div>
    {% endfor %}
    <div class="row centered col-lg-offset-3">
        <div class="col-lg-4">
            {% if users.has_prev %}
                <a href=" /search/{{users.prev_num}}?query={{query}} "><h2 style="color:blue"> &lt;&lt; Back |</h2></a>
            {% endif %}
        </div>
        <div class="col-lg-4">
            {% if users.has_next %}
                <a href=" /search/{{users.next_num}}?query={{query}} "><h2 style="color:blue">| Next &gt;&gt; </h2></a>
            {% endif %}
        </div>
    </div>
    <br />
</div>

{% endblock %}

{'fraction_non_alphanumeric': 0.22251308900523561, 'fraction_numerical': 0.014397905759162303, 'mean_word_length': 1.933781190019194, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, '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': '504701', 'n_tokens_mistral': 1077, 'n_tokens_neox': 980, 'n_words': 196}