Apply a little bit of style to group form elements together in confined spaces
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Aug 2010 15:41:43 +0000 (15:41 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Aug 2010 15:41:43 +0000 (15:41 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17287 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/templates/default/cat/authority/list.tt2

index ecfe260..3f6c784 100644 (file)
 </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>