# HG changeset patch # User Christophe Lincoln # Date 1241114795 -7200 # Node ID aee6cba53f3b759f4e86e0b05d52598d43e1453e # Parent e91f31998fda67615e855cdb54033cecd5a2d084 netsurf: Add custom home page diff -r e91f31998fda -r aee6cba53f3b netsurf/receipt --- a/netsurf/receipt Thu Apr 30 20:05:47 2009 +0200 +++ b/netsurf/receipt Thu Apr 30 20:06:35 2009 +0200 @@ -35,4 +35,7 @@ rm -rf $fs/usr/share/netsurf/docs rm -rf $fs/usr/share/netsurf/*.xpm rm -rf $fs/usr/share/netsurf/license + # Webhome + cp -a stuff/webhome $fs/usr/share + chown -R root.root $fs } diff -r e91f31998fda -r aee6cba53f3b netsurf/stuff/Makefile.defaults --- a/netsurf/stuff/Makefile.defaults Thu Apr 30 20:05:47 2009 +0200 +++ b/netsurf/stuff/Makefile.defaults Thu Apr 30 20:06:35 2009 +0200 @@ -58,13 +58,13 @@ # Template used for constructing the User Agent: string. The first two # replacements are major/minor version, second two are OS and architecture. # Please don't be tempted to mention Mozilla here! Let's let that lie die. -NETSURF_UA_FORMAT_STRING := "NetSurf/%d.%d (%s; %s)" +NETSURF_UA_FORMAT_STRING := "NetSurf/%d.%d (%s; %s) SliTaz" # Default home page, if one is not defined by the user. Note that this # option does not apply to the RISC OS version, as it has its own local # home page, and it can be changed by editing the end of gui_init2() in # riscos/gui.c -NETSURF_HOMEPAGE := "file:///usr/share/webhome/index.html" +NETSURF_HOMEPAGE := "file:///usr/share/webhome/netsurf.html" # Force using glibc internal iconv implementation instead of external libiconv # Valid options: YES, NO diff -r e91f31998fda -r aee6cba53f3b netsurf/stuff/netsurf.desktop --- a/netsurf/stuff/netsurf.desktop Thu Apr 30 20:05:47 2009 +0200 +++ b/netsurf/stuff/netsurf.desktop Thu Apr 30 20:06:35 2009 +0200 @@ -1,8 +1,8 @@ [Desktop Entry] -Name=Netsurf Web Browser -Name[de]=Netznavigator Netsurf -Name[fr]=Navigateur Web Netsurf -Name[pt_PT]=Navegador Web Netsurf +Name=NetSurf Web Browser +Name[de]=Netznavigator NetSurf +Name[fr]=Navigateur Web NetSurf +Name[pt_PT]=Navegador Web NetSurf Type=Application Categories=Network; MimeType=text/html;application/xhtml+xml; diff -r e91f31998fda -r aee6cba53f3b netsurf/stuff/webhome/netsurf.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf/stuff/webhome/netsurf.css Thu Apr 30 20:06:35 2009 +0200 @@ -0,0 +1,108 @@ +/* + CSS style for SliTaz GNU/Linux local home page + www.slitaz.org - (c) 2008 SliTaz Community +*/ + +body { + background: #ffffff; + color: black; + font: 13px sans-serif, vernada, arial; + margin: 0 0 0 0; + padding-bottom: 100%; +} + +#header { + background: #f0ba08 url(pics/header.png) repeat-x top; + color: black; + width: 100%; + height: 50px ; + border-top: 1px solid black; + border-bottom: 1px solid black; + /* margin-bottom: 30px; */ +} + +/* Page content */ + +#content { + background: white; + color: black; + text-align: justify; +} + +#content li { + line-height: 1.5em; + text-align: left; +} + +/* Footer */ + +#bottom { + float: none; + background: inherit; + color: black; + width: auto; + clear: both; + padding: 0; + margin: 0; + text-align: center; + vertical-align: middle; +} + +/* HTML styles */ + +h1 { + color: #222222; + background: inherit; + text-align: center; + margin: 0px 0px 20px 0px; + padding: 10px 0px 10px 0px; +} + +h2 { + color: #DF8F06; + border-left: 10px solid #F3F3F3; + padding: 4px 0px 4px 4px; + margin: 0; +} + +h3 { + font-weight: bold; + color: #6c0023; + background: inherit; +} + +a { + text-decoration: underline; + color: #0F314E; + background: inherit; +} + +a:hover { + text-decoration: none; + color: blue; + background: inherit; +} + +img { + border: 0pt none; +} + +/* Table */ + +table { + width: variable; + margin-left: auto; + margin-right: auto; +} + +td { + width: variable; + padding: 6px; +} + +th { + width: variable; + + + text-align: right; +} diff -r e91f31998fda -r aee6cba53f3b netsurf/stuff/webhome/netsurf.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netsurf/stuff/webhome/netsurf.html Thu Apr 30 20:06:35 2009 +0200 @@ -0,0 +1,66 @@ + + + + SliTaz - Web Homepage + + + + + + + + + + + +
+ +
+ + + + + + + + + + + +
[ Wikipedia ] +
+ + + +
+
[ Google ] +
+ + +
+
+
+ + +
+ SliTaz : + Website | + Forum | + Wiki | + Labs | + Packages +
+
+ NetSurf : + Website | + Documentation +
+ + +
+ + +