From 94eacd71462b5f39bebd5be7392c0a56ba20e48a Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 8 May 2009 23:39:43 +0000 Subject: [PATCH] on the hunt for grids that don't need an explicit height. think i've found a way, started moving some files in that direction. hiding the left bar for now since it's just taking up space. some other general cleanup git-svn-id: svn://svn.open-ils.org/ILS/trunk@13112 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/css/skin/default.css | 23 ++++-- Open-ILS/web/css/skin/default/acq.css | 2 +- Open-ILS/web/css/skin/default/vandelay.css | 7 +- Open-ILS/web/templates/base.tt2 | 2 +- .../acq/financial/list_currency_types.tt2 | 6 +- .../acq/financial/list_funding_sources.tt2 | 46 +++++------ .../default/acq/financial/list_funds.tt2 | 53 +++++++------ .../templates/default/acq/picklist/list.tt2 | 77 ++++++++----------- Open-ILS/web/templates/default/base.tt2 | 4 +- .../templates/default/vandelay/inc/attrs.tt2 | 4 +- .../templates/default/vandelay/inc/queue.tt2 | 6 +- 11 files changed, 112 insertions(+), 118 deletions(-) diff --git a/Open-ILS/web/css/skin/default.css b/Open-ILS/web/css/skin/default.css index fb9406ec0c..7c57bca13b 100644 --- a/Open-ILS/web/css/skin/default.css +++ b/Open-ILS/web/css/skin/default.css @@ -4,7 +4,7 @@ /* import the dojo CSS */ @import "/js/dojo/dojo/resources/dojo.css"; @import "/js/dojo/dijit/themes/tundra/tundra.css"; -@import "/js/dojo/dojox/grid/_grid/Grid.css"; +@import "/js/dojo/dojox/grid/resources/Grid.css"; @import "/js/dojo/dojox/grid/resources/tundraGrid.css"; @@ -14,9 +14,15 @@ html, body, #oils-base-body-block { border:0; margin:0; padding:0; + background:white; } +body { width: 99%; } +#oils-base-body-block { height: 98%; } table { border-collapse: collapse; } +.tall { height:98%; } +.wide { width:98%; } + /* use this for divs whose contents should be entirely contained within the div */ .container:after {content: ""; display: block; height: 0; clear: both; } @@ -27,16 +33,19 @@ table { border-collapse: collapse; } /* main layout blocks */ #oils-base-main-block { width: 100%; margin-top: 0px; padding-top: 0px;} -#oils-base-navigate-block { width: 12%; vertical-align: top; float:left;} -#oils-base-content-block { width: 87%; vertical-align: top; float:right; padding-top: 0px;} -#oils-base-sidebar-block { width: 12%; vertical-align: top; float:left;} +/* +#oils-base-navigate-block { width: 0%; vertical-align: top; float:left;} +#oils-base-sidebar-block { width: 0%; vertical-align: top; float:left;} +*/ +#oils-base-content-block { width: 100%; vertical-align: top; padding: 0px 5px 0px 5px;} -#oils-base-header-auto-login { padding-right: 20px; } +/*#oils-base-header-auto-login { padding-right: 20px; }*/ #oils-base-header-block { width: 100%; text-align: right; margin-top: 0px; padding-bottom: 0px;} #oils-base-header-menu-block { float:left; text-align: left; width: 50%; } #oils-base-header-auto-login-block { float:right; text-align: right; width: 47%;} -#oils-base-footer-block { width: 100%; text-align: center; vertical-align: bottom;} +/*#oils-base-footer-block { width: 100%; text-align: center; vertical-align: bottom;}*/ +#oils-base-footer-block { position:fixed; bottom:0px; left:0px; right:0px; border-top:1px solid #aaa; text-align:center;} #oils-base-navigate-list { width: 100%; } .oils-base-navigate-sub-list { padding-left: 4px; } @@ -70,7 +79,7 @@ table { border-collapse: collapse; } .oils-fm-edit-pane td { padding: 5px; } .oils-fm-edit-dialog td { border:1px solid #999;} .oils-header-panel { - width:100%; + width:98%; margin-top:20px; } .oils-header-panel div:first-child { diff --git a/Open-ILS/web/css/skin/default/acq.css b/Open-ILS/web/css/skin/default/acq.css index a3a687767b..08c7bfe973 100644 --- a/Open-ILS/web/css/skin/default/acq.css +++ b/Open-ILS/web/css/skin/default/acq.css @@ -6,7 +6,7 @@ .oils-sub-navigate-block span { padding: 3px; } */ -.oils-acq-detail-content-pane {height:600px;width:100%} +/*.oils-acq-detail-content-pane {height:600px;width:100%}*/ .oils-acq-basic-form-div {padding:4px; width:95%;} /* bib search */ diff --git a/Open-ILS/web/css/skin/default/vandelay.css b/Open-ILS/web/css/skin/default/vandelay.css index 40cae55870..6733466d71 100644 --- a/Open-ILS/web/css/skin/default/vandelay.css +++ b/Open-ILS/web/css/skin/default/vandelay.css @@ -3,10 +3,8 @@ @import "/js/dojo/dojox/grid/_grid/Grid.css"; @import "/js/dojo/dojox/grid/resources/tundraGrid.css"; -.container:after {content: ""; display: block; height: 0; clear: both; } -html,body { width:100%; height:100%; border:0; margin:0; padding:0; background-color:white; } -table { border-collapse: collapse; } table.dijitTooltipTable { border-collapse: separate; } + .content { padding: 5px; } .form_table td { padding: 6px; } .small_form_table td { padding: 1px; } @@ -22,9 +20,6 @@ table.dijitTooltipTable { border-collapse: separate; } color: red; font-weight:bold; } -.tall { height:600px; } -.wide { width:100%; } -.hidden { display: none; } #toolbar { margin-top: 0px; } .progress {margin: 20px;} .overlay_selected { diff --git a/Open-ILS/web/templates/base.tt2 b/Open-ILS/web/templates/base.tt2 index 77c4811cdc..f5fe7774dd 100644 --- a/Open-ILS/web/templates/base.tt2 +++ b/Open-ILS/web/templates/base.tt2 @@ -10,7 +10,7 @@ + djConfig="parseOnLoad: true, isDebug:false"> -
+
Currency Type
-
+
+
[% END %] diff --git a/Open-ILS/web/templates/default/acq/financial/list_funding_sources.tt2 b/Open-ILS/web/templates/default/acq/financial/list_funding_sources.tt2 index d96ecc3c9c..172ef193c3 100644 --- a/Open-ILS/web/templates/default/acq/financial/list_funding_sources.tt2 +++ b/Open-ILS/web/templates/default/acq/financial/list_funding_sources.tt2 @@ -13,31 +13,31 @@ } -
-
-
Funding Sources
-
- - -
-
+
- - - - - -
- - -
+
+
Funding Sources
+
+ + +
+ + + + + + +
+ + +
diff --git a/Open-ILS/web/templates/default/acq/financial/list_funds.tt2 b/Open-ILS/web/templates/default/acq/financial/list_funds.tt2 index 2b3c9c2c94..1815aa28a2 100644 --- a/Open-ILS/web/templates/default/acq/financial/list_funds.tt2 +++ b/Open-ILS/web/templates/default/acq/financial/list_funds.tt2 @@ -20,10 +20,7 @@ } ); } - - - -
-
-
Funds
-
- - -
-
- - - - - - - -
-
+
+
Funds
+
+ +
+
+ Year +
+ +
+ + + + +
+
+
+ [% END %] diff --git a/Open-ILS/web/templates/default/acq/picklist/list.tt2 b/Open-ILS/web/templates/default/acq/picklist/list.tt2 index 1d78691282..026392c559 100644 --- a/Open-ILS/web/templates/default/acq/picklist/list.tt2 +++ b/Open-ILS/web/templates/default/acq/picklist/list.tt2 @@ -1,25 +1,7 @@ [% WRAPPER 'default/base.tt2' %] -
-
-
My Selection Lists
-
-
-
All Selection Lists
-
-
- +[% ctx.page_title = 'Selection Lists' %] - -
+
+
+
+
My Selection Lists
+
+
+
+ +
New Selection List @@ -84,35 +74,32 @@
-
-
-
- - - - - - -
- - Entry Count
+
+ + + + + + +
+ + Entry Count
+ -
+
[% content %]
- diff --git a/Open-ILS/web/templates/default/vandelay/inc/attrs.tt2 b/Open-ILS/web/templates/default/vandelay/inc/attrs.tt2 index 03a49f93f3..b1ba8c9661 100644 --- a/Open-ILS/web/templates/default/vandelay/inc/attrs.tt2 +++ b/Open-ILS/web/templates/default/vandelay/inc/attrs.tt2 @@ -81,8 +81,8 @@
-
- +
+
diff --git a/Open-ILS/web/templates/default/vandelay/inc/queue.tt2 b/Open-ILS/web/templates/default/vandelay/inc/queue.tt2 index 49568fb6e0..4c35d5af85 100644 --- a/Open-ILS/web/templates/default/vandelay/inc/queue.tt2 +++ b/Open-ILS/web/templates/default/vandelay/inc/queue.tt2 @@ -110,11 +110,11 @@ -
&vandelay.id;
@@ -123,7 +123,7 @@
-
+
-- 2.43.2