Private
Public Access
1
0

lazy loads trend flex, boxplot, cum_flex

This commit is contained in:
Sander Roosendaal
2017-11-05 17:22:59 +01:00
parent 5337560bca
commit 1a5d2e35f4
6 changed files with 239 additions and 114 deletions

View File

@@ -57,6 +57,32 @@ defaultleft = [
'panel_staticchart.html',
]
coxes_calls = [
'Sit Ready!',
"Let's relax the shoulders, and give me a power ten to the finish!",
"Almost there. Give me ten strokes on the legs!",
"Let it run!",
]
info_calls = [
"Please give us a minute to count all those strokes, you've been working hard!",
"Please give us a minute to count all your strokes."
]
import random
def get_call():
call1 = random.choice(coxes_calls)
call2 = random.choice(info_calls)
call = """<div id="id_sitready" class="successmessage">
<p>
%s (%s)
</p>
</div>
""" % (call1, call2)
return call
def absolute(request):
urls = {