From: erickson Date: Fri, 22 Sep 2006 21:53:30 +0000 (+0000) Subject: added the beginnings of filter support X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d401a610329f9045b94f79ad936791ca9af3a103;p=evergreen%2Fpines.git added the beginnings of filter support git-svn-id: svn://svn.open-ils.org/ILS/trunk@6200 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/reports/oils_rpt.css b/Open-ILS/web/reports/oils_rpt.css index 0c332da010..12fa6c551e 100644 --- a/Open-ILS/web/reports/oils_rpt.css +++ b/Open-ILS/web/reports/oils_rpt.css @@ -43,7 +43,7 @@ table { border-collapse: collapse; } } .oils_rpt_info_item { - width: 270px; + width: 290px; } .oils_rpt_info_title { @@ -54,17 +54,16 @@ table { border-collapse: collapse; } .oils_rpt_info_selector { border: 1px solid blue; - /*background: #E0F0E0;*/ background: #E0F0F0; - min-height: 130px; - max-height: 240px; + min-height: 150px; + max-height: 290px; overflow: scroll; font-size: 8pt; } .oils_rpt_info_div { text-align: center; - width: 280px; + width: 300px; padding-left: 10px; padding: 10px; border-left: 2px solid #E0E0E0; @@ -123,7 +122,7 @@ button { border-top: 2px solid #E0E0E0; } -.oils_rpt_tform_window { +.oils_rpt_field_editor_window { margin: 5px; text-align: left; padding: 5px; @@ -139,7 +138,7 @@ button { background: red; } -#oils_rpt_tform_tbody td { +.oils_rpt_editor_window_tbody td { border-bottom: 1px solid #A0A0A0; padding: 4px; } diff --git a/Open-ILS/web/reports/oils_rpt_builder.js b/Open-ILS/web/reports/oils_rpt_builder.js index cc5f8c789a..8e34acfd9e 100644 --- a/Open-ILS/web/reports/oils_rpt_builder.js +++ b/Open-ILS/web/reports/oils_rpt_builder.js @@ -284,6 +284,8 @@ function oilsRptDrawDataWindow(path) { var cls = oilsRptPathClass(path); var field = grep(oilsIDL[cls].fields, function(f){return (f.name==col);})[0]; + appendClear(DOM.oils_rpt_editor_window_label, text(oilsRptMakeLabel(path))); + _debug("setting update data window for column "+col+' on class '+cls); var div = DOM.oils_rpt_column_editor; @@ -318,7 +320,6 @@ function oilsRptDrawDataWindow(path) { /* draws the transform window */ function oilsRptDrawTransformWindow(path, col, cls, field) { - appendClear(DOM.oils_rpt_tform_label, text(oilsRptMakeLabel(path))); DOM.oils_rpt_tform_label_input.value = oilsRptMakeLabel(path); var dtype = field.datatype; diff --git a/Open-ILS/web/reports/oils_rpt_builder.xhtml b/Open-ILS/web/reports/oils_rpt_builder.xhtml index 8e41c59d66..cb1f307685 100644 --- a/Open-ILS/web/reports/oils_rpt_builder.xhtml +++ b/Open-ILS/web/reports/oils_rpt_builder.xhtml @@ -95,16 +95,20 @@
- - - - -
Display Items and TransformsFiltersAggregate Filters
+ + + + + + +
Display ItemsFiltersAggregate Filters
+
+ +
- -
+
Select how this field should be displayed:
@@ -113,11 +117,15 @@
- +
+
Select what filter should be applied to this field:
+ +
+
- +
diff --git a/Open-ILS/web/reports/oils_rpt_tform_table.xhtml b/Open-ILS/web/reports/oils_rpt_tform_table.xhtml index 46ec8803a9..b81f0128c6 100644 --- a/Open-ILS/web/reports/oils_rpt_tform_table.xhtml +++ b/Open-ILS/web/reports/oils_rpt_tform_table.xhtml @@ -1,5 +1,5 @@ - +