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

{% block body_container %}
  <div id="welcome-jumbotron" class="jumbotron">
    <div class="container text-center">
      <h1 class="display-3">Computer Science for teachers</h1>
    </div>
  </div>

  <div class="container">
    <div class="row">
      <div class="col-12 col-md-8 offset-md-2 text-center">
        <p>
          Professional development events either held by or attended by the University of Canterbury Computer Science Education Research Group (creators of <a href="http://csunplugged.org/">CS Unplugged</a> and the <a href="http://www.csfieldguide.org.nz/">CS Field Guide</a>).
        </p>
        <p>
          We also list related third party events that also offer proffesional development opportunities.
        </p>

        <div class="alert alert-danger text-center" role="alert">
          <h4 class="alert-heading">Heads up!</h4>
          <p>
            This website is still in development as we continue to add features and fix bugs, so please bear with us.
            We have released this website in an alpha state to allow you to easily view all events in one central place.
          </p>
          <p class="mb-0">In the future we plan to add the ability for you to be able to register for events directly on this site with a login, and edit your registration as you wish.</p>
        </div>

        {% if upcoming_events %}
          <h2>Upcoming events</h2>
          <div class="row">
            {% for event in upcoming_events %}
              <div class="col-6 text-right">
                {% if event.start_date|date:"j" != event.end_date|date:"j" %}
                  {% if event.start_date|date:"F" == event.end_date|date:"F" %}
                    {{ event.start_date|date:"j" }}
                  {% else %}
                    {{ event.start_date|date:"j F" }}
                  {% endif %}
                  to
                {% endif %}
                {{ event.end_date|date:" j F" }}
              </div>
              <div class="col-6 text-left">
                <a href="{{ event.absolute_url }}">{{ event.name }}</a>
              </div>
              {% if event.third_party %}
                {% include "events/third-party-badge.html" %}
              {% endif %}
            </div>
          {% endfor %}
        {% endif %}

        <p class="mt-3">
          <a href="{% url 'events:index' %}" class="btn btn-primary btn-lg" role="button">View all events</a>
        </p>
      </div>
    </div>
  </div>
{% endblock body_container %}<commit_msg>Increase distance above home page button<commit_after>{% extends "base.html" %}

{% block body_container %}
  <div id="welcome-jumbotron" class="jumbotron">
    <div class="container text-center">
      <h1 class="display-3">Computer Science for teachers</h1>
    </div>
  </div>

  <div class="container">
    <div class="row">
      <div class="col-12 col-md-8 offset-md-2 text-center">
        <p>
          Professional development events either held by or attended by the University of Canterbury Computer Science Education Research Group (creators of <a href="http://csunplugged.org/">CS Unplugged</a> and the <a href="http://www.csfieldguide.org.nz/">CS Field Guide</a>).
        </p>
        <p>
          We also list related third party events that also offer proffesional development opportunities.
        </p>

        <div class="alert alert-danger text-center" role="alert">
          <h4 class="alert-heading">Heads up!</h4>
          <p>
            This website is still in development as we continue to add features and fix bugs, so please bear with us.
            We have released this website in an alpha state to allow you to easily view all events in one central place.
          </p>
          <p class="mb-0">In the future we plan to add the ability for you to be able to register for events directly on this site with a login, and edit your registration as you wish.</p>
        </div>

        {% if upcoming_events %}
          <h2>Upcoming events</h2>
          <div class="row">
            {% for event in upcoming_events %}
              <div class="col-6 text-right">
                {% if event.start_date|date:"j" != event.end_date|date:"j" %}
                  {% if event.start_date|date:"F" == event.end_date|date:"F" %}
                    {{ event.start_date|date:"j" }}
                  {% else %}
                    {{ event.start_date|date:"j F" }}
                  {% endif %}
                  to
                {% endif %}
                {{ event.end_date|date:" j F" }}
              </div>
              <div class="col-6 text-left">
                <a href="{{ event.absolute_url }}">{{ event.name }}</a>
              </div>
              {% if event.third_party %}
                {% include "events/third-party-badge.html" %}
              {% endif %}
            </div>
          {% endfor %}
        {% endif %}

        <p class="mt-5">
          <a href="{% url 'events:index' %}" class="btn btn-primary btn-lg" role="button">View all events</a>
        </p>
      </div>
    </div>
  </div>
{% endblock body_container %}
{'fraction_non_alphanumeric': 0.13660245183887915, 'fraction_numerical': 0.005837711617046118, 'mean_word_length': 1.9006772009029345, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5701413', 'n_tokens_mistral': 1542, 'n_tokens_neox': 1424, 'n_words': 451}