aboutsummaryrefslogtreecommitdiffstats
path: root/servo/stats
diff options
context:
space:
mode:
Diffstat (limited to 'servo/stats')
-rw-r--r--servo/stats/forms.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/servo/stats/forms.py b/servo/stats/forms.py
index e0a3426..ab1b7fc 100644
--- a/servo/stats/forms.py
+++ b/servo/stats/forms.py
@@ -96,3 +96,14 @@ class NewStatsForm(forms.Form):
widget=DatepickerInput(attrs={'class': "input-small"}),
initial=default_end_date
)
+
+
+class DeviceStatsForm(forms.Form):
+ start_date = forms.DateField(
+ widget=DatepickerInput(attrs={'class': "input-small"}),
+ initial=default_start_date
+ )
+ end_date = forms.DateField(
+ widget=DatepickerInput(attrs={'class': "input-small"}),
+ initial=default_end_date
+ )