Private
Public Access
1
0

edit race done

This commit is contained in:
Sander Roosendaal
2018-10-01 10:07:42 +02:00
parent f67bcdd95b
commit 9dbb9f58a1
2 changed files with 31 additions and 19 deletions

View File

@@ -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">
<div class="grid_8 alpha"> <li class="grid_2">
<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 %}

View File

@@ -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;
} }
@@ -540,4 +542,10 @@ aside .cd-accordion-menu.animated label::before {
transition: transform 0.3s; transition: transform 0.3s;
} }
main li li {
list-style: disc outside none;
margin-left: 30px;
padding: 1.2em;
}