From: Guy Pyrzak Date: Sun, 29 Aug 2010 21:20:19 +0000 (-0700) Subject: Bug 571637: Put the Custom Search (formerly "Boolean Charts") UI behind X-Git-Tag: bugzilla-4.0rc1~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01eff163f09ba768c5976e1426007eaadd8a9d31;p=thirdparty%2Fbugzilla.git Bug 571637: Put the Custom Search (formerly "Boolean Charts") UI behind a show/hide widget r=mkanat, a=mkanat --- diff --git a/skins/standard/search_form.css b/skins/standard/search_form.css index 541a8ea73b..7258b880b3 100644 --- a/skins/standard/search_form.css +++ b/skins/standard/search_form.css @@ -176,6 +176,14 @@ div.bz_section_title span { font-weight: bold; } +#queryform, #reportform { + margin-bottom: 2em; +} + +#knob { + margin-top: 2em; +} + .hide_people_filter #people_filter_section, .hide_history_filter #history_filter_section, .hide_detailed_information #detailed_information_section diff --git a/template/en/default/search/boolean-charts.html.tmpl b/template/en/default/search/boolean-charts.html.tmpl index 8fc7457bc4..6a94b3f1a5 100644 --- a/template/en/default/search/boolean-charts.html.tmpl +++ b/template/en/default/search/boolean-charts.html.tmpl @@ -48,13 +48,18 @@ "matches", "notmatches", ] %] - -

- Custom Search Didn't find what + +
+
+ + Custom Search Didn't find what you're looking for above? This area allows for ANDs, ORs, and other more complex searches. -

- + +
[%# Whoever wrote the original version of boolean charts had a seriously twisted mind %] [% jsmagic = "onclick=\"this.form.action='query.cgi#chart'; this.form.method='POST'; return 1;\"" %] @@ -133,5 +138,6 @@ [% END %] -
+ [% "
" IF NOT loop.last %] [% END %] +
\ No newline at end of file diff --git a/template/en/default/search/search-advanced.html.tmpl b/template/en/default/search/search-advanced.html.tmpl index fa9819c35c..0afa1437f7 100644 --- a/template/en/default/search/search-advanced.html.tmpl +++ b/template/en/default/search/search-advanced.html.tmpl @@ -66,16 +66,14 @@ var queryform = "queryform" // --> -
+ [% PROCESS search/form.html.tmpl %] -[% PROCESS search/knob.html.tmpl %] - -
- [% PROCESS "search/boolean-charts.html.tmpl" %] +[% PROCESS search/knob.html.tmpl %] +
diff --git a/template/en/default/search/search-report-graph.html.tmpl b/template/en/default/search/search-report-graph.html.tmpl index c41c0da1b7..3c894cf735 100644 --- a/template/en/default/search/search-report-graph.html.tmpl +++ b/template/en/default/search/search-report-graph.html.tmpl @@ -34,7 +34,7 @@ var queryform = "reportform" onload = "doOnSelectProduct(0); chartTypeChanged()" yui = [ 'autocomplete', 'calendar' ] javascript = js_data - javascript_urls = [ "js/productform.js", "js/TUI.js", "js/field.js" ] + javascript_urls = [ "js/util.js", "js/productform.js", "js/TUI.js", "js/field.js" ] style_urls = [ "skins/standard/search_form.css" ] doc_section = "reporting.html#reports" %] @@ -65,7 +65,7 @@ var queryform = "reportform" [% button_name = "Generate Report" %] -
+ @@ -130,14 +130,13 @@ var queryform = "reportform" [% PROCESS search/form.html.tmpl %] -
- - -
- [% PROCESS "search/boolean-charts.html.tmpl" %] +
+ + +
[% PROCESS global/footer.html.tmpl %] diff --git a/template/en/default/search/search-report-table.html.tmpl b/template/en/default/search/search-report-table.html.tmpl index 8c92adccb2..7e087e7fe8 100644 --- a/template/en/default/search/search-report-table.html.tmpl +++ b/template/en/default/search/search-report-table.html.tmpl @@ -34,7 +34,7 @@ var queryform = "reportform" onload = "doOnSelectProduct(0)" yui = [ 'autocomplete', 'calendar' ] javascript = js_data - javascript_urls = [ "js/productform.js", "js/TUI.js", "js/field.js" ] + javascript_urls = [ "js/util.js", "js/productform.js", "js/TUI.js", "js/field.js" ] style_urls = [ "skins/standard/search_form.css" ] doc_section = "reporting.html#reports" %] @@ -48,7 +48,7 @@ var queryform = "reportform" [% button_name = "Generate Report" %] - +
@@ -80,17 +80,16 @@ var queryform = "reportform"
-[% PROCESS search/form.html.tmpl %] + [% PROCESS search/form.html.tmpl %] -
- - - -
- -[% PROCESS "search/boolean-charts.html.tmpl" %] + [% PROCESS "search/boolean-charts.html.tmpl" %] +
+ + + +
[% PROCESS global/footer.html.tmpl %]