From c53f811e83b6cf7124e2d5f26554276436f3b7cd Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 1 Feb 2017 15:58:19 +0100 Subject: [statistics_reporting] Show hand-cursor for sortable columns --- modules-available/statistics_reporting/style.css | 6 +- .../statistics_reporting/templates/_page.html | 238 ++++++++++----------- .../templates/columnChooser.html | 3 +- 3 files changed, 112 insertions(+), 135 deletions(-) (limited to 'modules-available') diff --git a/modules-available/statistics_reporting/style.css b/modules-available/statistics_reporting/style.css index 4f314b14..81dc74b0 100644 --- a/modules-available/statistics_reporting/style.css +++ b/modules-available/statistics_reporting/style.css @@ -37,6 +37,6 @@ line-height: 1.6em; } -#applybound { - display: none; -} \ No newline at end of file +th[data-sort] { + cursor: pointer; +} diff --git a/modules-available/statistics_reporting/templates/_page.html b/modules-available/statistics_reporting/templates/_page.html index 39726d51..1f4ac52c 100644 --- a/modules-available/statistics_reporting/templates/_page.html +++ b/modules-available/statistics_reporting/templates/_page.html @@ -1,133 +1,111 @@ -
-
-
- - - - - - - - - - - - - - - - - - - - - -
{{lang_totalTime}}{{lang_medianSessionLength}}{{lang_longSessions}}{{lang_shortSessions}}{{lang_overallOfftime}}
{{lang_total}}{{time_s}}{{medianTime_s}}{{sessions}}{{shortSessions}}{{totalOfftime_s}}
-
-
-
-
- - - - - - - - - - - - - {{#perLocation}} - - - - - - - - - {{/perLocation}} - -
{{lang_location}}{{lang_totalTime}}{{lang_medianSessionLength}}{{lang_longSessions}}{{lang_shortSessions}}{{lang_totalOffTime}}
{{location}}{{time_s}}{{medianTime_s}}{{sessions}}{{shortSessions}}{{offTime_s}}
-
-
-
-
- - - - - - - - - - - - - - - - {{#perClient}} - - - - - - - - - - - - {{/perClient}} - -
{{lang_hostname}}{{lang_location}}{{lang_totalTime}}{{lang_medianSessionLength}}{{lang_longSessions}}{{lang_shortSessions}}{{lang_totalOffTime}}{{lang_clientLogout}}{{lang_clientStart}}
{{hostname}}{{location}}{{time_s}}{{medianTime_s}}{{sessions}}{{shortSessions}}{{offTime_s}}{{lastLogout_s}}{{lastStart_s}}
-
-
-
-
- - - - - - - - - {{#perUser}} - - - - - {{/perUser}} - -
{{lang_user}}{{lang_sessions}}
{{user}}{{sessions}}
-
-
-
-
- - - - - - - - - {{#perVM}} - - - - - {{/perVM}} - -
{{lang_vm}}{{lang_sessions}}
{{vm}}{{sessions}}
-
-
-
+ + + + + + + + + + + + + + + + + + + + + +
{{lang_totalTime}}{{lang_medianSessionLength}}{{lang_longSessions}}{{lang_shortSessions}}{{lang_overallOfftime}}
{{lang_total}}{{time_s}}{{medianTime_s}}{{sessions}}{{shortSessions}}{{totalOfftime_s}}
+ + + + + + + + + + + + + {{#perLocation}} + + + + + + + + + {{/perLocation}} + +
{{lang_location}}{{lang_totalTime}}{{lang_medianSessionLength}}{{lang_longSessions}}{{lang_shortSessions}}{{lang_totalOffTime}}
{{location}}{{time_s}}{{medianTime_s}}{{sessions}}{{shortSessions}}{{offTime_s}}
+ + + + + + + + + + + + + + + + {{#perClient}} + + + + + + + + + + + + {{/perClient}} + +
{{lang_hostname}}{{lang_location}}{{lang_totalTime}}{{lang_medianSessionLength}}{{lang_longSessions}}{{lang_shortSessions}}{{lang_totalOffTime}}{{lang_clientLogout}}{{lang_clientStart}}
{{hostname}}{{location}}{{time_s}}{{medianTime_s}}{{sessions}}{{shortSessions}}{{offTime_s}}{{lastLogout_s}}{{lastStart_s}}
+ + + + + + + + + {{#perUser}} + + + + + {{/perUser}} + +
{{lang_user}}{{lang_sessions}}
{{user}}{{sessions}}
+ + + + + + + + + {{#perVM}} + + + + + {{/perVM}} + +
{{lang_vm}}{{lang_sessions}}
{{vm}}{{sessions}}
diff --git a/modules-available/statistics_reporting/templates/columnChooser.html b/modules-available/statistics_reporting/templates/columnChooser.html index 86903583..c51250bd 100644 --- a/modules-available/statistics_reporting/templates/columnChooser.html +++ b/modules-available/statistics_reporting/templates/columnChooser.html @@ -21,7 +21,7 @@
- +
@@ -38,7 +38,6 @@
-