wok-current rev 823
firefox: add google search to the webhome page (Thanks Dojan5)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 17 18:17:09 2008 +0200 (2008-05-17) |
parents | 7dc1231fd0a7 |
children | caafef3c4f01 |
files | firefox/stuff/webhome/index.html firefox/stuff/webhome/style.css |
line diff
1.1 --- a/firefox/stuff/webhome/index.html Sat May 17 15:35:58 2008 +0200 1.2 +++ b/firefox/stuff/webhome/index.html Sat May 17 18:17:09 2008 +0200 1.3 @@ -25,34 +25,53 @@ 1.4 1.5 <h1>Browse the Web</h1> 1.6 1.7 -<!-- Search Wikia --> 1.8 -<div style="text-align: center; margin: 40px;"> 1.9 - <form name="search" method="get" action="http://alpha.search.wikia.com/search/search.html" 1.10 - onsubmit="window.location='http://re.search.wikia.com/search#'+document.forms[0].q.value;return false;"> 1.11 - <strong>[ Wikia Search ]</strong> 1.12 - <input type="text" name="q" id="q" size="22" /> 1.13 - <input type="hidden" name="page" value="1" /> 1.14 - <input type="hidden" name="n" value="10" /> 1.15 - <input type="hidden" name="t" value="2" /> 1.16 - <input type="submit" name="go" value="Search" /> 1.17 - </form> 1.18 +<div style="text-align: center; margin: 10px;"> 1.19 +<table> 1.20 + <!-- Search Wikia --> 1.21 + <tr> 1.22 + <th><strong>[ Wikia Search ]</strong></th> 1.23 + <td> 1.24 + <form 1.25 + name="search" method="get" 1.26 + action="http://alpha.search.wikia.com/search/search.html" 1.27 + onsubmit="window.location='http://re.search.wikia.com/search#'+document.forms[0].q.value;return false;"> 1.28 + <input type="text" name="q" id="q" size="30" /> 1.29 + <input type="hidden" name="page" value="1" /> 1.30 + <input type="hidden" name="n" value="10" /> 1.31 + <input type="hidden" name="t" value="2" /> 1.32 + <input type="submit" name="go" value="Search" /> 1.33 + </form> 1.34 + </td> 1.35 + </tr> 1.36 + <!-- Search Wikipedia --> 1.37 + <tr> 1.38 + <th><strong>[ Wikipedia ]</strong></th> 1.39 + <td> 1.40 + <form action="http://www.wikipedia.org/search-redirect.php" method="get"> 1.41 + <input type="hidden" name="language" value="en" /> 1.42 + <input type="text" name="search" size="30" /> 1.43 + <input type="submit" name="go" value="Search" /> 1.44 + </form> 1.45 + </td> 1.46 + </tr> 1.47 + <!-- Search Google --> 1.48 + <tr> 1.49 + <th><strong>[ Google ]</strong></th> 1.50 + <td> 1.51 + <form method="get" action="http://www.google.com/search"> 1.52 + <input type="text" name="q" size="30" maxlength="255" value="" /> 1.53 + <input type="submit" value="Search" /> 1.54 + </form> 1.55 + </td> 1.56 + </tr> 1.57 +</table> 1.58 </div> 1.59 1.60 -<!-- Search Wikipedia --> 1.61 -<div style="text-align: center; margin: 40px;"> 1.62 - <form action="http://www.wikipedia.org/search-redirect.php" method="get"> 1.63 - <strong>[ Wikipedia ]</strong> 1.64 - <input type="hidden" name="language" value="en" /> 1.65 - <input type="text" name="search" size="22" /> 1.66 - <input type="submit" name="go" value="Search" /> 1.67 - </form> 1.68 -</div> 1.69 - 1.70 <!-- Shortcuts --> 1.71 <div style="text-align: center; margin: 10px;"> 1.72 <a href="http://www.slitaz.org/en/">SliTaz Website</a> - 1.73 <a href="http://www.slitaz.org/">fr_FR</a> | 1.74 - <a href="http://www.slitaz.org/en/doc/handbook/">Handbook</a> | 1.75 + <a href="http://www.slitaz.org/en/doc/handbook/">Handbook</a> | 1.76 <a href="http://forum.slitaz.org/">SliTaz Forum</a> 1.77 </div> 1.78
2.1 --- a/firefox/stuff/webhome/style.css Sat May 17 15:35:58 2008 +0200 2.2 +++ b/firefox/stuff/webhome/style.css Sat May 17 18:17:09 2008 +0200 2.3 @@ -46,7 +46,7 @@ 2.4 height: 14px; 2.5 margin: 0px 100px 0px 100px; 2.6 /*clear: both;*/ 2.7 - 2.8 + 2.9 } 2.10 2.11 #content li { 2.12 @@ -144,11 +144,16 @@ 2.13 margin-top: 12px; 2.14 } 2.15 2.16 +input[type=text] { 2.17 + border: 1px inset #666666; 2.18 +} 2.19 + 2.20 input[type=submit] { 2.21 background: #E5E5E5; 2.22 color: black; 2.23 border: 1px outset #111111; 2.24 font-weight: bold; 2.25 + font-size: 12px; 2.26 } 2.27 2.28 input[type=submit]:hover { 2.29 @@ -156,24 +161,22 @@ 2.30 color: black; 2.31 } 2.32 2.33 -/* Packages pages */ 2.34 +/* Table */ 2.35 2.36 -.pkg_nav { 2.37 - border-top: 1px solid black; 2.38 - margin-top: 10px; 2.39 - padding-top: 10px; 2.40 +table { 2.41 + width: variable; 2.42 + margin-left: auto; 2.43 + margin-right: auto; 2.44 } 2.45 2.46 -pre.package { 2.47 - padding: 0px; 2.48 - color: black; 2.49 - background: white; 2.50 +td { 2.51 + width: variable; 2.52 + padding: 6px; 2.53 } 2.54 2.55 -p.get { 2.56 - text-align: center; 2.57 - padding: 10px; 2.58 - color: black; 2.59 - background: #F3F3F3; 2.60 - border: 1px solid #DEDEDE; 2.61 +th { 2.62 + width: variable; 2.63 + 2.64 + 2.65 + text-align: right; 2.66 }