<commit_before>{% extends 'base.html' %}
{% load static %}
{% load bbformat %}
{% block content %}
{{ latest_article.message|bbheader:latest_article|safe }}
<div class="column">
  <h2>News and Updates</h2>
  <ul class="listing">
  {% for article in recent_articles %}
    <li><a href="{{ article.url }}">{{ article.subject }}</a></li>
  {% endfor %}
  </ul>
</div>
<div class="column">
  <h2>Discussion</h2>
  <ul class="listing">
  {% for dicussion in recent_discussions %}
    <li><a href="{{ dicussion.url }}">{{ dicussion.subject }}</a></li>
  {% endfor %}
  </ul>
</div>
<div class="column">
  <h2>Upcoming Events</h2>
  <ul class="listing">
  {% for event in upcoming_events %}
    {% if event.is_today %}
      <li><a href="{{ event.url }}">{{ event.start|date:"g:i A" }} {{ event.name }}</a></li>
    {% else %}
      <li><a href="{{ event.url }}">{{ event.start|date:"Y-m-d" }} {{ event.name }}</a></li>
    {% endif %}
  {% endfor %}
  </ul>
</div>
<div class="column">
  <h2>NA Ladder</h2>
  <table class="ladder-mini">
    <thead>
      <tr>
        <th>Username</th><th>Wins</th><th>Losses</th>
      </tr>
    </thead>
    <tbody>
      {% for stats in ladder_na %}
        <tr>
          <td><a href="{% url 'ladder.views.show_player' stats.client.pk %}">{{ stats.client.username }}</a></td>
          <td style="text-align:right;">{{ stats.ladder_wins }}</td>
          <td style="text-align:right;">{{ stats.ladder_losses }}</td>
        </tr>
      {% endfor %}
    </tbody>
  </table>
</div>
<div class="column">
  <h2>EU Ladder</h2>
  <table class="ladder-mini">
    <thead>
      <tr>
        <th>Username</th><th>Wins</th><th>Losses</th>
      </tr>
    </thead>
    <tbody>
      {% for stats in ladder_eu %}
        <tr>
          <td><a href="{% url 'ladder.views.show_player' stats.client.pk %}">{{ stats.client.username }}</a></td>
          <td style="text-align:right;">{{ stats.ladder_wins }}</td>
          <td style="text-align:right;">{{ stats.ladder_losses }}</td>
        </tr>
      {% endfor %}
    </tbody>
  </table>
</div>
<div class="column">
  <h2>KR Ladder</h2>
  <table class="ladder-mini">
    <thead>
      <tr>
        <th>Username</th><th>Wins</th><th>Losses</th>
      </tr>
    </thead>
    <tbody>
      {% for stats in ladder_kr %}
        <tr>
          <td><a href="{% url 'ladder.views.show_player' stats.client.pk %}">{{ stats.client.username }}</a></td>
          <td style="text-align:right;">{{ stats.ladder_wins }}</td>
          <td style="text-align:right;">{{ stats.ladder_losses }}</td>
        </tr>
      {% endfor %}
    </tbody>
  </table>
</div>
{% endblock %}
<commit_msg>Fix header alignments and add points to homepage.<commit_after>{% extends 'base.html' %}
{% load static %}
{% load bbformat %}
{% block content %}
{{ latest_article.message|bbheader:latest_article|safe }}
<div class="column">
  <h2>News and Updates</h2>
  <ul class="listing">
  {% for article in recent_articles %}
    <li><a href="{{ article.url }}">{{ article.subject }}</a></li>
  {% endfor %}
  </ul>
</div>
<div class="column">
  <h2>Discussion</h2>
  <ul class="listing">
  {% for dicussion in recent_discussions %}
    <li><a href="{{ dicussion.url }}">{{ dicussion.subject }}</a></li>
  {% endfor %}
  </ul>
</div>
<div class="column">
  <h2>Upcoming Events</h2>
  <ul class="listing">
  {% for event in upcoming_events %}
    {% if event.is_today %}
      <li><a href="{{ event.url }}">{{ event.start|date:"g:i A" }} {{ event.name }}</a></li>
    {% else %}
      <li><a href="{{ event.url }}">{{ event.start|date:"Y-m-d" }} {{ event.name }}</a></li>
    {% endif %}
  {% endfor %}
  </ul>
</div>
<div class="column">
  <h2>NA Ladder</h2>
  <table class="ladder-mini">
    <thead>
      <tr>
        <th>Username</th><th style="text-align:right;">Points</th><th style="text-align:right;">Wins</th><th style="text-align:right;">Losses</th>
      </tr>
    </thead>
    <tbody>
      {% for stats in ladder_na %}
        <tr>
          <td><a href="{% url 'ladder.views.show_player' stats.client.pk %}">{{ stats.client.username }}</a></td>
          <td style="text-align:right;">{{ stats.ladder_points }}</td>
          <td style="text-align:right;">{{ stats.ladder_wins }}</td>
          <td style="text-align:right;">{{ stats.ladder_losses }}</td>
        </tr>
      {% endfor %}
    </tbody>
  </table>
</div>
<div class="column">
  <h2>EU Ladder</h2>
  <table class="ladder-mini">
    <thead>
      <tr>
        <th>Username</th><th style="text-align:right;">Points</th><th style="text-align:right;">Wins</th><th style="text-align:right;">Losses</th>
      </tr>
    </thead>
    <tbody>
      {% for stats in ladder_eu %}
        <tr>
          <td><a href="{% url 'ladder.views.show_player' stats.client.pk %}">{{ stats.client.username }}</a></td>
          <td style="text-align:right;">{{ stats.ladder_points }}</td>
          <td style="text-align:right;">{{ stats.ladder_wins }}</td>
          <td style="text-align:right;">{{ stats.ladder_losses }}</td>
        </tr>
      {% endfor %}
    </tbody>
  </table>
</div>
<div class="column">
  <h2>KR Ladder</h2>
  <table class="ladder-mini">
    <thead>
      <tr>
        <th>Username</th><th style="text-align:right;">Points</th><th style="text-align:right;">Wins</th><th style="text-align:right;">Losses</th>
      </tr>
    </thead>
    <tbody>
      {% for stats in ladder_kr %}
        <tr>
          <td><a href="{% url 'ladder.views.show_player' stats.client.pk %}">{{ stats.client.username }}</a></td>
          <td style="text-align:right;">{{ stats.ladder_points }}</td>
          <td style="text-align:right;">{{ stats.ladder_wins }}</td>
          <td style="text-align:right;">{{ stats.ladder_losses }}</td>
        </tr>
      {% endfor %}
    </tbody>
  </table>
</div>
{% endblock %}

{'fraction_non_alphanumeric': 0.23537508602890572, 'fraction_numerical': 0.0041293874741913286, 'mean_word_length': 2.8779186124082723, 'pattern_counts': {'":': 0, '<': 251, '<?xml version=': 0, '>': 251, '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': '5649372', 'n_tokens_mistral': 2274, 'n_tokens_neox': 2105, 'n_words': 404}