slitaz-forge rev 233

pkgs: few fixes
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 05 19:18:18 2012 +0200 (2012-04-05)
parents 79fd762fe745
children 321a5893788b
files pkgs/pkgs.css pkgs/search.sh
line diff
     1.1 --- a/pkgs/pkgs.css	Thu Apr 05 18:47:37 2012 +0200
     1.2 +++ b/pkgs/pkgs.css	Thu Apr 05 19:18:18 2012 +0200
     1.3 @@ -3,6 +3,20 @@
     1.4  	border-bottom: 8px solid #d66018;
     1.5  }
     1.6  
     1.7 +#header h1 {
     1.8 +	padding: 3px 0 0 42px;
     1.9 +}
    1.10 +
    1.11 +#network { 
    1.12 +	padding: 12px 5px 0; 
    1.13 +}
    1.14 +
    1.15 +#network a {
    1.16 +	padding: 0 4px;
    1.17 +}
    1.18 +
    1.19 +#network a:hover { color: #cfcfcf; }
    1.20 +
    1.21  input[type=text] {
    1.22  	/*width: inherit;*/
    1.23  	width: 40%;
    1.24 @@ -12,10 +26,7 @@
    1.25  	margin: 6px 40px 0px 0px;
    1.26  }
    1.27  
    1.28 -#copy {
    1.29 +#footer {
    1.30  	text-align: center;
    1.31 +	background-color: #fff;
    1.32  }
    1.33 -
    1.34 -#bottom {
    1.35 -	text-align: center;
    1.36 -}
     2.1 --- a/pkgs/search.sh	Thu Apr 05 18:47:37 2012 +0200
     2.2 +++ b/pkgs/search.sh	Thu Apr 05 19:18:18 2012 +0200
     2.3 @@ -191,7 +191,7 @@
     2.4  WOK=/home/slitaz/$SLITAZ_VERSION/wok
     2.5  PACKAGES_REPOSITORY=/home/slitaz/$SLITAZ_VERSION/packages
     2.6  
     2.7 -echo Content-type: text/html
     2.8 +echo "Content-type: text/html"
     2.9  echo
    2.10  
    2.11  # Search form
    2.12 @@ -213,7 +213,6 @@
    2.13  		<option $selected_file_list value="File_list">$file_list</option>
    2.14  		<option $selected_overlap value="FileOverlap">$overlap</option>
    2.15  	</select>
    2.16 -	<strong>:</strong>
    2.17  	<input type="text" name="query" size="20" value="$SEARCH" />
    2.18  	<select name="version">
    2.19  		<option value="cooking">$cooking</option>
    2.20 @@ -231,7 +230,7 @@
    2.21  
    2.22  # xHTML Header.
    2.23  xhtml_header() {
    2.24 -	cat lib/header.html | sed s'/%SEARCH%/$SEARCH/'
    2.25 +	cat lib/header.html | sed s/'%SEARCH%'/"$SEARCH"/'
    2.26  }
    2.27  
    2.28  # xHTML Footer.