export improvements
This commit is contained in:
@@ -828,6 +828,15 @@ class DateRangeWorkoutTypeForm(DateRangeForm):
|
||||
typeselectchoices.append((wtype, verbose))
|
||||
|
||||
workouttype = forms.ChoiceField(initial='All', choices=typeselectchoices)
|
||||
|
||||
# add a radio button to select how in-stroke data be treated
|
||||
instrokedatachoices = (
|
||||
('off', 'Do not export in-stroke data'),
|
||||
('summary', 'Export summary per stroke'),
|
||||
('downsampled', 'Export downsampled time series (16 points per stroke)'),
|
||||
('companion', 'Export as companion .instroke.json file with full curve data per stroke'))
|
||||
|
||||
instrokedata = forms.ChoiceField(initial='off', choices=instrokedatachoices, label='In-stroke data export')
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user