edit race done
This commit is contained in:
@@ -1,34 +1,33 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "newbase.html" %}
|
||||||
{% load staticfiles %}
|
{% load staticfiles %}
|
||||||
{% load rowerfilters %}
|
{% load rowerfilters %}
|
||||||
|
|
||||||
{% block title %}Edit Virtual Race{% endblock %}
|
{% block title %}Edit Virtual Race{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block main %}
|
||||||
|
|
||||||
<div class="grid_12 alpha">
|
<h1>Edit Race {{ race.name }}</h1>
|
||||||
|
|
||||||
<h1>Edit Race {{ race.name }}</h1>
|
<ul class="main-content">
|
||||||
|
<li class="grid_2">
|
||||||
|
|
||||||
<div class="grid_8 alpha">
|
|
||||||
<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_2 omega">
|
||||||
<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>
|
||||||
@@ -39,11 +38,16 @@
|
|||||||
<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 %}
|
||||||
|
|||||||
@@ -373,11 +373,13 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.main-content li {
|
.main-content li {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.main-content li.grid_2 {
|
.main-content li.grid_2 {
|
||||||
grid-column-end: span 1;
|
grid-column-end: span 1;
|
||||||
}
|
}
|
||||||
@@ -541,3 +543,9 @@ aside .cd-accordion-menu.animated label::before {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
main li li {
|
||||||
|
list-style: disc outside none;
|
||||||
|
margin-left: 30px;
|
||||||
|
padding: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user