From 5e7a6622717bc578805adcddcf1b4772c2fb2a89 Mon Sep 17 00:00:00 2001 From: Udo Walter Date: Tue, 6 Dec 2016 16:23:25 +0100 Subject: [statistics_reporting] added time cutoff ui --- .../lang/de/template-tags.json | 8 +++- .../lang/en/template-tags.json | 8 +++- modules-available/statistics_reporting/style.css | 11 ++++- .../templates/columnChooser.html | 48 ++++++++++++++++++---- 4 files changed, 64 insertions(+), 11 deletions(-) (limited to 'modules-available/statistics_reporting') diff --git a/modules-available/statistics_reporting/lang/de/template-tags.json b/modules-available/statistics_reporting/lang/de/template-tags.json index db3e9f11..521b0607 100644 --- a/modules-available/statistics_reporting/lang/de/template-tags.json +++ b/modules-available/statistics_reporting/lang/de/template-tags.json @@ -18,5 +18,11 @@ "lang_hostname": "Client Name", "lang_location": "Raum", "lang_avgSessionLength": "Durchschnittliche Sitzungsdauer", - "lang_totalTime": "Gesamte Zeit" + "lang_totalTime": "Gesamte Zeit", + "lang_last1": "Letzten 24 Stunden", + "lang_last2": "Letzten 48 Stunden", + "lang_last7": "Letzten 7 Tage", + "lang_last14": "Letzten 14 Tage", + "lang_last30": "Letzten 30 Tage", + "lang_last90": "Letzten 90 Tage" } \ No newline at end of file diff --git a/modules-available/statistics_reporting/lang/en/template-tags.json b/modules-available/statistics_reporting/lang/en/template-tags.json index 7a7ff13a..c3900e31 100644 --- a/modules-available/statistics_reporting/lang/en/template-tags.json +++ b/modules-available/statistics_reporting/lang/en/template-tags.json @@ -18,5 +18,11 @@ "lang_hostname": "Client Name", "lang_location": "Location", "lang_avgSessionLength": "Average Session Length", - "lang_totalTime": "Total Time" + "lang_totalTime": "Gesamte Zeit", + "lang_last1": "Last 24 hours", + "lang_last2": "Last 48 hours", + "lang_last7": "Last 7 days", + "lang_last14": "Last 14 days", + "lang_last30": "Last 30 days", + "lang_last90": "Last 90 days" } \ No newline at end of file diff --git a/modules-available/statistics_reporting/style.css b/modules-available/statistics_reporting/style.css index 6cb6de51..b0875a7d 100644 --- a/modules-available/statistics_reporting/style.css +++ b/modules-available/statistics_reporting/style.css @@ -1,7 +1,16 @@ .top-row { - margin-bottom: 20px; + margin-bottom: 10px; +} + +.top-row select, .top-row .btn-group { + margin-right: 10px; + margin-bottom: 10px; } .buttonbar button { margin-bottom: 4px; +} + +.buttonbar { + margin-bottom: 20px; } \ No newline at end of file diff --git a/modules-available/statistics_reporting/templates/columnChooser.html b/modules-available/statistics_reporting/templates/columnChooser.html index ccc82a50..9e6f51d2 100644 --- a/modules-available/statistics_reporting/templates/columnChooser.html +++ b/modules-available/statistics_reporting/templates/columnChooser.html @@ -1,15 +1,23 @@
-
-
+
+
+
-
+
@@ -20,12 +28,9 @@
- \ No newline at end of file -- cgit v1.2.3-55-g7522