close #359
This commit is contained in:
@@ -30,7 +30,7 @@ class EmailForm(forms.Form):
|
||||
botcheck = forms.CharField(max_length=5)
|
||||
message = forms.CharField()
|
||||
|
||||
|
||||
|
||||
|
||||
# Upload the CrewNerd Summary CSV
|
||||
class CNsummaryForm(forms.Form):
|
||||
@@ -105,6 +105,7 @@ from utils import (
|
||||
defaultleft,defaultmiddle
|
||||
)
|
||||
|
||||
|
||||
|
||||
# Form to change Workflow page layout
|
||||
class WorkFlowLeftPanelForm(forms.Form):
|
||||
@@ -533,6 +534,20 @@ ww = list(workouttypes)
|
||||
ww.append(tuple(('all','All')))
|
||||
workouttypes = tuple(ww)
|
||||
|
||||
class DataFrameColumnsForm(forms.Form):
|
||||
cols = ['ftime','cumdist','fpace','spm',
|
||||
'hr','power','driveenergy','drivelength','averageforce',
|
||||
'peakforce','distance','drivespeed','workoutstate',
|
||||
'catch','finish','peakforceangle','wash','slip','rhythm',
|
||||
'effectiveangle','totalangle','distanceperstroke','velo']
|
||||
|
||||
colchoices = [
|
||||
(c, c) for c in cols
|
||||
]
|
||||
|
||||
cols = forms.MultipleChoiceField(choices=colchoices,
|
||||
label='Table Columns')
|
||||
|
||||
# form to select modality and boat type for trend flex
|
||||
class TrendFlexModalForm(forms.Form):
|
||||
modality = forms.ChoiceField(choices=workouttypes,
|
||||
|
||||
Reference in New Issue
Block a user