<commit_before><!DOCTYPE html>
<html>
  <head>
    {% include "kwis/headerContent.html" %}
  </head>
  <body>
    <div class="container">
      <div class="row">
        <div class="col-sm-6">
        {% if round_list %}
          <p>Overview of all rounds</p>
          <ul>
          {% for round, status in round_list %}
	  <li><a href="{% url 'kwis:rnd_detail' round.id %}">{{ round.round_name }}</a>: {{ status }}</li>
          {% endfor %}
          </ul>
        {% else %}
          <p>No rounds are available.</p>
        {% endif %}
        </div>
    
        <div class="col-sm-6">
        {% if team_list %}
          <p>Overview of all teams</p>
          <ul>
          {% for team in team_list %}
          <li><a href="{% url 'kwis:team_detail' team.id %}">{{ team.team_name }}</a></li>
          {% endfor %}
          </ul>
        {% else %}
          <p>No teams are available.</p>
        {% endif %}
        </div>

      </div> <!-- /row -->
    <HR>
    Links: <a href="{% url 'kwis:ranking' %}">Ranking</a>, <a href="/admin/">Admin</a>
    </div> <!-- /container -->
  </body>
</html><commit_msg>Replacing index view lists with tables<commit_after><!DOCTYPE html>
<html>
  <head>
    {% include "kwis/headerContent.html" %}
  </head>
  <body>
    <div class="container">
      <div class="row">
        <div class="col-sm-6">
        {% if round_list %}
          <table class="table table-condensed table-striped">
            <caption>Overview of all rounds</caption>
            <thead>
              <th>Round</th>
              <th>Progress</th>
            </thead>
            {% for round, status in round_list %}
            <tr>
              <td>
                <a href="{% url 'kwis:rnd_detail' round.id %}">{{ round.round_name }}</a>
              </td>
              <td>
               {{ status }}
              </td>
            </tr>
            {% endfor %}
          </table>
        {% else %}
          <p>No rounds are available.</p>
        {% endif %}
        </div>
    
        <div class="col-sm-6">
        {% if team_list %}
          <table class="table table-condensed table-striped">
          <caption>Overview of all teams</caption>
            <thead>
              <th>Team</th>
              <th>Progress</th>
            </thead>
            {% for team in team_list %}
            <tr>
              <td>
                <a href="{% url 'kwis:team_detail' team.id %}">{{ team.team_name }}</a>
              </td>
              <td>
              </td>
            </tr>
            {% endfor %}
          </table>
        {% else %}
          <p>No teams are available.</p>
        {% endif %}
        </div>

      </div> <!-- /row -->
    <HR>
    Links: <a href="{% url 'kwis:ranking' %}">Ranking</a>, <a href="/admin/">Admin</a>
    </div> <!-- /container -->
  </body>
</html>
{'fraction_non_alphanumeric': 0.1891891891891892, 'fraction_numerical': 0.001404001404001404, 'mean_word_length': 1.3949579831932772, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 107, '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': '1660286', 'n_tokens_mistral': 971, 'n_tokens_neox': 886, 'n_words': 205}