virtual event create - urls.py line 145
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li id="races-new">
|
<li id="races-new">
|
||||||
<a href="/rowers/virtualevents/create">
|
<a href="/rowers/virtualevent/create">
|
||||||
<i class="far fa-flag fa-fw"></i> New Race
|
<i class="far fa-flag fa-fw"></i> New Race
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -1,37 +1,42 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "newbase.html" %}
|
||||||
{% load staticfiles %}
|
{% load staticfiles %}
|
||||||
{% load rowerfilters %}
|
{% load rowerfilters %}
|
||||||
|
|
||||||
{% block title %}New Virtual Race{% endblock %}
|
{% block title %}New Virtual Race{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block main %}
|
||||||
|
|
||||||
<div class="grid_12 alpha">
|
<h1>New Virtual Race</h1>
|
||||||
|
|
||||||
<h1>New Virtual Race</h1>
|
|
||||||
|
|
||||||
|
<ul class="main-content">
|
||||||
|
<li class="grid_4">
|
||||||
<p>With this form, you can create a new virtual race. After you submit
|
<p>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
|
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. </p>
|
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.
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
|
||||||
<div class="grid_8 alpha">
|
<li class="grid_3">
|
||||||
<form enctype="multipart/form-data" action="{{ formloc }}" method="post">
|
<form enctype="multipart/form-data" action="{{ formloc }}" method="post">
|
||||||
{% if form.errors %}
|
{% if form.errors %}
|
||||||
<p style="color: red;">
|
<p style="color: red;">
|
||||||
Please correct the error{{ form.errors|pluralize }} below.
|
Please correct the error{{ form.errors|pluralize }} below.
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<p>
|
||||||
<table>
|
<table>
|
||||||
{{ form.as_table }}
|
{{ form.as_table }}
|
||||||
</table>
|
</table>
|
||||||
{% csrf_token %}
|
</p>
|
||||||
<div id="formbutton" class="grid_1 prefix_4 suffix_1">
|
<p>
|
||||||
|
{% csrf_token %}
|
||||||
<input class="button green" type="submit" value="Save">
|
<input class="button green" type="submit" value="Save">
|
||||||
</div>
|
</p>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</li>
|
||||||
<div class="grid_4 omega">
|
<li class="grid_1">
|
||||||
<p>
|
<p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>All times are local times in the race course time zone</li>
|
<li>All times are local times in the race course time zone</li>
|
||||||
@@ -42,11 +47,15 @@
|
|||||||
<li>Participants can submit results until the evaluation closure time.</li>
|
<li>Participants can submit results until the evaluation closure time.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</li>
|
||||||
</div>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block sidebar %}
|
||||||
|
{% include 'menu_racing.html' %}
|
||||||
|
{% endblock %}
|
||||||
|
|||||||
@@ -14121,6 +14121,7 @@ def virtualevent_create_view(request):
|
|||||||
{
|
{
|
||||||
'form':racecreateform,
|
'form':racecreateform,
|
||||||
'rower':r,
|
'rower':r,
|
||||||
|
'active':'nav-racing',
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -375,6 +375,7 @@
|
|||||||
|
|
||||||
.main-content li {
|
.main-content li {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-content li.grid_2 {
|
.main-content li.grid_2 {
|
||||||
|
|||||||
Reference in New Issue
Block a user