Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e2062366d1 | ||
|
|
e7d4884625 | ||
|
|
d3c50962c0 | ||
|
|
38a04571ce |
@@ -3,99 +3,23 @@ from datetime import date
|
||||
from flask import render_template
|
||||
from app import app
|
||||
|
||||
class Raffle_Winner():
|
||||
def __init__(self, the_number,the_teacher,the_grade):
|
||||
self.number = the_number
|
||||
self.teacher = the_teacher
|
||||
self.grade = the_grade
|
||||
|
||||
class Participants():
|
||||
total = tk = k = g1 = g2 = g3 = g4 = g5 = 0
|
||||
class Ride():
|
||||
date = None
|
||||
treats = []
|
||||
participants = Participants()
|
||||
classroom = None
|
||||
raffle_winners = []
|
||||
|
||||
def get_ride_data( a_date ):
|
||||
##TODO: process just first line if file just has one line (treats)
|
||||
r = Ride()
|
||||
|
||||
try:
|
||||
next_ride_file = open( getcwd() + sep + "data/rides/"+date.strftime(a_date,"%Y-%m-%d")+".txt")
|
||||
lines = [ line for line in next_ride_file.read().split("\n") ]
|
||||
if len(lines) > 1:
|
||||
r.treats = list( lines[0].split(",") )
|
||||
r.participants.total = lines[1].split(",")[1]
|
||||
r.participants.tk = lines[2].split(",")[1]
|
||||
r.participants.k = lines[3].split(",")[1]
|
||||
r.participants.g1 = lines[4].split(",")[1]
|
||||
r.participants.g2 = lines[5].split(",")[1]
|
||||
r.participants.g3 = lines[6].split(",")[1]
|
||||
r.participants.g4 = lines[7].split(",")[1]
|
||||
r.participants.g5 = lines[8].split(",")[1]
|
||||
r.classroom = list( lines[9].split(",")[1:3] )
|
||||
r.raffle_winners = []
|
||||
tmp_list = list(lines[10].split(","))
|
||||
for w in tmp_list:
|
||||
winner_data = list(w.split("-"))
|
||||
r.raffle_winners.append( Raffle_Winner(winner_data[0],winner_data[1],winner_data[2]))
|
||||
elif len(lines) == 1:
|
||||
r.treats = list( lines[0].split(",") )
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
##file = next_ride_object
|
||||
return r
|
||||
def get_rides_dates():
|
||||
rides_file = open( getcwd() + sep + "data/rides.txt")
|
||||
rides = [ date.strptime( ride_date_str ,"%Y/%m/%d") for ride_date_str in rides_file.read().split("\n") ]
|
||||
return rides
|
||||
def get_next_ride_date( rides_list ):
|
||||
rides_list.sort()
|
||||
active_rides = []
|
||||
for ride_date in rides_list:
|
||||
if ride_date > date.today():
|
||||
active_rides.append( ride_date )
|
||||
next_ride = active_rides[0]
|
||||
return next_ride
|
||||
def get_rides_data( dates ):
|
||||
n = 0
|
||||
rides_files = []
|
||||
rides_data = []
|
||||
return active_rides[0]
|
||||
|
||||
for d in dates:
|
||||
data = Ride()
|
||||
data.date = d
|
||||
data.treats = []
|
||||
data.participants.total = 0
|
||||
data.participants.tk = 0
|
||||
data.participants.k = 0
|
||||
data.participants.g1 = 0
|
||||
data.participants.g2 = 0
|
||||
data.participants.g3 = 0
|
||||
data.participants.g4 = 0
|
||||
data.participants.g5 = 0
|
||||
|
||||
data.classroom = None
|
||||
data.raffle_winners = []
|
||||
|
||||
rides_data.append( data )
|
||||
|
||||
return rides_data
|
||||
@app.route('/')
|
||||
@app.route('/index')
|
||||
@app.route('/home')
|
||||
def index():
|
||||
|
||||
rides = get_rides_dates()
|
||||
rides_file = open( getcwd() + sep + "data/rides.txt")
|
||||
rides = [ date.strptime( ride_date_str ,"%Y/%m/%d") for ride_date_str in rides_file.read().split("\n") ]
|
||||
next_ride = get_next_ride_date(rides)
|
||||
user = {'username': 'Jorge'}
|
||||
month_and_day = date.strftime( next_ride ,"%A, %B %d" )
|
||||
short_day_name_and_date = date.strftime( next_ride ,"%b %d" )
|
||||
next_ride_data = get_ride_data( next_ride )
|
||||
|
||||
posts = [
|
||||
{
|
||||
'author': {'username':'Guybrush'},
|
||||
@@ -107,14 +31,4 @@ def index():
|
||||
}
|
||||
]
|
||||
|
||||
return render_template( 'index.html', next_ride_data=next_ride_data, title='Home', user=user, posts=posts, rides=rides, month_and_day=month_and_day, short_day_name_and_date=short_day_name_and_date, next_ride=next_ride) ## objects/variables to send over to templates.
|
||||
|
||||
@app.route('/ride')
|
||||
@app.route('/walk')
|
||||
def ride():
|
||||
rides_dates = get_rides_dates()
|
||||
next_ride = get_next_ride_date( rides_dates )
|
||||
next_ride_data = get_ride_data( next_ride )
|
||||
rides_data = get_rides_data( rides_dates )
|
||||
x = get_ride_data( next_ride )
|
||||
return render_template( 'ride.html', x=x, rides_data=rides_data, rides_dates=rides_dates, next_ride_data=next_ride_data, title='Home', next_ride=next_ride) ## objects/variables to send over to templates.
|
||||
return render_template( 'index.html', title='Home', user=user, posts=posts, rides=rides, next_ride=next_ride) ## objects/variables to send over to templates.
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="128"
|
||||
height="256"
|
||||
viewBox="0 0 128 256"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="arrow_after.svg"
|
||||
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
showgrid="false"
|
||||
inkscape:clip-to-page="true"
|
||||
inkscape:zoom="2.5468752"
|
||||
inkscape:cx="63.018401"
|
||||
inkscape:cy="106.01226"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1440"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<path
|
||||
fill="currentColor"
|
||||
style="display:inline;fill-opacity:1;stroke-width:28.8517;stroke-linecap:square;paint-order:markers fill stroke"
|
||||
d="m 0,0 v 256 h 26.617773 c 11.476459,0 22.224187,-5.62496 28.765566,-15.05469 l 67.906281,-97.89068 c 6.28051,-9.05389 6.28051,-21.05544 0,-30.10934 L 55.383339,15.05469 C 48.84196,5.6249614 38.09427,7.5590553e-5 26.617773,3.7795277e-6 Z"
|
||||
id="arrow_end"
|
||||
sodipodi:nodetypes="ccscccccc" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.5 KiB |
@@ -1,41 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="128.00047"
|
||||
height="255.99988"
|
||||
viewBox="0 0 128.00047 255.99987"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="arrow_before.svg"
|
||||
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="1.9845873"
|
||||
inkscape:cx="64.245096"
|
||||
inkscape:cy="127.98631"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1440"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<path
|
||||
fill="currentColor"
|
||||
style="display:inline;fill-opacity:1;stroke-width:28.8497;stroke-linecap:square;paint-order:markers fill stroke"
|
||||
d="M 9.6068084,0 C 1.8663641,0 -2.6841705,8.6955634 1.7265221,15.054622 L 69.625489,112.94519 c 6.27777,9.05424 6.27777,21.05576 0,30.10962 L 1.7265221,240.94538 C -2.6841705,247.30444 1.8777027,256 9.6068084,256 H 128.00008 V 0 Z"
|
||||
id="rect3-4" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 2.5 MiB After Width: | Height: | Size: 2.5 MiB |
@@ -8,7 +8,7 @@
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
|
||||
sodipodi:docname="pattern.svg"
|
||||
sodipodi:docname="pattern_v2.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
@@ -24,7 +24,7 @@
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:zoom="0.45254834"
|
||||
inkscape:cx="322.61747"
|
||||
inkscape:cx="323.72232"
|
||||
inkscape:cy="490.55533"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1440"
|
||||
@@ -75,7 +75,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-1075.8097,-99.496743)"
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g243"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -488,7 +488,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-980.02025,-195.28624)"
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g6"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -901,7 +901,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-1169.3333,-193.02019)"
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g87"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -1314,7 +1314,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-982.28638,-5.9732306)"
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g168"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -1727,7 +1727,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-1171.5992,-3.7072715)"
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g263"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -2140,7 +2140,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-1264.8898,-96.965096)"
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g263-6"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -2553,7 +2553,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-1073.5438,-288.80976)"
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g344"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -2966,7 +2966,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-886.49681,-101.7628)"
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g425"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
@@ -3379,7 +3379,7 @@
|
||||
inkscape:tile-x0="733.11872"
|
||||
inkscape:tile-y0="908.31497"
|
||||
transform="matrix(0.16262146,-0.16262146,0.16262146,0.16262146,-1078.0758,89.81617)"
|
||||
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:none">
|
||||
<g
|
||||
id="g506"
|
||||
transform="matrix(0.94757261,0,0,0.94727149,678.79355,3300.1534)"
|
||||
|
||||
|
Before Width: | Height: | Size: 608 KiB After Width: | Height: | Size: 608 KiB |
|
Before Width: | Height: | Size: 3.5 MiB |
|
Before Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 2.7 MiB |
|
Before Width: | Height: | Size: 8.2 MiB |
@@ -1,106 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="161.925mm"
|
||||
height="270.93332mm"
|
||||
viewBox="0 0 161.92501 270.93332"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
|
||||
sodipodi:docname="wr_backpack_logo.svg"
|
||||
xml:space="preserve"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:zoom="0.36630324"
|
||||
inkscape:cx="297.56767"
|
||||
inkscape:cy="723.44432"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1440"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" /><defs
|
||||
id="defs1"><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect8-9"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,2.9104167,0,1 @ F,0,0,1,0,2.9104167,0,1 @ F,0,0,1,0,2.9104167,0,1 @ F,0,0,1,0,2.9104167,0,1 @ F,0,0,1,0,2.9104167,0,1 @ F,0,0,1,0,2.9104167,0,1"
|
||||
radius="11"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /></defs><g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-25.929163,43.127075)"><text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:45.391px;line-height:0.73;font-family:Stickup;-inkscape-font-specification:'Stickup, ';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:center;letter-spacing:-1.41763px;text-anchor:middle;mix-blend-mode:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:5.49922;stroke-linecap:square;paint-order:markers fill stroke"
|
||||
x="51.778118"
|
||||
y="85.262718"
|
||||
id="text1-6"
|
||||
inkscape:label="walk roller"
|
||||
transform="scale(1.0000915,0.99990851)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan1-3"
|
||||
x="51.778118"
|
||||
y="85.262718"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:45.391px;line-height:0.73;font-family:Stickup;-inkscape-font-specification:'Stickup, ';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;letter-spacing:-1.41763px;text-anchor:start;fill:#000000;fill-opacity:1;stroke-width:5.49922"
|
||||
dx="-0.010082344">walk </tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="51.778118"
|
||||
y="118.39815"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:45.391px;line-height:0.73;font-family:Stickup;-inkscape-font-specification:'Stickup, ';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;letter-spacing:-1.41763px;text-anchor:start;fill:#000000;fill-opacity:1;stroke-width:5.49922"
|
||||
id="tspan2"
|
||||
dx="0 0 0 0 -1.4948276">Roller</tspan></text><text
|
||||
xml:space="preserve"
|
||||
style="font-weight:bold;font-size:23.3933px;line-height:0.73;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';text-align:center;text-anchor:middle;mix-blend-mode:normal;fill:#ffffff;fill-opacity:0.929412;stroke:none;stroke-width:5.49922;stroke-linecap:square;paint-order:markers fill stroke"
|
||||
x="144.47939"
|
||||
y="79.064751"
|
||||
id="text1-6-3"
|
||||
inkscape:label="&"
|
||||
transform="scale(1.0000915,0.99990851)"><tspan
|
||||
sodipodi:role="line"
|
||||
x="144.47939"
|
||||
y="79.064751"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:23.3933px;line-height:0.73;font-family:Stickup;-inkscape-font-specification:'Stickup, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#ffffff;fill-opacity:0.929412;stroke-width:5.49922"
|
||||
id="tspan2-7">&</tspan></text><path
|
||||
style="fill:none;fill-opacity:1;stroke:#f9f9f9;stroke-width:1.40808;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="m 53.524403,34.067339 c -0.04815,0.90785 0.545482,1.862015 1.143112,2.338694 0.673815,0.537443 1.340233,0.960055 2.19602,1.12026 0.69696,0.130474 1.406582,0.131516 2.110276,0.06507 0.301609,-0.02848 1.553598,-0.255076 1.592755,-0.856539 0.03915,-0.60139 -0.865728,-1.033361 -1.468091,-1.05562 -1.528125,-0.05646 -3.591288,0.832733 -3.911931,2.395809 -0.476058,2.320698 1.866874,3.607422 3.27681,3.434077 0.943738,-0.116027 1.419474,-0.580914 1.336276,-1.016854 -0.0832,-0.43594 -0.758901,-0.642898 -1.483543,-0.55486 -1.371191,0.166591 -3.112651,1.225811 -3.392323,3.94959 -0.183705,1.789133 1.548727,3.019908 3.003181,3.224162 1.563317,0.219538 3.450323,-0.283768 4.917967,-1.052192 0.919877,-0.481626 2.010465,-1.269273 2.716567,-1.976489 1.364465,-1.366627 1.607432,-3.709526 1.524362,-5.625172 -0.03816,-0.879872 -0.310058,-3.910283 -1.569935,-3.788084 -0.812741,0.07883 -1.088902,1.307367 -1.255111,1.922902 -0.262454,0.971955 -0.343544,1.965006 -0.422088,2.966226 -0.140729,1.79388 -0.117881,3.193172 0.227938,4.965392 0.140673,0.720906 0.222372,1.323743 0.476822,1.992475 0.153418,0.403201 1.065258,1.878341 2.453481,1.983896 1.229733,0.0935 1.726916,-0.06542 2.519111,-0.449724"
|
||||
id="path163"
|
||||
sodipodi:nodetypes="csssaasssssssssssssssc"
|
||||
inkscape:label="El" /><path
|
||||
style="fill:none;fill-opacity:1;stroke:#f9f9f9;stroke-width:1.40808;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="m 74.933122,48.315366 c 1.834396,-4.731154 3.354944,-8.071841 4.007046,-9.651372 0.158527,-0.383986 0.29705,-0.775938 0.449426,-1.162405 0.117357,-0.297651 0.228525,-0.598008 0.357991,-0.890599 0.04611,-0.104212 0.09983,-0.204899 0.149003,-0.307701 0.0067,-0.014 0.0047,-0.04538 0.01989,-0.04209 0.250515,0.0544 0.006,0.512585 0.01046,0.768856 0.0045,0.260785 0.02344,0.521567 0.01646,0.782297 -0.04003,1.494812 -0.255141,2.980327 -0.334265,4.473581 -0.02771,0.523076 -0.08444,1.048037 -0.04917,1.570659 0.01428,0.211584 -0.09839,0.567839 0.105165,0.627447 0.365394,0.107002 0.566336,-0.522824 0.766715,-0.846515 1.760653,-2.844121 2.059469,-3.987411 4.365522,-7.584519 0.182933,-0.285349 0.359397,-0.974776 0.642433,-0.788236 0.03962,0.02611 -0.04856,0.08199 -0.06597,0.126125 -0.06005,0.15217 -0.0909,0.314364 -0.130785,0.473015 -0.120148,0.477934 -0.221984,0.960313 -0.326706,1.44186 -1.318419,4.92859 -1.693582,9.961134 -1.973375,15.036451"
|
||||
id="path164"
|
||||
sodipodi:nodetypes="caaaaaaaaaassaaaac"
|
||||
inkscape:label="M" /><path
|
||||
style="fill:none;fill-opacity:1;stroke:#f9f9f9;stroke-width:1.40808;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="m 90.304965,40.468422 c -1.35085,-0.363831 -3.266327,1.175056 -3.684965,2.858362 -0.31386,1.262005 -0.230133,2.301282 0.285052,2.918855 0.47844,0.573521 1.392286,0.350785 1.640775,0.16806 2.631493,-2.207682 2.608735,-5.870127 2.744822,-5.858295 0.316172,0.02748 -0.429037,3.183763 -0.02856,5.102828 0.102517,0.491264 0.272609,1.056976 0.877403,0.626804 0.564173,-0.401279 0.827811,-1.342992 1.009955,-1.952548 0.358006,-1.198106 0.613451,-2.451423 0.798226,-3.688849 0.0081,-0.05435 0.117704,-1.084116 0.104322,-1.095971 -0.01057,-0.0094 0.0266,0.01125 0.04071,0.01158 0.08673,0.002 0.240648,0.127434 0.314704,0.156259 0.433062,0.168575 0.8824,0.12096 1.337298,0.09762 0.27498,-0.01412 1.560838,-0.172394 1.757882,0.03826 0.01719,0.01836 -0.507905,1.057904 -0.540228,1.136354 -0.619429,1.503397 -1.409206,3.388085 -0.683771,5.000022 0.105435,0.23428 0.357629,0.725893 0.640743,0.908527 0.345272,0.222735 0.77845,-0.218035 0.968681,-0.450853 0.889377,-1.088479 1.258803,-2.393729 1.671717,-3.715465 0.191232,-0.618278 0.384306,-1.235981 0.579089,-1.853147 0.0444,-0.14065 -0.0213,1.543489 0.0528,2.310182 0.13496,1.397083 0.12153,3.993211 0.71147,4.150234 0.41973,0.111717 0.96428,-0.584825 1.12182,-0.828586 0.75844,-1.173528 0.97533,-1.8838 2.30807,-5.108679 0.14832,-0.35891 0.32165,-1.011124 0.64124,-1.232358 0.0666,-0.04614 0.28687,-0.199874 0.39969,-0.07717 0.35951,0.391039 -0.0483,1.518494 -0.14498,1.857442 -0.32037,1.123213 -0.67109,2.223316 -0.86193,3.43686 -0.0843,0.535792 -0.18707,1.318569 -0.008,1.864163 0.013,0.0394 0.0667,-0.125527 0.18777,-0.480324 0.50569,-1.481618 -0.31582,0.722494 0.41842,-1.200538 0.58354,-1.528339 1.13303,-2.908925 2.14251,-4.135099 0.5108,-0.620455 1.08164,-1.56324 2.49802,-1.291002 1.09803,0.211048 0.82984,1.772838 0.52868,3.250865 -0.30116,1.478027 -0.96861,3.541813 -0.19264,4.000785 0.3689,0.218202 1.04321,-0.149543 1.33871,-1.042148 0.591,-1.785212 1.13667,-4.891736 1.14332,-4.716915 0.0133,0.349643 -0.29565,1.506884 -0.36968,2.269315 -0.13424,1.382584 -0.11403,3.455039 1.55748,3.531813 1.75803,0.08075 2.19926,-1.873062 2.48342,-3.082549 0.21447,-0.91288 -0.27597,-3.486344 -1.45224,-3.768482 -0.80415,-0.192889 -1.34136,-0.146838 -1.48222,0.619558 -0.22159,1.205659 1.51223,1.176034 2.85513,0.122573 1.04121,-0.816782 1.79753,-2.222841 1.44155,-4.222339"
|
||||
id="path165"
|
||||
sodipodi:nodetypes="csssssssssssssssssssasssssssssssssssssszsssc"
|
||||
inkscape:label="arino" /><path
|
||||
style="fill:none;fill-opacity:1;stroke:#f9f9f9;stroke-width:1.17341;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
d="m 102.70946,36.530131 c -0.68186,0.25264 -1.30154,1.434431 -0.65856,2.34558 0.60219,0.853356 1.62026,0.250738 1.82123,-0.268149 0.0658,-0.17001 0.083,-0.371294 0.0352,-0.546513 -0.24678,-0.701361 -0.88879,-0.435017 -0.8484,-0.05767"
|
||||
id="path166"
|
||||
sodipodi:nodetypes="csssc"
|
||||
inkscape:label="." /></g></svg>
|
||||
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 20 KiB |
@@ -1,374 +1,137 @@
|
||||
/*Variables*/
|
||||
:root {
|
||||
--violet-main-color: #ad76d4;
|
||||
--violet-main-color-filter: filter: invert(79%) sepia(34%) saturate(6966%) hue-rotate(220deg) brightness(86%) contrast(92%);
|
||||
--violet-accent-color: #cd90db;
|
||||
--violet-accent-color-filter: filter: invert(83%) sepia(16%) saturate(3750%) hue-rotate(207deg) brightness(88%) contrast(95%);
|
||||
--violet-dark-color: #a758c8;
|
||||
--violet-dark-color-filter: filter: invert(43%) sepia(28%) saturate(1529%) hue-rotate(240deg) brightness(94%) contrast(82%);
|
||||
--violet-darker-color: #390747;
|
||||
--violet-darker-color-filter: filter: invert(8%) sepia(33%) saturate(5024%) hue-rotate(272deg) brightness(116%) contrast(108%);
|
||||
--wr-blue:#0e92e2;
|
||||
--wr-blue-filter: filter: invert(41%) sepia(76%) saturate(1842%) hue-rotate(177deg) brightness(95%) contrast(89%);
|
||||
--wr-dark-blue:#14253d;
|
||||
--wr-dark-blue-filter: filter: invert(8%) sepia(87%) saturate(1211%) hue-rotate(194deg) brightness(93%) contrast(89%);
|
||||
--wr-orange:#ff6600;
|
||||
--wr-orange-filter: filter: invert(52%) sepia(94%) saturate(4085%) hue-rotate(3deg) brightness(105%) contrast(105%);
|
||||
--wr-pink:#ff0060;
|
||||
--wr-pink-filter: filter: invert(18%) sepia(83%) saturate(7497%) hue-rotate(331deg) brightness(99%) contrast(107%);
|
||||
--wr-red:#d52311;
|
||||
--wr-red-filter: filter: invert(17%) sepia(72%) saturate(3993%) hue-rotate(359deg) brightness(109%) contrast(89%);
|
||||
--wr-white:#ffffff;
|
||||
--wr-white-filter: filter: invert(98%) sepia(98%) saturate(0%) hue-rotate(337deg) brightness(103%) contrast(103%);
|
||||
--wr-yellow:#e8d55d;
|
||||
--wr-yellow-filter:filter: invert(77%) sepia(30%) saturate(679%) hue-rotate(12deg) brightness(101%) contrast(98%);
|
||||
--wr-black:#0c1625;
|
||||
--heart: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='currentColor' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>");
|
||||
--arrow_before: url(/static/img/arrow_before.svg);
|
||||
--arrow_after: url(/static/img/arrow_after.svg);
|
||||
--min_width_mobile: 500px;
|
||||
--wr-h-letter-spacing: -.075em;
|
||||
--wr-border-radius: 1.25em;
|
||||
--wr-widget-height: 1.5em;
|
||||
--wr-active-widget-height: 2em;
|
||||
@media screen and ( width > 500px ) {
|
||||
--wr-html-font-size: 1.25em;
|
||||
--wr-background-size: 12em;
|
||||
--wr-h1-font-size:2.25em;
|
||||
--wr-h3-font-size:1.5em;
|
||||
--wr-emwrlogo-max-height:13em;
|
||||
--wr-widget-scale: 1;
|
||||
}
|
||||
@media screen and ( width <= 500px ) {
|
||||
--wr-html-font-size: var(.125em);
|
||||
--wr-background-size: 10em;
|
||||
--wr-h1-font-size:1.75em;
|
||||
--wr-h3-font-size:1em;
|
||||
--wr-emwrlogo-max-height:8em;
|
||||
--wr-widget-scale: .75;
|
||||
}
|
||||
|
||||
}
|
||||
/*Fonts*/
|
||||
@font-face {
|
||||
font-family: abelRegular;
|
||||
src: url(/static/font/Abel-Regular.woff);
|
||||
--wr-blue:#0e92e2;
|
||||
--wr-dark-blue:#14253d;
|
||||
--wr-orange:#ff6600;
|
||||
--wr-pink:#ff0060;
|
||||
--wr-red:#d52311;
|
||||
--wr-white:#ffffff;
|
||||
--wr-yellow:#e8d55d;
|
||||
}
|
||||
@font-face {
|
||||
font-family: abelBold;
|
||||
src: url(/static/font/AbelPro-Bold.woff);
|
||||
font-family: abelRegular; /* set name */
|
||||
src: url(/static/font/Abel-Regular.woff); /* url of the font */
|
||||
}
|
||||
@font-face {
|
||||
font-family: abelProBold; /* set name */
|
||||
src: url(/static/font/Abel-Pro-Bold.otf); /* url of the font */
|
||||
}
|
||||
@font-face {
|
||||
font-family: Stickup;
|
||||
src: url(/static/font/Stickup.otf/);
|
||||
font-display:swap;
|
||||
}
|
||||
|
||||
/*Html*/
|
||||
/* #path1 {
|
||||
fill: blue;
|
||||
} */
|
||||
|
||||
html,body{
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
line-height: .95;
|
||||
scroll-behavior:smooth;
|
||||
/* transition: all 1s ease-out; */
|
||||
}
|
||||
html{
|
||||
transition: all cubic-bezier(0.075, 0.82, 0.165, 1);
|
||||
max-width: 100%;
|
||||
font-family: abelRegular;
|
||||
font-size: var(--wr-html-font-size);
|
||||
font-size: 1.25em;
|
||||
line-height: .9em;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
#section1{
|
||||
height:100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
-ms-flex-align: center;
|
||||
}
|
||||
body{
|
||||
background-color: var(--violet-main-color);
|
||||
background-image: url("./img/pattern.svg");
|
||||
background-attachment: fixed;
|
||||
background-size: var(--wr-background-size);
|
||||
background-size: 12em;
|
||||
max-width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
h1,h3{
|
||||
letter-spacing: var(--wr-h-letter-spacing);
|
||||
color: var(--wr-yellow);
|
||||
padding-top: 0px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
h1{
|
||||
|
||||
font-size: var(--wr-h1-font-size);
|
||||
}
|
||||
h3{
|
||||
|
||||
font-size: var(--wr-h3-font-size);
|
||||
}
|
||||
img{
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
/*Useful Layout Classes*/
|
||||
|
||||
|
||||
div.page{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
max-width: 100%;
|
||||
}
|
||||
div.container{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-width: 40em;
|
||||
align-items:center;
|
||||
}
|
||||
.section{
|
||||
height: 100vh;
|
||||
/* background-color: #d5231133;
|
||||
border-style: dotted;
|
||||
border-width: 1px; */
|
||||
/*scale: .75;*/
|
||||
.ccwr_url{
|
||||
background-color: #390747;
|
||||
}
|
||||
.row{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.column{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.wrapping{
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.centered{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
@media screen and ( width <= 500px ) {
|
||||
.box{
|
||||
padding-top: .5em;
|
||||
padding-bottom: .5em;
|
||||
padding-left: .75em;
|
||||
padding-right: .75em;
|
||||
margin-left: 1em;
|
||||
margin-right:1em;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
}
|
||||
@media screen and ( width >= 500px) {
|
||||
.box{
|
||||
padding-top: 1em;
|
||||
padding-bottom: 1em;
|
||||
padding-left: 1.5em;
|
||||
padding-right: 1.5em;
|
||||
margin-left:2em;
|
||||
margin-right:2em;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
}
|
||||
.box.left{
|
||||
margin-right: 0px;
|
||||
}
|
||||
.box.right{
|
||||
margin-left: 0px;
|
||||
}
|
||||
.big{
|
||||
font-size: +3em;
|
||||
letter-spacing: -.1em;
|
||||
}
|
||||
/* .box:hover{
|
||||
padding-top: 5em;
|
||||
} */
|
||||
.box.solid{
|
||||
border-style: solid;
|
||||
background-color: var(--violet-main-color);
|
||||
border-radius: 1.25em;
|
||||
border-width: .125em;
|
||||
border-color: var(--violet-accent-color);
|
||||
|
||||
}
|
||||
|
||||
.menu{
|
||||
scale: var(--wr-widget-scale);
|
||||
position: absolute;
|
||||
top: 0em;
|
||||
justify-content: center;
|
||||
}
|
||||
.section{
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
.fix{
|
||||
position: fixed;
|
||||
}
|
||||
.rel{
|
||||
position: relative;
|
||||
}
|
||||
.anchor_top_left{
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
}
|
||||
.anchor_top{
|
||||
top: 0px;
|
||||
justify-self: center;
|
||||
}
|
||||
.anchor_top_right{
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
}
|
||||
.anchor_right{
|
||||
right:0px;
|
||||
bottom:50%;
|
||||
}
|
||||
.anchor_bottom_right{
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
}
|
||||
.anchor_bottom{
|
||||
bottom: 0px;
|
||||
justify-self: center;
|
||||
}
|
||||
.anchor_bottom_left{
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
}
|
||||
.anchor_left{
|
||||
|
||||
left:0px;
|
||||
bottom:50%;
|
||||
}
|
||||
|
||||
/*Images*/
|
||||
a.menuitem{
|
||||
padding-left: 1em;
|
||||
padding-right: 1em;
|
||||
}
|
||||
img.icon,object.icon{
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
max-height: 3em;
|
||||
border-radius: 0em;
|
||||
padding: .5em;
|
||||
}
|
||||
img.emwrlogo{
|
||||
|
||||
max-height: var(--wr-emwrlogo-max-height);
|
||||
background-size: cover;
|
||||
background-image: url('/static/img/backpack_purple.webp');
|
||||
position: relative;
|
||||
margin-bottom:1em;
|
||||
}
|
||||
object.map{
|
||||
max-width: 100%;
|
||||
border-radius: var(--wr-border-radius);
|
||||
}
|
||||
img.photo{
|
||||
padding: .25em;
|
||||
height: 12em;
|
||||
object-fit: cover;
|
||||
border-radius: var(--wr-border-radius);
|
||||
}
|
||||
img.photo.main{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
img.photo.A{
|
||||
width: 12em;
|
||||
}
|
||||
img.photo.B{
|
||||
width: 18em;
|
||||
}
|
||||
img.photo.C{
|
||||
width: 8em;
|
||||
}
|
||||
|
||||
/*Colors*/
|
||||
.yellow{
|
||||
color: var(--wr-yellow);
|
||||
}
|
||||
|
||||
/* Classes */
|
||||
.ccwr_url{
|
||||
background-color: #390747;
|
||||
}
|
||||
/*?*/
|
||||
.ride_date{
|
||||
display: block;
|
||||
padding: .5em;
|
||||
font-family: abelBold;
|
||||
letter-spacing: -.075em;
|
||||
color: var(--wr-white);
|
||||
padding: .25em;
|
||||
}
|
||||
.next_ride_date{
|
||||
color:var(--wr-yellow);
|
||||
}
|
||||
.ride_date.active{
|
||||
color: var(--wr-dark-blue);
|
||||
color: #390747;
|
||||
}
|
||||
div.tag_reminder{
|
||||
position: fixed;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
top: 1em;
|
||||
right: 1em;
|
||||
h1,h3{
|
||||
font-family: abelProBold;
|
||||
line-height: .9em;
|
||||
font-weight: bold;
|
||||
color: var(--wr-yellow);
|
||||
}
|
||||
.hide{
|
||||
display: none;
|
||||
img{
|
||||
padding: .5em;
|
||||
max-width: 100%;
|
||||
}
|
||||
.widget{
|
||||
color:var(--wr-white);
|
||||
height: var(--wr-widget-height);
|
||||
width: auto;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
img.icon{
|
||||
|
||||
max-width: 100%;
|
||||
max-height: 3em;
|
||||
float: left;
|
||||
}
|
||||
img.emwrlogo{
|
||||
max-width: 100%;
|
||||
max-height: 8em;
|
||||
}
|
||||
p{
|
||||
margin: 1em;
|
||||
padding: 1em;
|
||||
}
|
||||
img.map{
|
||||
max-width: 100%;
|
||||
max-height: 50em;
|
||||
}
|
||||
div{
|
||||
max-width: 100%;
|
||||
}
|
||||
div.page{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
max-width: 45em;
|
||||
max-width: 100%;
|
||||
/* max-height: 100%; */
|
||||
overflow: scroll;
|
||||
}
|
||||
.widget:hover{
|
||||
cursor: pointer;
|
||||
}
|
||||
.widget-text{
|
||||
div.container{
|
||||
display: flex;
|
||||
height: var(--wr-widget-height);
|
||||
width: 100%;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
background-color:var(--wr-white);
|
||||
color: var(--violet-main-color);
|
||||
|
||||
flex-direction: column;
|
||||
max-width: 50em;
|
||||
align-items:center;
|
||||
}
|
||||
.widget-text.active{
|
||||
font-family: abelBold;
|
||||
height: var(--wr-active-widget-height);
|
||||
background-color: var(--wr-dark-blue);
|
||||
#next_ride_reminder{
|
||||
color: var(--wr-yellow);
|
||||
font-size: 1em;
|
||||
}
|
||||
.backpack{
|
||||
max-height: 15em;
|
||||
width: auto;
|
||||
}
|
||||
p{
|
||||
padding-top: 0px;
|
||||
margin-top: .5em;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
/* IDs */
|
||||
#dates_bar{
|
||||
scale: var(--wr-widget-scale);
|
||||
bottom: 0px;
|
||||
justify-content: center;
|
||||
font-family: abelProBold;
|
||||
position: fixed;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
bottom: 1em;
|
||||
right: 1em;
|
||||
}
|
||||
/* svg{
|
||||
object-view-box: 0 0 128 256;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border-style: solid;
|
||||
width: 10px;
|
||||
height: auto;
|
||||
} */
|
||||
div.box{
|
||||
background-color: rgba(255, 255, 255, 0.25);
|
||||
padding: .5em;
|
||||
border-radius: 0.5em;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) and (orientation: portrait) {
|
||||
div.page{
|
||||
max-width: 95%;
|
||||
}
|
||||
img.emwrlogo{
|
||||
max-width: 100%;
|
||||
max-height: 4em;
|
||||
}
|
||||
}
|
||||
@@ -11,26 +11,8 @@
|
||||
{% endif %}
|
||||
</head>
|
||||
<body>
|
||||
<svg class="hide" viewBox="0 0 128 256">
|
||||
<symbol id="arrow_before">
|
||||
<path
|
||||
d="M 9.6068084,0 C 1.8663641,0 -2.6841705,8.6955634 1.7265221,15.054622 L 69.625489,112.94519 c 6.27777,9.05424 6.27777,21.05576 0,30.10962 L 1.7265221,240.94538 C -2.6841705,247.30444 1.8777027,256 9.6068084,256 H 128.00008 V 0 Z"
|
||||
style="display:inline;fill:currentColor;fill-opacity:1;stroke-width:28.8497;stroke-linecap:square;paint-order:markers fill stroke"
|
||||
id="path1" />
|
||||
</symbol>
|
||||
</svg>
|
||||
<svg class="hide" viewBox="0 0 128 256">
|
||||
<symbol id="arrow_after">
|
||||
<path
|
||||
d="m 0,0 v 256 h 26.617773 c 11.476459,0 22.224187,-5.62496 28.765566,-15.05469 l 67.906281,-97.89068 c 6.28051,-9.05389 6.28051,-21.05544 0,-30.10934 L 55.383339,15.05469 C 48.84196,5.6249614 38.09427,7.5590553e-5 26.617773,3.7795277e-6 Z"
|
||||
style="display:inline;fill:currentColor;fill-opacity:1;stroke-width:28.8517;stroke-linecap:square;paint-order:markers fill stroke"
|
||||
id="path1" />
|
||||
</symbol>
|
||||
</svg>
|
||||
<div>El Marino Walk and Rollers:<a href="/index">Home</a></div>
|
||||
<hr>
|
||||
{% block content %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
@@ -1,144 +1,81 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<!-- <h1>Hello, {{ user.username }}!</h1> -->
|
||||
<!-- <h1>Hello, {{ user.username }}!</h1> -->
|
||||
<div class="page">
|
||||
<div class="container">
|
||||
<div id="section1" class="section column centered">
|
||||
<div class="row centered">
|
||||
<img class="emwrlogo" src="/static/img/wr_backpack_logo.svg">
|
||||
</div>
|
||||
|
||||
<div class="box solid wrapping">
|
||||
<h1> Ride, scoot or walk with us next on {% print(month_and_day) %} ! </h1>
|
||||
<p>Join us this <span class="yellow">{% print(short_day_name_and_date) %} </span> for a group ride/walk from one of our three locations. We will depart at <span class="yellow">8:25am<span>.</p>
|
||||
</div>
|
||||
<div class="box centered wrapping">
|
||||
<img class="icon" src="/static/img/wr_icons.svg">
|
||||
<h2> {% if next_ride_data == None %}
|
||||
We'll have delicious treats for all of you at the front gate!!!
|
||||
{% else %}
|
||||
We'll have delicious {{ next_ride_data.treats[0]+" and "+next_ride_data.treats[1]+" "}} for all of you at the front gate!!!
|
||||
{% endif %}
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div id="section2" class="section column centered">
|
||||
<div id="locations" class="box solid column">
|
||||
|
||||
<img class="icon" src="/static/img/wr_marked_map.svg" usemap="#workmap">
|
||||
<map name="workmap">
|
||||
<area shape="rect" coords="289,528,1498,901" alt="Computer" href="computer.htm">
|
||||
<area shape="rect" coords="290,172,333,250" alt="Phone" href="phone.htm">
|
||||
<area shape="circle" coords="337,300,44" alt="Coffee" href="coffee.htm">
|
||||
</map>
|
||||
<h3>Starting Locations</h3>
|
||||
|
||||
|
||||
<object class="map" data="/static/img/map_v2.svg" type="image/svg+xml">
|
||||
<span>Your browser doesn't support SVG images</span>
|
||||
</object>
|
||||
|
||||
<!-- <img class="map" src="/static/img/map_v2.svg"> -->
|
||||
<div class="column">
|
||||
<p>Come to one of our three convenient locations the first Friday of every month of the school year:
|
||||
<span>
|
||||
<a href="https://maps.app.goo.gl/woEC7JjXsFYMxwBfA" target="loc" class="menuitem">Port and Emporia</a>
|
||||
<a href="https://maps.app.goo.gl/Nv8iLjuw78wxyTNy8" target="loc" class="menuitem">Sawtelle Bridge</a>
|
||||
<a href="https://maps.app.goo.gl/RqbGAVJ7EmGoFo8a8" target="loc" class="menuitem">Us Bank</a></span>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <a class="ccwr_url" href="https://ccwalkandroll.com/">ccwalkandroll.com</a></br> -->
|
||||
<div id="section3" class="section column centered">
|
||||
<div id="3blockchallange" class="box solid column">
|
||||
<img class="icon" src="/static/img/wr_comment.svg">
|
||||
<h4>On other days...</h4>
|
||||
<h3>TAKE THE 3 BLOCK CHALLENGE!</h3>
|
||||
<p><strong>Park 3 blocks away from school and walk in with your child.</strong></p>
|
||||
<p>There are plenty of convenient spots in the neighborhood. Not only will it help reduce</p>
|
||||
<p>Please check in with our volunteers at one of three locations between <span class="yellow">8:00am</span> and <span class="yellow">8:25am</span>, where your child will receive credit for their participation. Choose to continue to school with your child or join in as a group leaving at <span class="yellow">8:30am</span>.</p>
|
||||
</div>
|
||||
<!-- {% for post in posts %}
|
||||
<div><p>{{ post.author.username }} says: <b>{{ post.body }} </b></p><div></div>
|
||||
{% endfor %} -->
|
||||
</div>
|
||||
<div id="section4" class="section column centered">
|
||||
<div id="volunteering" class="box solid column">
|
||||
<h3>VOLUNTEER WITH US!</h3>
|
||||
<p>Walk and Rollers is looking for volunteers to help on the gathering stations, so if you live close to any of the stations, and you would like to help, join us by <a target="_blank" href="https://docs.google.com/forms/d/186O8hIEcvlYp-Vz-sIo2TSsHUAmI-63sT-QuOUXeO40/edit">signing in</a>.</p>
|
||||
<ul>
|
||||
<li>Port and Emporia.</li>
|
||||
<li>Bridge.</li>
|
||||
<li>Bank.</li>
|
||||
</ul>
|
||||
<p> We also need a volunteer (or a couple) that wants to help on the treat station after the ride, so if you can sign in and help us.</p>
|
||||
<ul>
|
||||
<li>Treat Station.</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div id="section5" class="section column centered">
|
||||
|
||||
|
||||
<div id="about" class="box solid column">
|
||||
<h3>ABOUT US</h3>
|
||||
<p>We organize monthly walks/rides to school and commute together.</p>
|
||||
<p>We're doing this, not only because we enjoy it, but also to promote safer streets as well as the health benefits associated with with physical activity.</p>
|
||||
<p>Learn more about us and out parent organization, here: <a href="https://ccwalkandroll.com/">https://ccwalkandroll.com/</a></p>
|
||||
<p>Come and <a href="#section4">volunteer with us!</a></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hide anchor_right fix">
|
||||
<img class="icon" src="/static/img/keychain.webp">
|
||||
</div>
|
||||
|
||||
<div class="hide tag_reminder">
|
||||
<div class="row centered">
|
||||
<div class="row box ">
|
||||
<div class="container" id="section1">
|
||||
<img class="emwrlogo" src="/static/img/wr_logo.svg"></br>
|
||||
<a class="ccwr_url" href="www.ccwalkandroll.com">www.ccwalkandroll.com</a></br>
|
||||
<div class="box">
|
||||
<img class="icon" src="/static/img/wr_phone.svg">
|
||||
<div style="max-width: 10em;">
|
||||
<p>If you don't have your tags, ask for one from one of our volunteers to get participation credit!</p>
|
||||
</div>
|
||||
<p>
|
||||
If you don't have your tags,<br>ask for one from one of our volunteers<br>to get participation credit!
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--MENU-->
|
||||
<div id="menu" class="anchor_top row fix wrapping centered">
|
||||
<div class="row centered wrapping">
|
||||
<a class="menuitem" href="#section1">home</a>|
|
||||
<a class="menuitem" href="#section2"><img src="/static/img/wr_marked_map.svg" style="max-height: 1em; display: inline-block";> locations</a>|
|
||||
<a class="menuitem" href="#section3"><img src="/static/img/wr_comment.svg" style="max-height: 1em; display: inline-block";> 3 block challange</a>
|
||||
<a class="menuitem" href="#section4">volunteers</a>
|
||||
<a class="menuitem" href="#section5">about</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--DATES BAR-->
|
||||
<div id="dates_bar" class="anchor_bottom row fix wrapping centered">
|
||||
<img class="icon" src="/static/img/wr_calendar.svg">
|
||||
{% for ride in rides %}
|
||||
{% if ride == next_ride %}
|
||||
|
||||
<div class="widget ride_date active">
|
||||
<svg style="width:100%;height: 2em" viewBox="0 0 128 256"><use href="#arrow_before" opacity="1.0" /></svg>
|
||||
<div class="widget-text active centered">{{ ride.strftime("%b-%d") }}</div>
|
||||
<svg style="width:100%;height: 2em;" viewBox="0 0 128 256"><use href="#arrow_after" opacity="1.0" /></svg>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h1>Ride, scoot or walk with us on December 5th!</h1>
|
||||
</div>
|
||||
<p>
|
||||
Join us this Dec 5th for a group ride/walk from one of our three locations. We will depart at 8:25am.
|
||||
</p>
|
||||
<img class="icon" src="/static/img/wr_icons.svg">
|
||||
<h2>
|
||||
We'll have delicious treats for all of you at the front gate!!!
|
||||
</h2>
|
||||
<a href="#section2">section2</a>
|
||||
</div>
|
||||
<div class="container" id="section2">
|
||||
<div class="box">
|
||||
<img class="icon" src="/static/img/wr_comment.svg">
|
||||
<h4>
|
||||
On other days...
|
||||
</h4>
|
||||
<h3>
|
||||
TAKE THE 3 BLOCK CHALLENGE!
|
||||
</h3>
|
||||
<p><strong>
|
||||
Park 3 blocks away from school and walk in with your child.
|
||||
</strong>
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
There are plenty of convenient spots in the neighborhood. Not only will it help reduce traffic and pollution around El Marino, you'll save yourself the hassle of hunting for parking while giving yourself and your child a calmer and healthier start to the day. Just leave home 5 minutes earlier, park a few blocks from school, and walk in together.You'll be amazed at what a difference it makes!
|
||||
</p>
|
||||
<img class="icon" src="/static/img/wr_marked_map.svg">
|
||||
<h3>
|
||||
Starting Locations
|
||||
</h3>
|
||||
<img class="map" src="/static/img/map_v2.svg">
|
||||
<p>
|
||||
Come to one of our three convenient locations the first Friday of every month of the school year:
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="row" >
|
||||
<img class="icon" src="/static/img/wr_calendar.svg">
|
||||
{% for ride in rides %}
|
||||
{% if ride > next_ride %}
|
||||
<div class="ride_date ">{{ ride.strftime("%b-%d") }}</div>
|
||||
{% else %}
|
||||
<div class="widget ride_date">
|
||||
<svg style="width:100%;height: 1.5em" viewBox="0 0 128 256"><use href="#arrow_before" opacity="1.0" /></svg>
|
||||
<div class="widget-text centered">{{ ride.strftime("%b-%d") }}</div>
|
||||
<svg style="width:100%;height: 1.5em;" viewBox="0 0 128 256"><use href="#arrow_after" opacity="1.0" /></svg>
|
||||
</div>
|
||||
|
||||
<div class="ride_date active">{{ ride.strftime("%b-%d") }}</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<p>
|
||||
Please check in with our volunteers at one of three locations between 8:00am and 8:25am, where your child will receive credit for their participation. Choose to continue to school with your child or join in as a group leaving at 8:30am.
|
||||
</p>
|
||||
|
||||
<!-- {% for post in posts %}
|
||||
<div><p>{{ post.author.username }} says: <b>{{ post.body }} </b></p><div></div>
|
||||
{% endfor %} -->
|
||||
</div>
|
||||
<div class="box" id="next_ride_reminder">
|
||||
<img class="icon" src="/static/img/wr_calendar.svg">
|
||||
<p>
|
||||
Dec 5th
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<div class="page">
|
||||
<div class="container">
|
||||
<div class="column">
|
||||
<object class="icon" data="/static/img/wr_logo.svg"></object>
|
||||
<div style="display: flex;">
|
||||
<div class="box left solid">
|
||||
|
||||
<h1><span class="big">{{ x.participants.total }}</span> <br> of you participated</h1>
|
||||
<p>...kids from all grades and ages, walking, biking, scooting, and skating.</p>
|
||||
</div>
|
||||
<div styclass="box right solid">
|
||||
{% for g in [
|
||||
["TK",x.participants.tk],
|
||||
["K",x.participants.k],
|
||||
["1st",x.participants.g1],
|
||||
["2nd",x.participants.g2],
|
||||
["3rd",x.participants.g3],
|
||||
["4th",x.participants.g4],
|
||||
["5th",x.participants.g5]
|
||||
] %}
|
||||
<div style="padding: .35em;" class="widget ride_date active centered">
|
||||
<div class="row centered"> {{ g[0] }}
|
||||
<svg style="width:100%;height: 2em" viewBox="0 0 128 256"><use href="#arrow_before" opacity="1.0" /></svg>
|
||||
<div class="widget-text active centered">{{ g[1] }}</div>
|
||||
<svg style="width:100%;height: 2em;" viewBox="0 0 128 256"><use href="#arrow_after" opacity="1.0" /></svg>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="box solid">
|
||||
<h3>CHECK YOUR TAGS FOR THE RAFFLE WINNING NUMBERS...</h3>
|
||||
<ul>
|
||||
{% for w in x.raffle_winners %}
|
||||
|
||||
<li>{{ w.number }} - {{ w.teacher }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<p>... and claim your gift certificate for special prizes.</p>
|
||||
</div>
|
||||
<div class="box solid">
|
||||
<h3>CONGRATULATIONS TO Señor Reyes' 3rd grade class</h3>
|
||||
<p>All clases did put an incredible showing and {{ x.classroom[0]+"' "+x.classroom[1] }} grade class won the silver Sneaker Award for the class with more participation.</p>
|
||||
<!-- <h1>next_ride = {{ next_ride }}</h1> -->
|
||||
<!-- <h1>all_rides_data = {{ rides_data }}</h1> -->
|
||||
<!-- <h1>next_ride_data = {{ x.participants.g1 }}</h1> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
2026/10/07
|
||||
2026/10/02
|
||||
2026/11/06
|
||||
2026/12/04
|
||||
2027/01/08
|
||||
@@ -6,4 +6,4 @@
|
||||
2027/03/12
|
||||
2027/04/09
|
||||
2027/05/07
|
||||
2027/06/04
|
||||
2027/06/04
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
hot chocolate,cookies
|
||||
total,112
|
||||
tk,0
|
||||
k,21
|
||||
1,29
|
||||
2,11
|
||||
3,15
|
||||
4,15
|
||||
5,15
|
||||
most_part,Nagumo Sensei,???
|
||||
15949-Miyawaki Sensei-???,15626-Oda Sensei-???,15766-Señora Aguila-???
|
||||
@@ -1,11 +0,0 @@
|
||||
hot chocolate,cookies
|
||||
total,510
|
||||
tk,511
|
||||
k,512
|
||||
1,513
|
||||
2,514
|
||||
3,515
|
||||
4,516
|
||||
5,517
|
||||
most_part,Abuelito Sensei,5th
|
||||
99510-Señor Vásquez Martínez-3rd,99511-Vásquez Sensei-TK,99512-Señora Martínez-5th
|
||||
@@ -3,9 +3,9 @@ version: "2"
|
||||
services:
|
||||
emwr_flask:
|
||||
container_name: emwr_flask
|
||||
image: emwr:docker
|
||||
image: emwr:latest
|
||||
restart: always
|
||||
networks:
|
||||
- default
|
||||
ports:
|
||||
- "5005:5000"
|
||||
- "5005:5000/udp"
|
||||
|
||||