[open-ils-commits] r17287 - trunk/Open-ILS/web/templates/default/cat/authority (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Aug 20 11:41:46 EDT 2010


Author: dbs
Date: 2010-08-20 11:41:43 -0400 (Fri, 20 Aug 2010)
New Revision: 17287

Modified:
   trunk/Open-ILS/web/templates/default/cat/authority/list.tt2
Log:
Apply a little bit of style to group form elements together in confined spaces


Modified: trunk/Open-ILS/web/templates/default/cat/authority/list.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/cat/authority/list.tt2	2010-08-20 15:35:53 UTC (rev 17286)
+++ trunk/Open-ILS/web/templates/default/cat/authority/list.tt2	2010-08-20 15:41:43 UTC (rev 17287)
@@ -21,35 +21,46 @@
 </div>
 
 <div dojoType="dijit.form.Form" id="myForm" jsId="myForm" encType="multipart/form-data" action="" method="">
-    <label for="authTerm">Search term: </label><input type="text" name="authTerm" value="" dojoType="dijit.form.TextBox" trim="true" id="authTerm" propercase="false"/>
-    <label for="authAxis">Authority type: </label><select type="text" name="authAxis" value="" dojoType="dijit.form.FilteringSelect" trim="true" id="authAxis" propercase="false" style="width: 10em;">
-        <option value="authority.author">Author</option>
-        <option value="authority.subject">Subject</option>
-        <option value="authority.title">Title</option>
-        <option value="authority.topic">Topic</option>
-    </select>
+    <span style="white-space: nowrap;">
+        <label for="authTerm">Search term: </label>
+        <input type="text" name="authTerm" value="" dojoType="dijit.form.TextBox" trim="true" id="authTerm" propercase="false"/>
+    </span>
+    <span style="white-space: nowrap;">
+        <label for="authAxis">Authority type: </label>
+        <select type="text" name="authAxis" value="" dojoType="dijit.form.FilteringSelect" trim="true" id="authAxis" propercase="false" style="width: 10em;">
+            <option value="authority.author">Author</option>
+            <option value="authority.subject">Subject</option>
+            <option value="authority.title">Title</option>
+            <option value="authority.topic">Topic</option>
+        </select>
+    </span>
 <!-- Not currently useful - see authOUListInit() above -->
 <!--    <label for="authOU">Library: </label><select dojoType="openils.widget.OrgUnitFilteringSelect" id="authOU" name="authOU" searchAttr="shortname" labelAttr="shortname"></select> -->
 
-    <div dojoType="dijit.form.Button" type="button" value="Previous">Previous
-        <script type="dojo/method" event="onClick" args="evt">
-            displayRecords({"page":"prev"});
-        </script>
-    </div>
+    <span style="white-space: nowrap;">
+        <span dojoType="dijit.form.Button" type="button" value="Previous">Previous
+            <script type="dojo/method" event="onClick" args="evt">
+                displayRecords({"page":"prev"});
+            </script>
+        </span>
 
-    <label for="authPage">Page: </label><input dojoType="dijit.form.NumberSpinner" value="0" constraints="{min:-100,max:100,places:0}" smallDelta="1" id="authPage" name="authPage" style="width:5em;" />
+        <label for="authPage">Page: </label>
+        <input dojoType="dijit.form.NumberSpinner" value="0" constraints="{min:-100,max:100,places:0}" smallDelta="1" id="authPage" name="authPage" style="width:5em;" />
 
-    <div dojoType="dijit.form.Button" type="button" value="Next">Next
-        <script type="dojo/method" event="onClick" args="evt">
-            displayRecords({"page":"next"});
-        </script>
-    </div>
+        <span dojoType="dijit.form.Button" type="button" value="Next">Next
+            <script type="dojo/method" event="onClick" args="evt">
+                displayRecords({"page":"next"});
+            </script>
+        </span>
+    </span>
 
-    <div dojoType="dijit.form.Button" type="button" value="Submit">Submit
-        <script type="dojo/method" event="onClick" args="evt">
-            displayRecords();
-        </script>
-    </div>
+    <span style="white-space: nowrap;">
+        <span dojoType="dijit.form.Button" type="button" value="Submit">Submit
+            <script type="dojo/method" event="onClick" args="evt">
+                displayRecords();
+            </script>
+        </span>
+    </span>
 </div>
 
 <div id='authlist-div'></div>



More information about the open-ils-commits mailing list