Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
840bfeae
You need to sign in or sign up before continuing.
Commit
840bfeae
authored
Aug 29, 2010
by
Guy Pyrzak
Committed by
Max Kanat-Alexander
Aug 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 571637: Put the Custom Search (formerly "Boolean Charts") UI behind
a show/hide widget r=mkanat, a=mkanat
parent
153d2be4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
30 deletions
+41
-30
search_form.css
skins/standard/search_form.css
+8
-0
boolean-charts.html.tmpl
template/en/default/search/boolean-charts.html.tmpl
+13
-6
search-advanced.html.tmpl
template/en/default/search/search-advanced.html.tmpl
+3
-5
search-report-graph.html.tmpl
template/en/default/search/search-report-graph.html.tmpl
+7
-8
search-report-table.html.tmpl
template/en/default/search/search-report-table.html.tmpl
+10
-11
No files found.
skins/standard/search_form.css
View file @
840bfeae
...
@@ -176,6 +176,14 @@ div.bz_section_title span {
...
@@ -176,6 +176,14 @@ div.bz_section_title span {
font-weight
:
bold
;
font-weight
:
bold
;
}
}
#queryform
,
#reportform
{
margin-bottom
:
2em
;
}
#knob
{
margin-top
:
2em
;
}
.hide_people_filter
#people_filter_section
,
.hide_people_filter
#people_filter_section
,
.hide_history_filter
#history_filter_section
,
.hide_history_filter
#history_filter_section
,
.hide_detailed_information
#detailed_information_section
.hide_detailed_information
#detailed_information_section
...
...
template/en/default/search/boolean-charts.html.tmpl
View file @
840bfeae
...
@@ -48,13 +48,18 @@
...
@@ -48,13 +48,18 @@
"matches",
"matches",
"notmatches",
"notmatches",
] %]
] %]
<script type="text/javascript">
<h3 id="chart">
TUI_alternates['custom_search_query'] = '►';
Custom Search <span class="section_help">Didn't find what
TUI_hide_default('custom_search_query');
</script>
<div class="bz_section_title" id="custom_search_filter">
<div id="custom_search_query_controller" class="arrow">▼</div>
<a href="javascript:TUI_toggle_class('custom_search_query')" >
Custom Search</a> <span class="section_help">Didn't find what
you're looking for above? This area allows for ANDs, ORs,
you're looking for above? This area allows for ANDs, ORs,
and other more complex searches.</span>
and other more complex searches.</span>
</
h3
>
</
div
>
<div id="custom_search_filter_section" class="bz_search_section custom_search_query" >
[%# Whoever wrote the original version of boolean charts had a seriously twisted mind %]
[%# 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;\"" %]
[% jsmagic = "onclick=\"this.form.action='query.cgi#chart'; this.form.method='POST'; return 1;\"" %]
...
@@ -133,5 +138,6 @@
...
@@ -133,5 +138,6 @@
[% END %]
[% END %]
</table>
</table>
<hr>
[% "<hr>" IF NOT loop.last %]
[% END %]
[% END %]
</div>
\ No newline at end of file
template/en/default/search/search-advanced.html.tmpl
View file @
840bfeae
...
@@ -66,16 +66,14 @@ var queryform = "queryform"
...
@@ -66,16 +66,14 @@ var queryform = "queryform"
// -->
// -->
</script>
</script>
<form method="post" action="buglist.cgi" name="queryform">
<form method="post" action="buglist.cgi" name="queryform"
id="queryform"
>
[% PROCESS search/form.html.tmpl %]
[% PROCESS search/form.html.tmpl %]
[% PROCESS search/knob.html.tmpl %]
<hr>
[% PROCESS "search/boolean-charts.html.tmpl" %]
[% PROCESS "search/boolean-charts.html.tmpl" %]
[% PROCESS search/knob.html.tmpl %]
</form>
</form>
...
...
template/en/default/search/search-report-graph.html.tmpl
View file @
840bfeae
...
@@ -34,7 +34,7 @@ var queryform = "reportform"
...
@@ -34,7 +34,7 @@ var queryform = "reportform"
onload = "doOnSelectProduct(0); chartTypeChanged()"
onload = "doOnSelectProduct(0); chartTypeChanged()"
yui = [ 'autocomplete', 'calendar' ]
yui = [ 'autocomplete', 'calendar' ]
javascript = js_data
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" ]
style_urls = [ "skins/standard/search_form.css" ]
doc_section = "reporting.html#reports"
doc_section = "reporting.html#reports"
%]
%]
...
@@ -65,7 +65,7 @@ var queryform = "reportform"
...
@@ -65,7 +65,7 @@ var queryform = "reportform"
[% button_name = "Generate Report" %]
[% button_name = "Generate Report" %]
<form method="get" action="report.cgi" name="reportform">
<form method="get" action="report.cgi" name="reportform"
id="reportform"
>
<table align="center">
<table align="center">
<tr>
<tr>
...
@@ -130,14 +130,13 @@ var queryform = "reportform"
...
@@ -130,14 +130,13 @@ var queryform = "reportform"
[% PROCESS search/form.html.tmpl %]
[% PROCESS search/form.html.tmpl %]
<br>
<input type="submit" id="[% button_name FILTER css_class_quote %]"
value="[% button_name FILTER html %]">
<input type="hidden" name="action" value="wrap">
<hr>
[% PROCESS "search/boolean-charts.html.tmpl" %]
[% PROCESS "search/boolean-charts.html.tmpl" %]
<div id="knob">
<input type="submit" id="[% button_name FILTER css_class_quote %]"
value="[% button_name FILTER html %]">
<input type="hidden" name="action" value="wrap">
</div>
</form>
</form>
[% PROCESS global/footer.html.tmpl %]
[% PROCESS global/footer.html.tmpl %]
template/en/default/search/search-report-table.html.tmpl
View file @
840bfeae
...
@@ -34,7 +34,7 @@ var queryform = "reportform"
...
@@ -34,7 +34,7 @@ var queryform = "reportform"
onload = "doOnSelectProduct(0)"
onload = "doOnSelectProduct(0)"
yui = [ 'autocomplete', 'calendar' ]
yui = [ 'autocomplete', 'calendar' ]
javascript = js_data
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" ]
style_urls = [ "skins/standard/search_form.css" ]
doc_section = "reporting.html#reports"
doc_section = "reporting.html#reports"
%]
%]
...
@@ -48,7 +48,7 @@ var queryform = "reportform"
...
@@ -48,7 +48,7 @@ var queryform = "reportform"
[% button_name = "Generate Report" %]
[% button_name = "Generate Report" %]
<form method="get" action="report.cgi" name="reportform">
<form method="get" action="report.cgi" name="reportform"
id="reportform"
>
<table align="center">
<table align="center">
<tr>
<tr>
...
@@ -80,17 +80,16 @@ var queryform = "reportform"
...
@@ -80,17 +80,16 @@ var queryform = "reportform"
<hr>
<hr>
[% PROCESS search/form.html.tmpl %]
[% PROCESS search/form.html.tmpl %]
<br>
[% PROCESS "search/boolean-charts.html.tmpl" %]
<input type="submit" id="[% button_name FILTER css_class_quote %]"
value="[% button_name FILTER html %]">
<input type="hidden" name="format" value="table">
<input type="hidden" name="action" value="wrap">
<hr>
[% PROCESS "search/boolean-charts.html.tmpl" %]
<div id="knob">
<input type="submit" id="[% button_name FILTER css_class_quote %]"
value="[% button_name FILTER html %]">
<input type="hidden" name="format" value="table">
<input type="hidden" name="action" value="wrap">
</div>
</form>
</form>
[% PROCESS global/footer.html.tmpl %]
[% PROCESS global/footer.html.tmpl %]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment