[geeklog-cvs] geeklog: newpro: moved search box into the header

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Mar 10 17:17:39 EST 2012


changeset 8515:dddbc295e7ef
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/dddbc295e7ef
user: Rouslan Placella <rouslan at placella.com>
date: Tue Mar 06 21:02:22 2012 +0000
description:
newpro: moved search box into the header

diffstat:

 public_html/layout/newpro/css/form.css     |   5 +++++
 public_html/layout/newpro/leftblocks.thtml |  25 +++++++++----------------
 2 files changed, 14 insertions(+), 16 deletions(-)

diffs (56 lines):

diff -r 115d146a5a5f -r dddbc295e7ef public_html/layout/newpro/css/form.css
--- a/public_html/layout/newpro/css/form.css	Tue Mar 06 20:12:41 2012 +0000
+++ b/public_html/layout/newpro/css/form.css	Tue Mar 06 21:02:22 2012 +0000
@@ -16,10 +16,15 @@
 
 /* Block */
 div#leftblocks div#block-left-search {
+  margin: 0;
+  padding: 0;
 }
 
 /* Form */
 div#leftblocks div#block-left-search form#searchform {
+  position: absolute;
+  top: 50px;
+  right: 20px;
   margin: 0;
   padding: 0;
 }
diff -r 115d146a5a5f -r dddbc295e7ef public_html/layout/newpro/leftblocks.thtml
--- a/public_html/layout/newpro/leftblocks.thtml	Tue Mar 06 20:12:41 2012 +0000
+++ b/public_html/layout/newpro/leftblocks.thtml	Tue Mar 06 21:02:22 2012 +0000
@@ -6,24 +6,17 @@
     <!-- Left Blocks Container -->
     <div id="leftblocks">
       <div class="block-left" id="block-left-search">
-        <h2>{button_search}</h2>
         <div class="block-left-content">
           <form action="{site_url}/search.php" method="get" id="searchform" class="basic">
-            <fieldset>
-              <legend>{button_search}</legend>
-              <ul>
-                <li><input type="text" size="16" maxlength="255" name="query" class="text"{xhtml}></li>
-                <li>
-                  <input type="hidden" value="all" name="type"{xhtml}>
-                  <input type="hidden" value="all" name="keyType"{xhtml}>
-                  <input type="hidden" value="search" name="mode"{xhtml}>
-                  <input type="submit" value="{button_search}" class="submit"{xhtml}>
-                </li>
-              </ul>
-              <ul>
-                <li><a href="{site_url}/search.php">{button_advsearch}</a></li>
-              </ul>
-            </fieldset>
+            <ul>
+              <li><input type="text" size="16" maxlength="255" name="query" class="text"{xhtml}></li>
+              <li>
+                <input type="hidden" value="all" name="type"{xhtml}>
+                <input type="hidden" value="all" name="keyType"{xhtml}>
+                <input type="hidden" value="search" name="mode"{xhtml}>
+                <input type="submit" value="{button_search}" class="submit"{xhtml}>
+              </li>
+            </ul>
           </form>
         </div>
       </div>



More information about the geeklog-cvs mailing list