made li-search interface have same layout as po-search. pulled some inline css out
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 27 May 2008 21:42:57 +0000 (21:42 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 27 May 2008 21:42:57 +0000 (21:42 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@9711 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/oilsweb/oilsweb/public/oils/media/css/skin/default/acq.css
Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/li_search.html
Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/po/search.html

index ae8d520..8b47cd1 100644 (file)
@@ -7,6 +7,7 @@
 */
 
 .oils-acq-detail-content-pane {height:600px;width:100%}
+.oils-acq-basic-form-table td {padding:4px;}
 
 /* bib search */
 #oils-acq-search-container { width:100%; }
index 56f5dae..e5ca85a 100644 (file)
                 doSearch(this.getValues());
                 return false; /* don't redirect */
             </script>
-            <label for='state'>${_('State')}</label>
-            <select dojoType='dijit.form.FilteringSelect' name='state'>
-                <option value='new'>${_("New")}</option>
-                <option value='approved'>${_("Approved")}</option>
-                <option value='in-process'>${_("In Process")}</option>
-                <option value='received'>${_("Received")}</option>
-            </select>
-            <label for='provider'>${_('Provider')}</label>
-            <select dojoType='dijit.form.FilteringSelect' name='provider' 
-                labalAttr='code' searchAttr='code' jsId='providerSelector'>
-            </select>
-            <div dojoType='dijit.form.Button' type='submit'>${_("Search")}</div>
+            <table class='oils-acq-basic-form-table'>
+                <tr>
+                    <td><label for='state'>${_('State')}</label></td>
+                    <td>
+                        <select dojoType='dijit.form.FilteringSelect' name='state'>
+                            <option value='new'>${_("New")}</option>
+                            <option value='approved'>${_("Approved")}</option>
+                            <option value='in-process'>${_("In Process")}</option>
+                            <option value='received'>${_("Received")}</option>
+                        </select>
+                    </td>
+                </tr>
+                <tr>
+                    <td><label for='provider'>${_('Provider')}</label></td>
+                    <td>
+                        <select dojoType='dijit.form.FilteringSelect' name='provider' 
+                            labalAttr='code' searchAttr='code' jsId='providerSelector'>
+                        </select>
+                    </td>
+                </tr>
+                <tr>
+                    <td colspan='2'><div dojoType='dijit.form.Button' type='submit'>${_("Search")}</div></td>
+                </tr>
+            </table>
         </form>
     </div>
 
index e71599e..0aeda70 100644 (file)
@@ -29,8 +29,7 @@
         doSearch(fields);
         return false; /* don't redirect */
     </script>
-    <style>#oils-acq-po-search-table td { padding: 4px; } </style>
-    <table id='oils-acq-po-search-table'>
+    <table class='oils-acq-basic-form-table'>
         <tr>
             <td><label for='id'>${_('ID')}</label></td>
             <td><input dojoType='dijit.form.NumberTextBox' name='id'> </input></td>