tazbug diff web/bugs.cgi @ rev 24

User login on top right and search on all pages
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 04 23:57:41 2012 +0200 (2012-04-04)
parents c76307401900
children c308afab2f37
line diff
     1.1 --- a/web/bugs.cgi	Wed Apr 04 23:00:54 2012 +0200
     1.2 +++ b/web/bugs.cgi	Wed Apr 04 23:57:41 2012 +0200
     1.3 @@ -80,8 +80,7 @@
     1.4  		. $PEOPLE/$user/slitaz.conf
     1.5  		cat << EOT
     1.6  <div id="user">
     1.7 -$(get_gravatar $MAIL 20)
     1.8 -<a href="?user=$user">$user</a>
     1.9 +<a href="?user=$user">$(get_gravatar $MAIL 20)</a>
    1.10  <a href="?logout">Logout</a>
    1.11  </div>
    1.12  EOT
    1.13 @@ -95,6 +94,13 @@
    1.14  	fi
    1.15  	cat << EOT
    1.16  
    1.17 +<div id="search">
    1.18 +	<form method="get" action="./">
    1.19 +		<input type="text" name="search" placeholder="$(gettext "Search")" />
    1.20 +		<!-- <input type="submit" value="$(gettext "Search")" /> -->
    1.21 +	</form>
    1.22 +</div>
    1.23 +
    1.24  <!-- Content -->
    1.25  <div id="content">
    1.26  
    1.27 @@ -617,8 +623,11 @@
    1.28  </div>
    1.29  
    1.30  <p>
    1.31 -	Beta code! Please read the <a href="?README">README</a> for more 
    1.32 -	information. 
    1.33 +	Please read the <a href="?README">README</a> for help and more 
    1.34 +	information. You may also be interested by the SliTaz
    1.35 +	<a href="http://roadmap.slitaz.org/">Roadmap</a> and the packages 
    1.36 +	<a href="http://cook.slitaz.org/">Cooker</a>. To perform a search
    1.37 +	enter your term and press ENTER.
    1.38  </p>
    1.39  
    1.40  <div id="tools">
    1.41 @@ -628,10 +637,6 @@
    1.42  			echo "<a href='?newbug'>$(gettext "Create a new bug")</a>"
    1.43  		fi
    1.44  		cat << EOT
    1.45 -<form method="get" action="./">
    1.46 -	<input type="text" name="search" placeholder="$(gettext "Search")" />
    1.47 -	<!-- <input type="submit" value="$(gettext "Search")" /> -->
    1.48 -</form>
    1.49  </div>
    1.50  EOT
    1.51  		list_bugs OPEN