better choices, simpler menu challenges
This commit is contained in:
@@ -6,18 +6,8 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li id="races-new">
|
<li id="races-new">
|
||||||
<a href="/rowers/virtualevent/create/">
|
<a href="/rowers/virtualevent/createchoice/">
|
||||||
<i class="far fa-flag fa-fw"></i> New Course Challenge
|
<i class="far fa-flag fa-fw"></i> New Challenge
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li id="indoor-new">
|
|
||||||
<a href="/rowers/virtualevent/createfastest/">
|
|
||||||
<i class="far fa-flag fa-fw"></i> New Any Course Challenge
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li id="fastest-new">
|
|
||||||
<a href="/rowers/virtualevent/createindoor/">
|
|
||||||
<i class="far fa-flag fa-fw"></i> New Indoor Challenge
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% if race %}
|
{% if race %}
|
||||||
|
|||||||
59
rowers/templates/newchallengechoice.html
Normal file
59
rowers/templates/newchallengechoice.html
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
{% extends "newbase.html" %}
|
||||||
|
{% load staticfiles %}
|
||||||
|
{% load rowerfilters %}
|
||||||
|
|
||||||
|
{% block title %}New Virtual Challenge{% endblock %}
|
||||||
|
|
||||||
|
{% block main %}
|
||||||
|
|
||||||
|
<h1>What type of challenge do you want to create?</h1>
|
||||||
|
|
||||||
|
<ul class="main-content">
|
||||||
|
<li class="rounder">
|
||||||
|
<h2>Course Challenge</h2>
|
||||||
|
<a href="/rowers/virtualevent/create/">
|
||||||
|
<div class="vignet">
|
||||||
|
<img src="/static/img/HOCR.png"
|
||||||
|
alt="Marked Course">
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<p>On-the-water challenge with a course. You have to row through
|
||||||
|
all the gates on the course to create a valid entry. Ideal for
|
||||||
|
local challenges.
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<li class="rounder">
|
||||||
|
<h2>Time or Distance Challenge</h2>
|
||||||
|
<a href="/rowers/virtualevent/createfastest/">
|
||||||
|
<div class="vignet">
|
||||||
|
<img src="/static/img/sculler.png"
|
||||||
|
alt="Marked Course">
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<p>On-the-water challenge over a set time or distance. This can be rowed
|
||||||
|
on any body of water in the world. Ideal to create a global on-the-water
|
||||||
|
challenge.
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<li class="rounder">
|
||||||
|
<h2>Indoor Rowing Challenge</h2>
|
||||||
|
<a href="/rowers/virtualevent/createindoor/">
|
||||||
|
<div class="vignet">
|
||||||
|
<img src="/static/img/domca.png"
|
||||||
|
alt="Marked Course">
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<p>Indoor rowing challenge over a set time or distance. This can be rowed
|
||||||
|
on any indoor rowing machine. Ideal to create a global indoor rowing
|
||||||
|
challenge.
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
|
{% block sidebar %}
|
||||||
|
{% include 'menu_racing.html' %}
|
||||||
|
{% endblock %}
|
||||||
@@ -260,6 +260,7 @@ urlpatterns = [
|
|||||||
# re_path(r'^list-workouts/(?P<startdatestring>\d+-\d+-\d+)/(?P<enddatestring>\d+-\d+-\d+)/$',views.workouts_view,
|
# re_path(r'^list-workouts/(?P<startdatestring>\d+-\d+-\d+)/(?P<enddatestring>\d+-\d+-\d+)/$',views.workouts_view,
|
||||||
# name='workouts_view'),
|
# name='workouts_view'),
|
||||||
re_path(r'^virtualevents/$',views.virtualevents_view,name='virtualevents_view'),
|
re_path(r'^virtualevents/$',views.virtualevents_view,name='virtualevents_view'),
|
||||||
|
re_path(r'^virtualevent/createchoice/$', TemplateView.as_view(template_name='newchallengechoice.html'),name='newchallengechoice'),
|
||||||
re_path(r'^virtualevent/create/$',views.virtualevent_create_view,name='virtualevent_create_view'),
|
re_path(r'^virtualevent/create/$',views.virtualevent_create_view,name='virtualevent_create_view'),
|
||||||
re_path(r'^virtualevent/createindoor/$',views.indoorvirtualevent_create_view,name='indoorvirtualevent_create_view'),
|
re_path(r'^virtualevent/createindoor/$',views.indoorvirtualevent_create_view,name='indoorvirtualevent_create_view'),
|
||||||
re_path(r'^virtualevent/createfastest/$',views.fastestvirtualevent_create_view,
|
re_path(r'^virtualevent/createfastest/$',views.fastestvirtualevent_create_view,
|
||||||
|
|||||||
BIN
static/img/HOCR.png
Normal file
BIN
static/img/HOCR.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 99 KiB |
BIN
static/img/domca.jpg
Normal file
BIN
static/img/domca.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
BIN
static/img/domca.png
Normal file
BIN
static/img/domca.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 186 KiB |
BIN
static/img/erg.png
Normal file
BIN
static/img/erg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 MiB |
BIN
static/img/sculler.png
Normal file
BIN
static/img/sculler.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 530 KiB |
Reference in New Issue
Block a user