]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Add classes to form in search results
authorsajolida <sajolida@pimienta.org>
Sun, 9 Nov 2014 15:48:33 +0000 (16:48 +0100)
committerSimon McVittie <smcv@debian.org>
Wed, 26 Nov 2014 11:57:58 +0000 (11:57 +0000)
This is needed to style it, for example to reduce the width of the text
input and prevent layout issues.

templates/searchquery.tmpl

index 15bc78e2844c9e8b648df0a75e0363b40d3d49dd..62772664d72eaffe11aae38dc29e184d6df48d8e 100644 (file)
@@ -33,8 +33,8 @@ $def{NEXT,$if{$ne{$last,$msize},<INPUT TYPE=submit NAME="&gt;" VALUE="Next">}}
 
 <FORM NAME=P METHOD=GET 
 ACTION="$html{$env{CGIURL}}" TARGET="_top">
-<div style="text-align:center">
-<INPUT NAME=P VALUE="$html{$query}" SIZE=65>
+<div class="searchquery" style="text-align:center">
+<INPUT class="searchbox" NAME=P VALUE="$html{$query}" SIZE=65>
 <INPUT TYPE=SUBMIT VALUE="Search">
 $env{HELPLINK}
 <hr>