diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-01-08 04:34:09 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-01-08 04:34:09 +0800 |
commit | 977e13469d48102bc3812140bdf3faf955e9f11a (patch) | |
tree | 133d157d8c0399adf9792a32207fcfa41ccbfeab /data/starthere/section.xsl | |
parent | c088c9ab24ffeafeef6b7b092facb6f3f57efc28 (diff) | |
download | gsoc2013-epiphany-977e13469d48102bc3812140bdf3faf955e9f11a.tar gsoc2013-epiphany-977e13469d48102bc3812140bdf3faf955e9f11a.tar.gz gsoc2013-epiphany-977e13469d48102bc3812140bdf3faf955e9f11a.tar.bz2 gsoc2013-epiphany-977e13469d48102bc3812140bdf3faf955e9f11a.tar.lz gsoc2013-epiphany-977e13469d48102bc3812140bdf3faf955e9f11a.tar.xz gsoc2013-epiphany-977e13469d48102bc3812140bdf3faf955e9f11a.tar.zst gsoc2013-epiphany-977e13469d48102bc3812140bdf3faf955e9f11a.zip |
More work on the start here page.
2003-01-07 Marco Pesenti Gritti <marco@it.gnome.org>
* data/starthere/Makefile.am:
* data/starthere/index.xml.in:
* data/starthere/section.css:
* data/starthere/section.xsl:
* embed/mozilla/StartHereProtocolHandler.cpp:
* embed/mozilla/mozilla-embed-shell.cpp:
* lib/ephy-file-helpers.c: (ephy_ensure_dir_exists),
(ephy_find_file_recursive), (ephy_file_find):
* lib/ephy-file-helpers.h:
* lib/ephy-start-here.c: (ephy_start_here_init),
(ephy_start_here_finalize), (is_my_lang), (mozilla_bookmarks),
(attach_content), (build_content), (ephy_start_here_get_page),
(ephy_start_here_get_base_uri):
* lib/ephy-start-here.h:
More work on the start here page.
Diffstat (limited to 'data/starthere/section.xsl')
-rw-r--r-- | data/starthere/section.xsl | 45 |
1 files changed, 43 insertions, 2 deletions
diff --git a/data/starthere/section.xsl b/data/starthere/section.xsl index 6b349c626..62bdcf598 100644 --- a/data/starthere/section.xsl +++ b/data/starthere/section.xsl @@ -3,15 +3,14 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> -<!-- root rule --> <xsl:template match="/"> <xsl:apply-templates/> </xsl:template> -<!-- main rule for document element --> <xsl:template match="section"> <html> <head> + <link rel="stylesheet" href="section.css" type="text/css"/> </head> <body> <xsl:apply-templates/> @@ -19,5 +18,47 @@ </html> </xsl:template> +<xsl:template match="content"> +<div class="body"> + <xsl:apply-templates/> +</div> +</xsl:template> + +<xsl:template match="bar"> +<div class="topbar"> + <xsl:apply-templates/> +</div> +</xsl:template> + +<xsl:template match="item"> +<a href="{@section}"> + <xsl:apply-templates/> +</a> +</xsl:template> + +<xsl:template match="title"> +<h2> + <xsl:apply-templates/> +</h2> +</xsl:template> + +<xsl:template match="paragraph"> +<p> + <xsl:apply-templates/> +</p> +</xsl:template> + +<xsl:template match="buildcontent"> +<p> + <xsl:apply-templates/> +</p> +</xsl:template> + +<xsl:template match="action"> +<a href="action:{@id}?{@param}"> + <xsl:apply-templates/> +</a> +</xsl:template> + </xsl:stylesheet> |