activity chart on history page can be switched to rscore or trimp
This commit is contained in:
@@ -161,6 +161,14 @@ class HistorySelectForm(forms.Form):
|
||||
|
||||
workouttype = forms.ChoiceField(initial='All',choices=typeselectchoices)
|
||||
|
||||
metricchoices = (
|
||||
("time","duration"),
|
||||
("TRIMP","trimp"),
|
||||
("rScore","rscore")
|
||||
)
|
||||
|
||||
yaxis = forms.ChoiceField(initial='time',choices=metricchoices,label="Measure by")
|
||||
|
||||
class Meta:
|
||||
fields = ['startdate','enddate']
|
||||
input_formats=("%Y-%m-%d")
|
||||
|
||||
Reference in New Issue
Block a user