aboutsummaryrefslogtreecommitdiffstats
path: root/servo/stats
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2016-03-21 19:14:37 +0200
committerFilipp Lepalaan <filipp@mac.com>2016-03-21 19:14:37 +0200
commit1b6e5ee722f76f594e3d95dfa8d77ac2b9f2173a (patch)
tree61dd9498cac2b20501bf96f54a95a89d714d4449 /servo/stats
parentf30d6d73513a5535cae4d97ee2cc85f01660750c (diff)
downloadServo-1b6e5ee722f76f594e3d95dfa8d77ac2b9f2173a.tar.gz
Servo-1b6e5ee722f76f594e3d95dfa8d77ac2b9f2173a.tar.bz2
Servo-1b6e5ee722f76f594e3d95dfa8d77ac2b9f2173a.zip
Adding GSX articles
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
+ )