<commit_before>{% extends 'lotes/index.html' %}

{% block title.content %}{{ titulo }} - {{ block.super }}{% endblock title.content %}
{% block header.content %}{{ titulo }} - <a href="/lotes/">{{ block.super }}</a>{% endblock header.content %}

{% block stylesheet %}
<style>
{% include 'layout/simple_table.css' %}
</style>
{% endblock %}

{% block content %}
{% if msg_erro %}
<h3>{{ msg_erro }}</h3>
{% endif %}
{% if data %}
  <table>
    {% include "layout/html_thead.html" with data=headers only %}
    {% include "layout/html_tbody_group.html" with fields=fields data=data group=group only %}
  </table>
{% endif %}
{% endblock %}
<commit_msg>perda agora filtra de data de corte e seleção e escolhe visualização de cor e tamanho<commit_after>{% extends 'lotes/index.html' %}

{% block title.content %}{{ titulo }} - {{ block.super }}{% endblock title.content %}
{% block header.content %}{{ titulo }} - <a href="{% url 'producao:index' %}">{{ block.super }}</a>{% endblock header.content %}

{% block stylesheet %}
<style>
{% include 'layout/simple_table.css' %}
</style>
{% endblock %}

{% block content %}
<form action="{% url 'producao:perda' %}" method="post">
    {% csrf_token %}
    {{ form.as_p }}
    <input type="submit" value="Busca"/>
</form>
{% if msg_erro %}
<h3>{{ msg_erro }}</h3>
{% endif %}
{% if data_de %}
  <h4>Data do Corte: De: {{ data_de }}</h4>
{% endif %}
{% if data_ate %}
  <h4>Até: {{ data_ate }}</h4>
{% endif %}
{% if data %}
  <h4>Detalhe:
    {% if detalhe == 'r' %}
      Por referência
    {% else %}
      Por referência-cor-tamanho
    {% endif %}
  </h4>
  <table>
    {% include "layout/html_thead.html" with data=headers only %}
    {% include "layout/html_tbody_group.html" with fields=fields data=data group=group only %}
  </table>
{% endif %}
{% endblock %}

{'fraction_non_alphanumeric': 0.2110497237569061, 'fraction_numerical': 0.0055248618784530384, 'mean_word_length': 3.842245989304813, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 28, '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': '7532040', 'n_tokens_mistral': 725, 'n_tokens_neox': 640, 'n_words': 156}