Making library textfields wider by default
authorBrennan Taylor <taylor.brennan@gmail.com>
Fri, 11 Sep 2009 16:49:57 +0000 (12:49 -0400)
committerBrennan Taylor <taylor.brennan@gmail.com>
Fri, 11 Sep 2009 16:49:57 +0000 (12:49 -0400)
default.css
library/index.cgi

index 98cc753..4433132 100644 (file)
@@ -219,4 +219,7 @@ a.position {
     font-weight: bold;
 }
 
+input.library {
+    width: 600px;
+}
 
index 6195400..3d66708 100755 (executable)
@@ -81,8 +81,8 @@ print "<br><br><br>\n";
 #display the search form
 if($field{'do'} eq "home" || $field{'do'} eq ""){
 
-#isbn,title,authors,year,edition,publisher 
-    
+#isbn,title,authors,year,edition,publisher
+
     print <<END;
     <center>
     <br>
@@ -93,17 +93,17 @@ if($field{'do'} eq "home" || $field{'do'} eq ""){
     <table>
 
     <form name="search" action="index.cgi" method="get">
-       <input type="hidden" name="do" value="query" />
-       
-       <tr><td>Title:</td> <td><input type="text" name="title" /></td></tr>
-       
-        <tr><td>Publisher:</td> <td><input type="text" name="publisher" /><td></tr>
-       
-        <tr><td>Edition:</td> <td><input type="text" name="edition" /></td></tr>
+       <input class="libraryInput" type="hidden" name="do" value="query" />
 
-        <tr><td>Year:</td> <td><input type="text" name="year" /></td></tr>
-       
-        <tr><td>ISBN:</td> <td><input type="text" name="isbn" /></td></tr>
+       <tr><td>Title:</td> <td><input class="library" type="text" name="title" /></td></tr>
+
+        <tr><td>Publisher:</td> <td><input class="library" type="text" name="publisher" /><td></tr>
+
+        <tr><td>Edition:</td> <td><input class="library" type="text" name="edition" /></td></tr>
+
+        <tr><td>Year:</td> <td><input class="library" type="text" name="year" /></td></tr>
+
+        <tr><td>ISBN:</td> <td><input class="library" type="text" name="isbn" /></td></tr>
 
     <tr>
     <td></td>