[open-ils-commits] r12079 - in trunk/Open-ILS/web: css/skin templates/default/conify/global/acq

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Feb 5 11:04:38 EST 2009


Author: erickson
Date: 2009-02-05 11:04:36 -0500 (Thu, 05 Feb 2009)
New Revision: 12079

Modified:
   trunk/Open-ILS/web/css/skin/default.css
   trunk/Open-ILS/web/templates/default/conify/global/acq/exchange_rate.tt2
Log:
start of single label + action bar to sit above the grid

Modified: trunk/Open-ILS/web/css/skin/default.css
===================================================================
--- trunk/Open-ILS/web/css/skin/default.css	2009-02-05 16:03:25 UTC (rev 12078)
+++ trunk/Open-ILS/web/css/skin/default.css	2009-02-05 16:04:36 UTC (rev 12079)
@@ -63,4 +63,28 @@
 
 
 .oils-fm-edit-dialog { margin: 5px; }
-.oils-fm-edit-dialog td { padding: 5px; }
+.oils-fm-edit-dialog td { padding: 5px; border:1px solid #999;}
+.oils-header-panel {
+    width:99%;
+    margin-top:20px;
+}
+.oils-header-panel div:first-child {
+    width:48%;
+    text-align:left;
+    float:left;
+    font-size:130%;
+    font-weight: bold;
+    vertical-align:bottom;
+    position:relative;
+    bottom:0px;
+    left:5px;
+}
+.oils-header-panel div:last-child {
+    width:48%;
+    text-align:right;
+    float:right;
+    vertical-align:bottom;
+    position:relative;
+    bottom:0px;
+    right:5px;
+}

Modified: trunk/Open-ILS/web/templates/default/conify/global/acq/exchange_rate.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/acq/exchange_rate.tt2	2009-02-05 16:03:25 UTC (rev 12078)
+++ trunk/Open-ILS/web/templates/default/conify/global/acq/exchange_rate.tt2	2009-02-05 16:04:36 UTC (rev 12079)
@@ -2,7 +2,6 @@
 <!--
 <script src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/billing_type.js'> </script>
 -->
-<h1>Exchange Rates</h1><br/>
 
 <script>
     dojo.require('openils.widget.AutoGrid');
@@ -16,15 +15,47 @@
                 onresponse : function(r) {
                     var item = openils.Util.readResponse(r);
                     erGrid.store.newItem(item.toStoreItem());
-                    erGrid.update();
                }     
             }
         );
     }
     openils.Util.addOnLoad(renderGrid);
 </script>
-<button dojoType='dijit.form.Button' onClick='erGrid.showCreateDialog()'>Create</button>
-<div dojoType="dijit.layout.ContentPane" layoutAlign="top" style='height:600px;'>
+
+<style>
+
+.oils-header-panel {
+    width:99%;
+    margin-top:20px;
+}
+.oils-header-panel div:first-child {
+    width:48%;
+    text-align:left;
+    float:left;
+    font-size:130%;
+    font-weight: bold;
+    vertical-align:bottom;
+    position:relative;
+    bottom:0px;
+    left:5px;
+}
+.oils-header-panel div:last-child {
+    width:48%;
+    text-align:right;
+    float:right;
+    vertical-align:bottom;
+    position:relative;
+    bottom:0px;
+    right:5px;
+}
+</style>
+
+<div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
+    <div>Exchange Rates</div>
+    <div><button dojoType='dijit.form.Button' onClick='erGrid.showCreateDialog()'>New</button></div>
+</div>
+
+<div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px;'>
     <table jsId="erGrid" dojoType="openils.widget.AutoGrid" 
             fieldOrder="['id', 'from_currency', 'to_currency', 'ratio']" 
             query="{id: '*'}" rowSelector='20px' fmClass='acqexr' editOnEnter='true'>



More information about the open-ils-commits mailing list