<commit_before>{% extends 'base.html' %}
{% load crispy_forms_tags %}
{% load markdown_filter %}
{% load tz %}

{% block 'title' %}Freelance Finder - Job List{% endblock %}

{% block 'content' %}

<h1>Job List</h1>
<div class='searchform'>
    {% crispy form %}
</div>
{% include 'helpers/pagination.html' %}
<ul class="list-group">
{% for job in job_list %}
<li id="job-{{ job.id }}" class="d-flex list-group-item flex-column align-items-start job">
    <div class="d-flex flex-row justify-content-start">
        <div class="d-flex control-button">
            <button type="button" class="btn btn-danger btn-circle btn-lg"><i class="fa fa-times"></i></button>
        </div>
        <div class="d-flex">
            <div class="d-flex flex-row w-100 justify-content-between">
                {% if job.description %}
                    <a href="#" data-toggle="collapse" data-target="#jobdesc-{{ job.id }}" class="list-group-item-action">
                {% endif %}
                        <h5>{{ job.title }}</h5>
                        <small>{{ job.created|localtime }}</small>
                {% if job.description %}
                    </a>
                {% endif %}
            </div>
            <div class="d-flex flex-row w-100 justify-content-start">
                <span class="p-2">
                    <a href="{% url 'job-detail' job.id %}">Detail</a>
                </span>
                <span class="source-info p-2">
                    {% for post in job.posts.all %}
                        <a href="{{ post.url }}" target="_blank">{{ post.source.name }} &gt; {{ post.subarea }}</a>
                    {% endfor %}
                </span>
                <span class="tag-list p-2 ml-auto">
                    {% for tag in job.tags.all %}
                        {% if tag.name != 'job' %}
                            <span class="tag badge badge-default">{{ tag.name }}</span>
                        {% endif %}
                    {% endfor %}
                </span>
            </div>
        </div>
    </div>
    {% if job.description %}
    <div class="d-flex flex-row w-100"><commit_msg>try different layout - adjust<commit_after>{% extends 'base.html' %}
{% load crispy_forms_tags %}
{% load markdown_filter %}
{% load tz %}

{% block 'title' %}Freelance Finder - Job List{% endblock %}

{% block 'content' %}

<h1>Job List</h1>
<div class='searchform'>
    {% crispy form %}
</div>
{% include 'helpers/pagination.html' %}
<ul class="list-group">
{% for job in job_list %}
<li id="job-{{ job.id }}" class="d-flex list-group-item flex-column align-items-start job">
    <div class="d-flex flex-row w-100 justify-content-start">
        <div class="d-flex control-button">
            <button type="button" class="btn btn-danger btn-circle btn-lg"><i class="fa fa-times"></i></button>
        </div>
        <div class="d-flex w-100 flex-column">
            <div class="d-flex flex-row w-100 justify-content-between">
                {% if job.description %}
                    <a href="#" data-toggle="collapse" data-target="#jobdesc-{{ job.id }}" class="list-group-item-action">
                {% endif %}
                        <h5>{{ job.title }}</h5>
                        <small>{{ job.created|localtime }}</small>
                {% if job.description %}
                    </a>
                {% endif %}
            </div>
            <div class="d-flex flex-row w-100 justify-content-start">
                <span class="p-2">
                    <a href="{% url 'job-detail' job.id %}">Detail</a>
                </span>
                <span class="source-info p-2">
                    {% for post in job.posts.all %}
                        <a href="{{ post.url }}" target="_blank">{{ post.source.name }} &gt; {{ post.subarea }}</a>
                    {% endfor %}
                </span>
                <span class="tag-list p-2 ml-auto">
                    {% for tag in job.tags.all %}
                        {% if tag.name != 'job' %}
                            <span class="tag badge badge-default">{{ tag.name }}</span>
                        {% endif %}
                    {% endfor %}
                </span>
            </div>
        </div>
    </div>
    {% if job.description %}
    <div class="d-flex flex-row w-100">
{'fraction_non_alphanumeric': 0.17666201766620176, 'fraction_numerical': 0.008833100883310088, 'mean_word_length': 1.5491706161137442, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, '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': '5994016', 'n_tokens_mistral': 1391, 'n_tokens_neox': 1226, 'n_words': 293}