Private
Public Access
1
0

implemented default set of flex favs on user registration

This commit is contained in:
Sander Roosendaal
2017-10-12 10:02:50 +02:00
parent 20aacfd726
commit a226a957c8
5 changed files with 81 additions and 7 deletions

View File

@@ -219,7 +219,7 @@ rowingmetrics = (
'ax_max': 15,
'default': 0,
'mode':'both',
'type': 'pro'}),
'type': 'basic'}),
)
@@ -236,3 +236,60 @@ axlabels = {ax[0]:ax[1] for ax in axes}
yaxminima = {ax[0]:ax[2] for ax in axes}
yaxmaxima = {ax[0]:ax[3] for ax in axes}
defaultfavoritecharts = (
{
'yparam1':'pace',
'yparam2':'spm',
'xparam':'time',
'plottype':'line',
'workouttype':'both',
'reststrokes':True,
'notes':'Some Notes 1',
},
{
'yparam1':'pace',
'yparam2':'hr',
'xparam':'time',
'plottype':'line',
'workouttype':'both',
'reststrokes':True,
'notes':'Some Notes 2',
},
{
'yparam1':'distanceperstroke',
'yparam2':'hr',
'xparam':'time',
'plottype':'line',
'workouttype':'otw',
'reststrokes':True,
'notes':'Some Notes 3',
},
{
'yparam1':'strokeenergy',
'yparam2':'hr',
'xparam':'time',
'plottype':'line',
'workouttype':'ote',
'reststrokes':True,
'notes':'Some Notes 3',
},
{
'yparam1':'distanceperstroke',
'yparam2':'None',
'xparam':'spm',
'plottype':'line',
'workouttype':'otw',
'reststrokes':True,
'notes':'Some Notes 4',
},
{
'yparam1':'strokeenergy',
'yparam2':'None',
'xparam':'spm',
'plottype':'line',
'workouttype':'ote',
'reststrokes':True,
'notes':'Some Notes 4',
},
)