From ee0b11f2ce68fc103b990a4a40fcd871db31562a Mon Sep 17 00:00:00 2001 From: David Beguin Date: Tue, 9 Apr 2019 15:07:12 +0000 Subject: [REF] survey : make survey result a widget This commit cake the survey result analysis js constroller become a widget. This also simplify style rules using CSS (was handled in JS). This also modifies the handling of filters to use real and correctly formated GET parameters. Redirect url with parameters are now handled automatically using URLSearchParams() instead of building manually the query string. Task ID : 1930132 PR #32419 --- addons/survey/static/src/css/survey_result.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'addons/survey/static/src/css') diff --git a/addons/survey/static/src/css/survey_result.css b/addons/survey/static/src/css/survey_result.css index 967ea1bd74e..dda0022abe6 100644 --- a/addons/survey/static/src/css/survey_result.css +++ b/addons/survey/static/src/css/survey_result.css @@ -20,6 +20,10 @@ cursor: pointer; } +.o_active_filter { + cursor:default; +} + .nvtooltip h5 { margin: 0; line-height: 18px; @@ -32,14 +36,13 @@ border-radius: 5px 5px 0 0; } - .survey_answer i { padding:3px; cursor:pointer; + visibility:hidden; } - -.survey_answer i.invisible { - visibility: hidden!important; +.survey_answer:hover i { + visibility: visible; } @media print { -- cgit v1.2.3