slitaz-configs rev 84
New Web Home page
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 29 18:46:23 2011 +0200 (2011-03-29) |
parents | 4cba93b42cef |
children | dffd79754684 |
files | rootfs/etc/xdg/openbox/autostart.sh rootfs/usr/share/webhome/images/network.png rootfs/usr/share/webhome/index.html rootfs/usr/share/webhome/pics/header-img.png rootfs/usr/share/webhome/style.css |
line diff
1.1 --- a/rootfs/etc/xdg/openbox/autostart.sh Mon Mar 28 21:06:27 2011 +0200 1.2 +++ b/rootfs/etc/xdg/openbox/autostart.sh Tue Mar 29 18:46:23 2011 +0200 1.3 @@ -5,14 +5,11 @@ 1.4 dbus-launch --exit-with-session & 1.5 1.6 # Handle Hal events with Ivman (notification with desktopbox). 1.7 -ivman & 1.8 +#ivman & 1.9 1.10 # Start PCmanFM as daemon for Wallpaper and desktop icons. 1.11 pcmanfm -d & 1.12 1.13 -# update lxpanel config 1.14 -sed -i "s/iface=.*/`grep \"iface=\" /etc/lxpanel/default/panels/panel`/" ~/.config/lxpanel/default/panels/panel 1.15 - 1.16 # Start the Freedesktop panel standard menu. 1.17 lxpanel & 1.18 1.19 @@ -30,3 +27,6 @@ 1.20 1.21 # Background color with xsetroot. 1.22 #xsetroot -solid "#222222" & 1.23 + 1.24 +# Wbar2 icon bar 1.25 +#$(sleep 3 && wbar) &
2.1 Binary file rootfs/usr/share/webhome/images/network.png has changed
3.1 --- a/rootfs/usr/share/webhome/index.html Mon Mar 28 21:06:27 2011 +0200 3.2 +++ b/rootfs/usr/share/webhome/index.html Tue Mar 29 18:46:23 2011 +0200 3.3 @@ -12,16 +12,29 @@ 3.4 3.5 <!-- Header --> 3.6 <div id="header"> 3.7 - <h1>Web Home</h1> 3.8 + <div id="logo"></div> 3.9 + <div id="network"> 3.10 + <a href="http://www.slitaz.org/"> 3.11 + <img src="images/network.png" alt="network.png" /></a> 3.12 + <a href="http://scn.slitaz.org/">Community</a> 3.13 + <a href="http://doc.slitaz.org/">Doc</a> 3.14 + <a href="http://forum.slitaz.org/">Forum</a> 3.15 + <a href="http://labs.slitaz.org/issues">Bugs</a> 3.16 + <a href="http://hg.slitaz.org/">Hg</a> 3.17 + </div> 3.18 + <h1>SliTaz Web Home</h1> 3.19 </div> 3.20 3.21 +<!-- Block --> 3.22 +<div id="block"></div> 3.23 + 3.24 <!-- Content --> 3.25 <div id="content"> 3.26 3.27 <div class="searchbox"> 3.28 <form method="get" action="http://www.google.com/search"> 3.29 <p> 3.30 - <input type="text" name="q" size="24" style="width: 80%;" 3.31 + <input type="text" name="q" size="8"" 3.32 maxlength="255" /> 3.33 <input type="submit" value="Google" /> 3.34 </p> 3.35 @@ -36,25 +49,15 @@ 3.36 </form> --> 3.37 </div> 3.38 3.39 -<p style="text-align: center;"> 3.40 - SliTaz Network: 3.41 - <a href="http://www.slitaz.org/">Website</a> 3.42 - <a href="http://scn.slitaz.org/">Community</a> 3.43 - <a href="http://doc.slitaz.org/">Documentation</a> 3.44 - <a href="http://forum.slitaz.org/">Forum</a> 3.45 - <a href="http://pkgs.slitaz.org/">Packages</a> 3.46 - <a href="http://labs.slitaz.org/issues">Bugs</a> 3.47 - <a href="http://hg.slitaz.org/">Hg</a> 3.48 -</p> 3.49 - 3.50 -<p style="text-align: center;"> 3.51 +<!-- SliTaz Social --> 3.52 +<div id="social"> 3.53 SliTaz @ 3.54 <a href="http://twitter.com/slitaz">Twitter</a> 3.55 <a href="http://www.facebook.com/slitaz">Facebook</a> 3.56 <a href="http://distrowatch.com/slitaz">Distrowatch</a> 3.57 <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a> 3.58 <a href="http://flattr.com/profile/slitaz">Flattr</a> 3.59 -</p> 3.60 +</div> 3.61 3.62 <!-- End of content --> 3.63 </div>
4.1 Binary file rootfs/usr/share/webhome/pics/header-img.png has changed
5.1 --- a/rootfs/usr/share/webhome/style.css Mon Mar 28 21:06:27 2011 +0200 5.2 +++ b/rootfs/usr/share/webhome/style.css Tue Mar 29 18:46:23 2011 +0200 5.3 @@ -1,14 +1,69 @@ 5.4 -body { font: 13px sans-serif, vernada, arial; margin: 0; 5.5 - border-top: 34px solid #f1f1f1; } 5.6 +/* CSS style for SliTaz GNU/Linux Web Home */ 5.7 + 5.8 +body { 5.9 + background: #ffffff; 5.10 + color: black; 5.11 + font: 13px sans-serif, vernada, arial; 5.12 + margin: 0; 5.13 + min-width: 640px; 5.14 +} 5.15 + 5.16 +a { text-decoration: underline; color: #215090; } 5.17 +a:hover { text-decoration: none; color: blue; } 5.18 +img { border: 0pt none; vertical-align: middle; } 5.19 + 5.20 +/* Header */ 5.21 + 5.22 #header { 5.23 - background: #351a0a url(pics/header-img.png) no-repeat top right; 5.24 - color: black; height: 42px; 5.25 - border-top: 1px solid black; 5.26 - border-bottom: 1px solid black; 5.27 + height: 40px; 5.28 + background: #351a0a; 5.29 } 5.30 -#content { margin: 0px 18% 26px 18%; } 5.31 + 5.32 +#header h1 { 5.33 + margin: 0; 5.34 + padding: 8px 0 0 8px; 5.35 + width: 250px; 5.36 + color: white; 5.37 + font-size: 20px; 5.38 + font-style: italic; 5.39 +} 5.40 + 5.41 +/* SliTaz Network */ 5.42 + 5.43 +#network { 5.44 + float: right; 5.45 + padding: 12px 5px 0; 5.46 + font-size: 12px; 5.47 +} 5.48 + 5.49 +#network a { padding: 0 6px; } 5.50 + 5.51 +#network a { 5.52 + color: #fff; 5.53 + font-weight: bold; 5.54 + text-decoration: none; 5.55 +} 5.56 + 5.57 +#network a:hover { color: #d66018; } 5.58 + 5.59 +/* Block */ 5.60 + 5.61 +#block { 5.62 + min-height: 8px; 5.63 + background: #d66018; 5.64 + padding: 0; 5.65 + border-bottom: 1px solid #f5f5f5; 5.66 +} 5.67 + 5.68 +/* Content */ 5.69 + 5.70 +#content { 5.71 + padding: 30px 20px; 5.72 + text-align: justify; 5.73 +} 5.74 + 5.75 .searchbox { 5.76 - margin: 40px 0; 5.77 + margin: 40px 80px; 5.78 padding: 12px; 5.79 background: #f8f8f8; 5.80 text-align: center; 5.81 @@ -17,10 +72,12 @@ 5.82 -webkit-border-radius: 4px; 5.83 border-radius: 4px; 5.84 } 5.85 -a:hover { text-decoration: none; color: #000; } 5.86 -h1 { margin: 6px 20px; color: #fff; } 5.87 -p, a { color: #666; } 5.88 -p img { vertical-align: middle; padding-right: 4px; } 5.89 + 5.90 +#social { text-align: center; color: #666; } 5.91 +#social a { color: #666; padding: 0 2px; } 5.92 + 5.93 +/* Form */ 5.94 + 5.95 input[type=submit] { 5.96 border: 1px solid #b64b22; 5.97 background-color: #b64b22; 5.98 @@ -37,12 +94,14 @@ 5.99 border-top-right-radius: 4px; 5.100 border-bottom-right-radius: 4px; 5.101 } 5.102 + 5.103 input[type=submit]:hover { background-color: #a3431f; } 5.104 + 5.105 input[type=text] { 5.106 border: 1px solid #333333; 5.107 padding: 4px; 5.108 height: 17px; 5.109 - width: 100%; 5.110 + width: 68%; 5.111 -webkit-border-top-left-radius: 4px; 5.112 -webkit-border-bottom-left-radius: 4px; 5.113 -moz-border-radius-topleft: 4px;