split workout (bugs)
This commit is contained in:
@@ -110,6 +110,21 @@ class TeamUploadOptionsForm(forms.Form):
|
||||
class Meta:
|
||||
fields = ['make_plot','plottype']
|
||||
|
||||
# This form is used on the Workout Split page
|
||||
class WorkoutSplitForm(forms.Form):
|
||||
splitchoices = (
|
||||
('keep original','Keep Original'),
|
||||
('keep first','Keep First Part'),
|
||||
('keep second','Keep Second Part'),
|
||||
)
|
||||
splittime = forms.TimeField(input_formats=['%H:%M:%S.%f','%H:%M:%S','%M:%S.%f'])
|
||||
splitmode = forms.MultipleChoiceField(
|
||||
initial=['keep original',
|
||||
'keep first',
|
||||
'keep second'],
|
||||
label='Split Mode',
|
||||
choices=splitchoices)
|
||||
|
||||
# This form is used on the Analysis page to add a custom distance/time
|
||||
# trial and predict the pace
|
||||
class PredictedPieceForm(forms.Form):
|
||||
|
||||
Reference in New Issue
Block a user