diff --git a/rowers/templates/menu_racing.html b/rowers/templates/menu_racing.html index 15a8a62c..acf82e8b 100644 --- a/rowers/templates/menu_racing.html +++ b/rowers/templates/menu_racing.html @@ -6,7 +6,7 @@
  • - +  New Race
  • diff --git a/rowers/templates/virtualeventcreate.html b/rowers/templates/virtualeventcreate.html index cc25ce89..6898709f 100644 --- a/rowers/templates/virtualeventcreate.html +++ b/rowers/templates/virtualeventcreate.html @@ -1,37 +1,42 @@ -{% extends "base.html" %} +{% extends "newbase.html" %} {% load staticfiles %} {% load rowerfilters %} {% block title %}New Virtual Race{% endblock %} -{% block content %} +{% block main %} -
    - -

    New Virtual Race

    +

    New Virtual Race

    +
      +
    • With this form, you can create a new virtual race. After you submit the form, the race is created and will be visible to all users. From - that moment, only the site admin can delete the race (admin@rowsandall.com). You can still edit the race until the start of the race window.

      + that moment, only the site admin can delete the race + (admin@rowsandall.com). You can still edit the race until + the start of the race window. +

      +
    • -
      +
    • {% if form.errors %}

      Please correct the error{{ form.errors|pluralize }} below.

      {% endif %} - - - {{ form.as_table }} -
      - {% csrf_token %} -
      +

      + + {{ form.as_table }} +
      +

      +

      + {% csrf_token %} -

      -
      -
    • -
      +

      + + +
      • All times are local times in the race course time zone
      • @@ -42,11 +47,15 @@
      • Participants can submit results until the evaluation closure time.

      -
    • -
    + + {% endblock %} {% block scripts %} {% endblock %} + +{% block sidebar %} +{% include 'menu_racing.html' %} +{% endblock %} diff --git a/rowers/views.py b/rowers/views.py index 2f972a19..d2dd7611 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -14121,6 +14121,7 @@ def virtualevent_create_view(request): { 'form':racecreateform, 'rower':r, + 'active':'nav-racing', }) diff --git a/static/css/styles2.css b/static/css/styles2.css index b6ccc00c..44736ddb 100644 --- a/static/css/styles2.css +++ b/static/css/styles2.css @@ -375,6 +375,7 @@ .main-content li { margin: 0; + overflow-x: hidden; } .main-content li.grid_2 {