height fixes, tabbing fixes
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 May 2009 13:50:31 +0000 (13:50 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 May 2009 13:50:31 +0000 (13:50 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13071 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/templates/default/conify/global/acq/provider.tt2

index 9719720..af8e263 100644 (file)
@@ -1,31 +1,31 @@
 [% WRAPPER default/base.tt2 %]
 <script src='[% ctx.media_prefix %]/js/ui/default/conify/global/acq/provider.js'> </script>
 <script> var providerId = '[% ctx.page_args.0 %]';</script>
 [% WRAPPER default/base.tt2 %]
 <script src='[% ctx.media_prefix %]/js/ui/default/conify/global/acq/provider.js'> </script>
 <script> var providerId = '[% ctx.page_args.0 %]';</script>
- <script type ="text/javascript">
-        function formatName(inDatum) {
+<script type ="text/javascript">
+    function formatName(inDatum) {
         switch (inDatum) {
         switch (inDatum) {
-        case 'owning_lib':
-        return 'Owning Library';
-        case 'quantity':
-        return 'Quantity';
-        case 'call_number':
-        return 'Call Number';
-        case 'fund_code':
-        return 'Fund Code';
-        case 'local_note':
-        return 'Local Note';
-        case 'price':
-        return 'Price';
-        case 'circ_modifier':
-        return 'Circulation Modifier';
-        case 'copy_location':
-        return 'Copy Location';
-        case 'collection_code':
-        return 'Collection Code';
-        }
+            case 'owning_lib':
+                return 'Owning Library';
+            case 'quantity':
+                return 'Quantity';
+            case 'call_number':
+                return 'Call Number';
+            case 'fund_code':
+                return 'Fund Code';
+            case 'local_note':
+                return 'Local Note';
+            case 'price':
+                return 'Price';
+            case 'circ_modifier':
+                return 'Circulation Modifier';
+            case 'copy_location':
+                return 'Copy Location';
+            case 'collection_code':
+                return 'Collection Code';
         }
         }
+    }
 
 
- </script>
+</script>
 <div class="hidden"><select dojoType="dijit.form.FilteringSelect" jsId="nameSelect">
     <option value='owning_lib'>Owning Library</option>
     <option value='quantity'>Quantity</option>
 <div class="hidden"><select dojoType="dijit.form.FilteringSelect" jsId="nameSelect">
     <option value='owning_lib'>Owning Library</option>
     <option value='quantity'>Quantity</option>
@@ -73,7 +73,7 @@
             <button dojoType='dijit.form.Button' onClick='paListGrid.showCreateDialog()'>New Provider Address</button>
             <button dojoType='dijit.form.Button' onClick='paListGrid.deleteSelected()'>Delete Selected</button>
         </div>
             <button dojoType='dijit.form.Button' onClick='paListGrid.showCreateDialog()'>New Provider Address</button>
             <button dojoType='dijit.form.Button' onClick='paListGrid.deleteSelected()'>Delete Selected</button>
         </div>
-        <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:100px'>
+        <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:400px'>
             <table  jsId="paListGrid"
                     dojoType="openils.widget.AutoGrid"
                     fieldOrder="['id', 'address_type', 'provider', 'street1', 'street2', 'city', 'county', 'state', 'country', 'post_code']"
             <table  jsId="paListGrid"
                     dojoType="openils.widget.AutoGrid"
                     fieldOrder="['id', 'address_type', 'provider', 'street1', 'street2', 'city', 'county', 'state', 'country', 'post_code']"
             <button dojoType='dijit.form.Button' onClick='pcaListGrid.showCreateDialog()'>New Contact Address</button>
             <button dojoType='dijit.form.Button' onClick='pcaListGrid.deleteSelected()'>Delete Selected</button>
         </div>
             <button dojoType='dijit.form.Button' onClick='pcaListGrid.showCreateDialog()'>New Contact Address</button>
             <button dojoType='dijit.form.Button' onClick='pcaListGrid.deleteSelected()'>Delete Selected</button>
         </div>
-        <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:400px'>
+        <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:200px'>
             <table  jsId="pcaListGrid"
                     dojoType="openils.widget.AutoGrid"
                     fieldOrder="['id', 'address_type', 'contact', 'street1', 'street2', 'city', 'county', 'state', 'country', 'post_code']"
             <table  jsId="pcaListGrid"
                     dojoType="openils.widget.AutoGrid"
                     fieldOrder="['id', 'address_type', 'contact', 'street1', 'street2', 'city', 'county', 'state', 'country', 'post_code']"
             <button dojoType='dijit.form.Button' onClick='padListGrid.showCreateDialog()'>New Attribute Definition</button>
             <button dojoType='dijit.form.Button' onClick='padListGrid.deleteSelected()'>Delete Selected</button>
         </div>
             <button dojoType='dijit.form.Button' onClick='padListGrid.showCreateDialog()'>New Attribute Definition</button>
             <button dojoType='dijit.form.Button' onClick='padListGrid.deleteSelected()'>Delete Selected</button>
         </div>
-        <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:200px'>
+        <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:400px'>
             <table  jsId="padListGrid"
                     dojoType="openils.widget.AutoGrid"
                     fieldOrder="['id', 'provider', 'code', 'description', 'xpath', 'provider', 'ident']"
             <table  jsId="padListGrid"
                     dojoType="openils.widget.AutoGrid"
                     fieldOrder="['id', 'provider', 'code', 'description', 'xpath', 'provider', 'ident']"
             <button dojoType='dijit.form.Button' onClick='phsListGrid.showCreateDialog()'>New Holding Subfield</button>
             <button dojoType='dijit.form.Button' onClick='phsListGrid.deleteSelected()'>Delete Selected</button>
         </div>
             <button dojoType='dijit.form.Button' onClick='phsListGrid.showCreateDialog()'>New Holding Subfield</button>
             <button dojoType='dijit.form.Button' onClick='phsListGrid.deleteSelected()'>Delete Selected</button>
         </div>
-        <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:200px'>
+        <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:400px'>
             <table  jsId="phsListGrid"
                     dojoType="openils.widget.AutoGrid"
                     fieldOrder="['id', 'provider', 'name', 'subfield']"
             <table  jsId="phsListGrid"
                     dojoType="openils.widget.AutoGrid"
                     fieldOrder="['id', 'provider', 'name', 'subfield']"