<commit_before>{% extends "zivinetz/base.html" %}

{% load i18n towel_form_tags %}

{% block content %}
<h1>{% trans "scheduling"|capfirst %}</h1>

<div class="box searchbox {{ search_form.searching }}">
    <a href="?clear=1" class="searching">clear</a>

    <form id="filterform" method="get" action=".">
        <input type="hidden" name="s" value="1" />
        {% form_item_plain search_form.query %}
        {% for field in search_form.fields_iterator %}
            {% if forloop.first %}<table>{% endif %}
            {% form_item field %}
            {% if forloop.last %}</table>{% endif %}
        {% endfor %}
        <button type="submit"><span>{% trans "Search" %}</span></button>
    </form>
</div>


<style type="text/css">
#scheduler .odd td { background: #fff; }
#scheduler .even td { background-color: #e4e4e4; }

#scheduler td { border: 1px solid #444; text-align: center; }
#scheduler th:first-child { white-space: nowrap; }

#scheduler tr.status10 td.a { background-color: orange; }
#scheduler tr.status20 td.a { background-color: blue; }
#scheduler tr.status30 td.a { background-color: green; }
#scheduler tr.status40 td.a { background-color: grey; }
</style>

{% spaceless %}<table id="scheduler">
    <thead>
        <tr>
            <th colspan="2"></th>
            {% for monday, year, week in scheduler.weeks %}
                <th>{% ifchanged year %}{{ year }}{% endifchanged %}</th>
            {% endfor %}
        </tr>
        <tr>
            <th colspan="2"></th>
            {% for monday, year, week in scheduler.weeks %}
                <th>W{{ week|stringformat:"02d" }}&nbsp;</th>
            {% endfor %}
        </tr>
    </thead>
{% for assignment, scheduled in scheduler.assignments %}
    <tr class="status{{ assignment.status }} {% cycle "odd" "even" %}">
        <th><a href="{{ assignment.get_absolute_url }}">{{ assignment.drudge }}</a></th><commit_msg>Scheduler: Remove odd/even table styles provided by blueprint<commit_after>{% extends "zivinetz/base.html" %}

{% load i18n towel_form_tags %}

{% block content %}
<h1>{% trans "scheduling"|capfirst %}</h1>

<div class="box searchbox {{ search_form.searching }}">
    <a href="?clear=1" class="searching">clear</a>

    <form id="filterform" method="get" action=".">
        <input type="hidden" name="s" value="1" />
        {% form_item_plain search_form.query %}
        {% for field in search_form.fields_iterator %}
            {% if forloop.first %}<table>{% endif %}
            {% form_item field %}
            {% if forloop.last %}</table>{% endif %}
        {% endfor %}
        <button type="submit"><span>{% trans "Search" %}</span></button>
    </form>
</div>


<style type="text/css">
#scheduler td { border: 1px solid #444; text-align: center; }
#scheduler th:first-child { white-space: nowrap; }

#scheduler tr.status10 td.a { background-color: orange; }
#scheduler tr.status20 td.a { background-color: blue; }
#scheduler tr.status30 td.a { background-color: green; }
#scheduler tr.status40 td.a { background-color: grey; }
</style>

{% spaceless %}<table id="scheduler">
    <thead>
        <tr>
            <th colspan="2"></th>
            {% for monday, year, week in scheduler.weeks %}
                <th>{% ifchanged year %}{{ year }}{% endifchanged %}</th>
            {% endfor %}
        </tr>
        <tr>
            <th colspan="2"></th>
            {% for monday, year, week in scheduler.weeks %}
                <th>W{{ week|stringformat:"02d" }}&nbsp;</th>
            {% endfor %}
        </tr>
    </thead>
{% for assignment, scheduled in scheduler.assignments %}
    <tr class="status{{ assignment.status }} {% cycle "odd" "even" %}">
        <th><a href="{{ assignment.get_absolute_url }}">{{ assignment.drudge }}</a></th>
{'fraction_non_alphanumeric': 0.18681902737177783, 'fraction_numerical': 0.012490034546904066, 'mean_word_length': 2.7677677677677677, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, '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': '109261', 'n_tokens_mistral': 1314, 'n_tokens_neox': 1197, 'n_words': 292}