forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: rev 22555 - in forrest/trunk/src/core/context/skins/css-style-dev: . css images xslt xslt/fo xslt/html
Date Sun, 04 Jul 2004 10:26:05 GMT
Author: thorsten
Date: Sun Jul  4 03:26:04 2004
New Revision: 22555

Added:
   forrest/trunk/src/core/context/skins/css-style-dev/
   forrest/trunk/src/core/context/skins/css-style-dev/css/
   forrest/trunk/src/core/context/skins/css-style-dev/css/basic.css
   forrest/trunk/src/core/context/skins/css-style-dev/css/print.css
   forrest/trunk/src/core/context/skins/css-style-dev/css/screen.css
   forrest/trunk/src/core/context/skins/css-style-dev/images/
   forrest/trunk/src/core/context/skins/css-style-dev/images/chapter.gif   (contents, props
changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/chapter_open.gif   (contents,
props changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/current.gif   (contents, props
changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/doc.gif   (contents, props changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/header_white_line.gif   (contents,
props changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/label.gif   (contents, props
changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/page.gif   (contents, props changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/pdfdoc.gif   (contents, props
changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/printer.gif   (contents, props
changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/search-left.gif   (contents,
props changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/search-right.gif   (contents,
props changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/sidebar_bg.gif   (contents, props
changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/singlepage.gif   (contents, props
changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/spacer.gif   (contents, props
changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/tab-left.gif   (contents, props
changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/tab-right.gif   (contents, props
changed)
   forrest/trunk/src/core/context/skins/css-style-dev/images/xmldoc.gif   (contents, props
changed)
   forrest/trunk/src/core/context/skins/css-style-dev/xslt/
   forrest/trunk/src/core/context/skins/css-style-dev/xslt/fo/
   forrest/trunk/src/core/context/skins/css-style-dev/xslt/fo/document2fo.xsl
   forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/
   forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/book2menu.xsl
   forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/document2html.xsl
   forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/site2xhtml.xsl
   forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/tab2menu.xsl
Log:


Added: forrest/trunk/src/core/context/skins/css-style-dev/css/basic.css
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/skins/css-style-dev/css/basic.css	Sun Jul  4 03:26:04 2004
@@ -0,0 +1,126 @@
+/**
+ * General
+ */
+
+img { border: 0; }
+
+#content table {
+	border: 0;
+	width: 100%;
+}
+#content th,
+#content td {
+	margin: 0;
+	padding: 0;
+	vertical-align: top;
+}
+
+.clearboth {
+	clear: both;
+}
+
+.frame {
+	border: solid black 1px;
+	margin: 1em 3em;
+}
+
+.frame .label {
+	background: #369;
+	color: white;
+	font-weight: bold;
+	padding: 5px 10px;
+}
+.frame .content {
+	padding: 5px 10px;
+	background: #F0F0FF;
+	color: black;
+	line-height: 170%;
+	font-size: 90%;
+}
+.warning .label {
+	background: #C00;
+	color: white;
+}
+.warning .content {
+	background: #FFF0F0;
+	color: black;
+}
+.fixme .label {
+	background: #C6C600;
+}
+
+/**
+ * Typography
+ */
+
+body {
+	font-family: verdana, "Trebuchet MS", arial, helvetica, sans-serif;
+	font-size: 100%;
+}
+
+#content {
+	font-family: Georgia, Palatino, Times, serif;
+	font-size: 95%;
+}
+#tabs {
+	font-size: 70%;
+}
+#menu {
+	font-size: 80%;
+}
+#footer {
+	font-size: 70%;
+}
+
+h1, h2, h3, h4, h5, h6	{
+	font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
+	font-weight: bold;
+	margin-top: 1em;
+	margin-bottom: .5em;
+}
+
+h1 {
+    margin-top: 0;
+    margin-bottom: 1em;
+	font-size: 1.4em;
+}
+#content h1 {
+	font-size: 160%;
+	margin-bottom: .5em;
+}
+#menu h1 {
+	margin: 0;
+	padding: 10px;
+	background: #336699;
+	color: white;
+}
+h2 { font-size: 120%; }
+h3 { font-size: 100%; } 
+h4 { font-size: 90%; } 	
+h5 { font-size: 80%; }
+h6 { font-size: 75%; }
+
+p {
+	line-height: 170%;
+	text-align: left;
+	margin-top: .5em;
+	margin-bottom: 1em;
+}
+
+#content li,
+#content th,
+#content td {
+	line-height: 170%;
+}
+
+#content .attribution { 
+	text-align: right; 
+	font-style: italic; 
+	font-size: 85%;
+	margin-top: 1em;
+}
+
+.codefrag {
+	font-family: "Courier New", Courier, monospace;
+	font-size: 110%;
+}
\ No newline at end of file

Added: forrest/trunk/src/core/context/skins/css-style-dev/css/print.css
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/skins/css-style-dev/css/print.css	Sun Jul  4 03:26:04 2004
@@ -0,0 +1,38 @@
+body {
+	font-family: Georgia, Palatino, serif;
+	font-size: 12pt;
+	background: white;
+}
+
+#tabs,
+#menu,
+#content .toc {
+	display: none;
+}
+
+#content {
+	width: auto;
+	padding: 0;
+	float: none !important;
+	color: black;
+	background: transparent;
+}
+
+a:link, a:visited {
+	color: #336699;
+	background: transparent;
+	text-decoration: underline;
+}
+
+#top .logo {
+	padding: 0;
+	margin: 0 0 2em 0;
+}
+
+#footer {
+	margin-top: 4em;
+}
+
+acronym {
+	border: 0;
+}
\ No newline at end of file

Added: forrest/trunk/src/core/context/skins/css-style-dev/css/screen.css
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/skins/css-style-dev/css/screen.css	Sun Jul  4 03:26:04
2004
@@ -0,0 +1,277 @@
+body {
+	margin: 0;
+	padding: 0;
+}
+
+/**
+ * Page Header
+ */
+
+#top {
+	position: relative;
+	float: left;
+	width: 100%;
+	background: #294563; /* if you want a background in the header, put it here */
+}
+
+#top .breadtrail {
+	background: #CFDCED;
+	color: black;
+	border-bottom: solid 1px white;
+	padding: 3px 10px;
+	font-size: 75%;
+}
+#top .breadtrail a { color: black; }
+
+#top .header {
+	float: left;
+	width: 100%;
+	background: url("images/header_white_line.gif") repeat-x bottom;
+}
+
+#top .grouplogo,
+#top .projectlogo {
+	padding: 7px 0 10px 10px;
+	float: left;
+	width: 33%;
+	text-align: center;
+}
+#top .projectlogoA1 {
+	padding: 7px 0 10px 10px;
+	float: right;
+}
+
+#top .searchbox {
+	position: absolute;
+	right: 10px;
+	font-size: 70%;
+	white-space: nowrap;
+	text-align: left;
+	color: white;
+	background: #4C6C8F url("images/tab-right.gif") no-repeat right top;
+	bottom: -1px; /* compensate for IE rendering issue */
+}
+html>body #top .searchbox {
+	bottom: 0px;
+}
+#top .searchbox form {
+	display: block;
+	background: url("images/tab-left.gif") no-repeat left top;
+	padding: 5px 10px;
+	margin: 0;
+}
+#top .searchbox p {
+	padding: 0 0 2px 0;
+	margin: 0;
+}
+
+#tabs {
+	clear: both;
+	padding-left: 10px;
+	margin: 0;
+	list-style: none;
+}
+
+#tabs li {
+	float: left;
+	background: #CFDCED url("images/tab-right.gif") no-repeat right top;
+	margin: 0 3px 0 0;
+	padding: 0;
+}
+
+#tabs li a {
+	float: left;
+	display: block;
+	font-family: verdana, arial, sans-serif;
+	text-transform: uppercase;
+	text-decoration: none;
+	color: black;
+	white-space: nowrap;
+	background: url("images/tab-left.gif") no-repeat left top;
+	padding: 5px 15px 4px;
+	width: .1em; /* IE/Win fix */
+}
+
+#tabs > li a { width: auto; } /* Rest of IE/Win fix */
+
+/* Commented Backslash Hack hides rule from IE5-Mac \*/
+#tabs a { float: none; }
+/* End IE5-Mac hack */
+
+#top .header .current {
+	background-color: #4C6C8F;
+}
+#top .header .current a {
+	font-weight: bold;
+	padding-bottom: 5px;
+	color: white;
+}
+
+#main {
+	position: relative;
+	clear: both;
+	background: white url("images/sidebar_bg.gif") repeat-y left;
+	border-top: solid #4C6C8F 15px;
+}
+
+
+/**
+ * Side menu
+ */
+ 
+#menu {
+	position: relative;
+	float: left;
+	width: 160px;
+}
+#menu h1 {
+	display: block;
+	padding: 3px 12px;
+	background-color: #cfdced;
+	color: black;
+	font-size: 110%;
+	border-top: solid white 1px;
+	border-bottom: 1px solid #336699;
+	border-right: solid #336699 1px;
+}
+#menu ul {
+	width: 160px;
+	list-style: none;
+	padding: 0 0 1em 0;
+	margin: 0;
+}
+#menu ul ul ul {
+	padding: 0;
+}
+#menu li li {
+	padding: 3px 12px;
+	margin: 0;
+}
+#menu li li h1 {
+	/* nested directories */
+	font: normal 90% verdana, "Trebuchet MS", arial, helvetica, sans-serif;
+	color: white;
+	background: transparent;
+	border: none;
+	padding: 3px 0;
+	margin: 0;
+}
+#menu li a {
+	font-size: 90%;
+	color: white;
+	text-decoration: none;
+}
+#menu li a:hover { font-weight: bold; }
+#menu li .current {
+	color: #FFCC33;
+	font-weight: bold;
+	font-size: 90%;
+}
+
+#content {
+	padding: 20px 20px 20px 180px;
+	margin: 0;
+}
+
+#content ul {
+	margin: 0;
+	padding: 0 25px;
+}
+#content li {
+	padding: 0 5px;
+}
+
+#footer {
+	clear: both;
+	position: relative; /* IE bugfix (http://www.dracos.co.uk/web/css/ie6floatbug/) */
+	width: 100%;
+	background: #CFDCED;
+	border-top: solid 1px #4C6C8F;
+	color: black;
+}
+#footer .copyright {
+	position: relative; /* IE bugfix cont'd */
+	padding: 5px;
+	margin: 0;
+	width: 45%;
+}
+#footer .lastmodified {
+	position: relative; /* IE bugfix cont'd */
+	float: right;
+	width: 45%;
+	padding: 5px;
+	margin: 0;
+	text-align: right;
+}
+#footer a { color: white; }
+#footer .logos img {
+	margin-right: 5px;
+}
+
+/**
+ * Tables
+ */
+
+#content .ForrestTable { 
+	background-color: #7099C5; 
+	color: black;
+	margin-bottom: 1em;
+}
+#content .ForrestTable th a:link { color: white; }
+#content .ForrestTable th a:visited { color: #cfdced; }
+#content .ForrestTable th a:active { color: #000066; }
+#content .ForrestTable th a:hover { color: #000066; }
+#content .ForrestTable caption { text-align: left; color: black; font-weight: bold; }
+#content .ForrestTable th { text-align: center; color: #ffffff; }
+#content .ForrestTable td { text-align: center; background-color: #f0f0ff; color: black;
padding: 5px 10px; }
+
+#content .activities th {
+	font-weight: bold;
+	text-align: left;
+	width: 25%;
+}
+#content .activities td {
+	vertical-align: top;
+	padding-bottom: 1em;
+}
+
+/**
+ * Misc Styles
+ */
+
+acronym { cursor: help; }
+
+li p {
+	margin: 0;
+	padding: 0;
+}
+
+.pdflink {
+	float: right;
+}
+
+.pdflink a {
+	display: block;
+	font-size: 90%;
+	text-align: center;
+	margin: 0 5px;
+}
+
+.pdflink img {
+	display: block;
+	height: 32px;
+	width: 32px;
+}
+.printlink {
+	float: right;
+}
+.printlink a {
+	display: block;
+	text-align: center;
+	margin: 0 5px;
+}
+.printlink img {
+	display: block;
+	height: 32px;
+	width: 32px;
+}
\ No newline at end of file

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/chapter.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/chapter_open.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/current.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/doc.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/header_white_line.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/label.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/page.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/pdfdoc.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/printer.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/search-left.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/search-right.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/sidebar_bg.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/singlepage.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/spacer.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/tab-left.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/tab-right.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/images/xmldoc.gif
==============================================================================
Binary file. No diff available.

Added: forrest/trunk/src/core/context/skins/css-style-dev/xslt/fo/document2fo.xsl
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/skins/css-style-dev/xslt/fo/document2fo.xsl	Sun Jul  4
03:26:04 2004
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version="1.0">
+
+<xsl:import href="../../../common/xslt/fo/document2fo.xsl"/>
+
+</xsl:stylesheet>
+
+

Added: forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/book2menu.xsl
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/book2menu.xsl	Sun Jul  4
03:26:04 2004
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<!--
+book2menu.xsl generates the HTML menu.  See the imported book2menu.xsl for
+details.
+-->
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <xsl:import href="../../../common/xslt/html/book2menu.xsl"/>
+
+  <xsl:template match="book">
+    <div id="menu">
+        <ul>
+	      <xsl:apply-templates select="menu"/>
+	    </ul>
+    </div>
+  </xsl:template>
+
+  <xsl:template match="menu">
+	<li>
+    <h1><xsl:value-of select="@label"/></h1>
+    <ul>
+      <xsl:apply-templates/>
+    </ul>
+    </li>
+  </xsl:template>
+
+  <xsl:template match="menu-item[@type='hidden']"/>
+
+  <xsl:template match="menu-item">
+    <li>
+     <xsl:apply-imports/>
+    </li>
+  </xsl:template>
+
+  <xsl:template name="selected">
+	<div class="current"><xsl:value-of select="@label"/></div>
+  </xsl:template>
+
+  <xsl:template name="print-external">
+    <font color="#ffcc00">
+      <xsl:apply-imports/>
+    </font>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/document2html.xsl
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/document2html.xsl	Sun Jul
 4 03:26:04 2004
@@ -0,0 +1,112 @@
+<?xml version="1.0"?>
+<!--
+This stylesheet contains templates for converting documentv11 to HTML.  See the
+imported document2html.xsl for details.
+-->
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <xsl:import href="../../../common/xslt/html/document2html.xsl"/>
+
+  <xsl:template match="document">
+    <div id="content">
+
+      <!--xsl:call-template name="printlink"/> 
+      <xsl:call-template name="pdflink"/>
+      <xsl:call-template name="xmllink"/-->
+      <div id="skinconf-pdflink"/>
+
+      <xsl:if test="normalize-space(header/title)!=''">
+        <h1><xsl:value-of select="header/title"/></h1>
+      </xsl:if>
+
+      <xsl:if test="normalize-space(header/subtitle)!=''">
+        <h2><xsl:value-of select="header/subtitle"/></h2>
+      </xsl:if>
+
+      <xsl:apply-templates select="header/type"/>
+      <xsl:apply-templates select="header/notice"/>
+      <xsl:apply-templates select="header/abstract"/>
+      <xsl:apply-templates select="body"/>
+
+      <div class="attribution">
+        <xsl:apply-templates select="header/authors"/>
+        <xsl:if test="header/authors and header/version">
+          <xsl:text>; </xsl:text>
+        </xsl:if>
+        <xsl:apply-templates select="header/version"/>
+      </div>
+      
+    </div>
+  </xsl:template>
+  
+  <xsl:template match="section">
+    <!-- count the number of section in the ancestor-or-self axis to compute
+         the title element name later on -->
+    <xsl:variable name="sectiondepth" select="count(ancestor-or-self::section)"/>
+    <a name="{generate-id()}"/>
+    <xsl:apply-templates select="@id"/>
+    <!-- generate a title element, level 1 -> h2, level 2 -> h3 and so on... -->
+    <xsl:element name="{concat('h',$sectiondepth + 1)}">
+      <xsl:value-of select="title"/>
+      <xsl:if test="$notoc='true' and $sectiondepth = 3">
+        <span style="float: right"><a href="#{@id}-menu">^</a></span>
+      </xsl:if>
+    </xsl:element>
+
+    <xsl:apply-templates select="*[not(self::title)]"/>
+  </xsl:template>
+  
+  <!-- Generates the "printer friendly version" link -->
+  <!--xsl:template name="printlink">
+    <xsl:if test="$disable-print-link = 'false'"> 
+    <div class="printlink">
+	  <a href="javascript:void(window.print())">
+        <img class="skin" src="{$skin-img-dir}/printer.gif" alt="Print this Page"/>
+	  </a>
+	</div>
+    </xsl:if>
+  </xsl:template-->
+
+  <!-- Generates the PDF link -->
+  <!--xsl:template name="pdflink">
+    <xsl:if test="$dynamic-page='false'">
+      <xsl:if test="not($config/disable-pdf-link) or $disable-pdf-link = 'false'">

+      <div class="printlink">
+        <a href="{$filename-noext}.pdf">
+          <img class="skin" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF"/>
+        </a>
+  	  </div>
+      </xsl:if>
+    </xsl:if>
+  </xsl:template-->
+  
+
+  <!-- Generates the XML link -->
+  <!--xsl:template name="xmllink">
+    <xsl:if test="$dynamic-page='false'">
+      <xsl:if test="$disable-xml-link = 'false'">
+      <div class="printlink">
+        <a href="{$filename-noext}.xml">
+          <img class="skin" src="{$skin-img-dir}/xmldoc.gif" alt="xml"/>
+        </a>
+      </div>
+      </xsl:if>
+    </xsl:if>
+  </xsl:template-->
+
+  <xsl:template match="figure">
+    <xsl:apply-templates select="@id"/>
+    <div style="text-align: center;">
+      <img src="{@src}" alt="{@alt}" class="figure">
+        <xsl:if test="@height">
+          <xsl:attribute name="height"><xsl:value-of select="@height"/></xsl:attribute>
+        </xsl:if>
+        <xsl:if test="@width">
+          <xsl:attribute name="width"><xsl:value-of select="@width"/></xsl:attribute>
+        </xsl:if>
+      </img>
+    </div>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/site2xhtml.xsl
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/site2xhtml.xsl	Sun Jul  4
03:26:04 2004
@@ -0,0 +1,316 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!--
+site2xhtml.xsl is the final stage in HTML page production.  It merges HTML from
+document2html.xsl, tab2menu.xsl and book2menu.xsl, and adds the site header,
+footer, searchbar, css etc.  As input, it takes XML of the form:
+
+<site>
+  <div class="menu">
+    ...
+  </div>
+  <div class="tab">
+    ...
+  </div>
+  <div class="content">
+    ...
+  </div>
+</site>
+
+$Id: site2xhtml.xsl,v 1.19 2003/12/26 00:46:04 mroch Exp $
+-->
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <xsl:import href="../../../common/xslt/html/site2xhtml.xsl"/>
+<!--+
+	|Overall site template
+	+-->
+  <xsl:template match="site">
+    <!--html lang="en" xml:lang="en"-->
+    <html>
+<!--+
+	|HTML-head
+	+-->
+      <head>
+<!--+
+   	|generator meta
+   	+-->
+ <xsl:call-template name="html-meta"/>
+<!--+
+	|title
+	+-->
+        <title><xsl:value-of select="div[@id='content']/h1"/></title>
+<!--+
+	|stylesheets
+	+-->   
+        <link rel="stylesheet" href="{$root}skin/basic.css" type="text/css" />
+        <link rel="stylesheet" href="{$root}skin/screen.css" type="text/css" media="screen"
/>
+        <link rel="stylesheet" href="{$root}skin/print.css" type="text/css" media="print"
/>
+<!--+
+	|favicon
+	+-->
+        <xsl:if test="//skinconfig/favicon-url">
+          <link rel="shortcut icon">
+            <xsl:attribute name="href">
+              <xsl:value-of select="concat($root,//skinconfig/favicon-url)"/>
+            </xsl:attribute>
+          </link>
+        </xsl:if>
+  
+      </head>
+<!--+
+	|HTML-body
+	+-->
+      <body>
+<!--+Site structure
+ 	 +++++++++++++++++++++++++++
+     +=========================+
+     |       topstrip          |
+     +=========================+
+     |                         |
+     |       centerstrip       |
+     |                         |
+     |                         |
+     +=========================+
+     |       bottomstrip       |
+     +=========================+
+     +++++++++++++++++++++++++++
+     +-->
+<!--+
+   	|topstrip with logo's and search box 
+   	+-->
+    <div id="top">
+<xsl:comment>+
+    |breadtrail
+    +</xsl:comment>
+      <div class="breadtrail">
+          <xsl:call-template name="breadcrumbs"/>
+      </div>
+<xsl:comment>+
+    |header
+    +</xsl:comment>
+	  <div class="header">          
+<xsl:comment>+
+    |start group logo
+    +</xsl:comment> 
+        <xsl:if test="$config/group-url">
+          <div class="grouplogo">
+            <xsl:call-template name="renderlogo">
+              <xsl:with-param name="name" select="$config/group-name"/>
+              <xsl:with-param name="url" select="$config/group-url"/>
+              <xsl:with-param name="logo" select="$config/group-logo"/>
+              <xsl:with-param name="root" select="$root"/>
+              <xsl:with-param name="description" select="$config/group-description"/>
+            </xsl:call-template>
+          </div>
+        </xsl:if>
+<xsl:comment>+
+    |end group logo
+    +</xsl:comment>
+<xsl:comment>+
+    |start Project Logo
+    +</xsl:comment> 
+   <xsl:variable name="xtest">
+       <xsl:choose>
+                <xsl:when 
+                    test="$config/group-url and $config/search and not($config/search/@box-location
= 'alt')">
+                     <xsl:text>true</xsl:text></xsl:when>
+                <xsl:otherwise><xsl:text>false</xsl:text></xsl:otherwise>
+             </xsl:choose>
+   </xsl:variable>
+		<div class="projectlogo">
+            <xsl:if test="$xtest='false'" >
+                    <xsl:attribute name="class">
+                        <xsl:text>projectlogoA1</xsl:text>
+                    </xsl:attribute>      
+            </xsl:if>
+          <xsl:call-template name="renderlogo">
+            <xsl:with-param name="name" select="$config/project-name"/>
+            <xsl:with-param name="url" select="$config/project-url"/>
+            <xsl:with-param name="logo" select="$config/project-logo"/>
+            <xsl:with-param name="root" select="$root"/>
+            <xsl:with-param name="description" select="$config/project-description"/>
+	      </xsl:call-template>
+	    </div>
+<xsl:comment>+
+    |end Project Logo
+    +</xsl:comment> 
+
+        <xsl:if 
+            test="$config/search and not($config/search/@box-location = 'alt')">
+<xsl:comment>+
+    |start Search
+    +</xsl:comment> 
+            <div class="searchbox">
+                <form method="get" action="http://www.google.com/search"> 
+                    <p><label for="query">Search the <xsl:value-of 
+                    select="$config/searchsite-name"/> site:</label></p> <input

+                    type="hidden" name="sitesearch" 
+                    value="{$config/searchsite-domain}"/> <input type="text" 
+                    id="query" name="q" size="15"/>&#160; <input type="submit"

+                    value="Search" name="Search"/> </form>
+            </div>
+<xsl:comment>+
+    |end search
+    +</xsl:comment> 
+        </xsl:if>
+<xsl:comment>+
+    |start Tabs
+    +</xsl:comment>
+        <xsl:apply-templates select="ul[@id='tabs']"/>
+<xsl:comment>+
+    |end Tabs
+    +</xsl:comment>
+      </div>
+
+    </div>
+<!--+
+   	|centerstrip with menu and mainarea
+   	+-->
+    <div id="main">
+<xsl:comment>+
+    |start Menu, mainarea
+    +</xsl:comment>
+	    <xsl:if test="div[@id='menu']/ul/li">
+		  <xsl:call-template name="menu"/>
+	    </xsl:if>
+<xsl:comment>+
+    |start content
+    +</xsl:comment>
+	    <xsl:apply-templates select="div[@id='content']"/>
+<xsl:comment>+
+    |end content
+    +</xsl:comment>	    
+	    <div class="clearboth">&#160;</div>
+
+	</div>
+<!--+
+   	|bottomstrip with footer
+   	+-->
+    <div id="footer">
+<xsl:comment>+
+    |start bottomstrip
+    +</xsl:comment>
+		  <div class="lastmodified"><script type="text/javascript"><![CDATA[<!--
+			  document.write("Last Published: " + document.lastModified);
+			  //  -->]]></script></div>
+
+          <div class="copyright">
+ 			Copyright &#169;<xsl:text> </xsl:text><xsl:value-of select="$config/year"/><xsl:text>
</xsl:text><xsl:value-of select="$config/vendor"/>
+          </div>
+          
+          <xsl:if test="$filename = 'index.html'">
+            <div class="logos">
+              <!-- W3C logos -->
+              <xsl:call-template name="compliancy-logos"/>
+
+              <xsl:if test="$config/credits">
+                <xsl:for-each select="$config/credits/credit[not(@role='pdf')]">
+                  <xsl:variable name="name" select="name"/>
+                  <xsl:variable name="url" select="url"/>
+                  <xsl:variable name="image" select="image"/>
+                  <xsl:variable name="width" select="width"/>
+                  <xsl:variable name="height" select="height"/>
+                  <a href="{$url}">
+                    <img alt="{$name} logo" border="0">
+                      <xsl:attribute name="src">
+                        <xsl:if test="not(starts-with($image, 'http://'))"><xsl:value-of
select="$root"/></xsl:if>
+                        <xsl:value-of select="$image"/>
+                      </xsl:attribute>
+                      <xsl:attribute name="style">
+                        <xsl:if test="$width">width: <xsl:value-of select="$width"/>px;</xsl:if>
+                        <xsl:if test="$height">height: <xsl:value-of select="$height"/>px;</xsl:if>
+                      </xsl:attribute>
+                    </img>
+                  </a>
+                </xsl:for-each>
+              </xsl:if>
+            </div>
+          </xsl:if>
+          <xsl:if test="$config/host-logo and not($config/host-logo = '')">
+            <div class="host">
+              <xsl:call-template name="renderlogo">
+                <xsl:with-param name="name" select="$config/host-name"/>
+                <xsl:with-param name="url" select="$config/host-url"/>
+                <xsl:with-param name="logo" select="$config/host-logo"/>
+                <xsl:with-param name="root" select="$root"/>
+              </xsl:call-template>
+            </div>
+          </xsl:if>
+<xsl:comment>+
+    |end bottomstrip
+    +</xsl:comment>
+    </div>
+
+
+      </body>
+    </html>
+  </xsl:template>
+
+  <!-- Add links to any standards-compliance logos -->
+  <xsl:template name="compliancy-logos">
+    <xsl:if test="$config/disable-compliance-links = 'false'">
+      <a href="http://validator.w3.org/check/referer"><img class="logoImage" 
+          src="{$skin-img-dir}/valid-html401.png"
+          alt="Valid HTML 4.01!" style="height: 31px; width: 88px;" /></a>
+          
+      <a href="http://jigsaw.w3.org/css-validator/"><img class="logoImage" 
+          src="{$skin-img-dir}/vcss.png" 
+          alt="Valid CSS!" style="height: 31px; width: 88px;"/></a>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template name="menu">
+<xsl:comment>+
+    |start Menu
+    +</xsl:comment>
+	<xsl:apply-templates select="div[@id='menu']"/>
+<xsl:comment>+
+    |end Menu
+    +</xsl:comment>
+  </xsl:template>
+  <!-- Generates the PDF link -->
+  <xsl:template match="div[@id='skinconf-pdflink']">
+    <xsl:if test="not($config/disable-pdf-link) or $disable-pdf-link = 'false'"> 
+      <div class="pdflink"><a href="{$filename-noext}.pdf" class="dida">
+        <img class="skin" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF"/><br/>
+        PDF</a>
+      </div>
+    </xsl:if>
+  </xsl:template>
+  <xsl:template match="node()|@*" priority="-1">
+    <xsl:copy>
+      <xsl:apply-templates select="@*"/>
+      <xsl:apply-templates/>
+    </xsl:copy>
+  </xsl:template>
+<xsl:template name="html-meta">
+<!--+
+   	|generator meta
+   	+-->
+<xsl:comment>+
+    |start generator meta
+    +</xsl:comment>
+    	<meta name="Generator" content="Apache Forrest"/>
+		<meta name="Forrest-version" content="SVN-Head (0.6-dev)"/>
+      	<meta name="Forrest-skin-name" content="css-style"/>
+<xsl:comment>+
+    |end generator meta
+    +</xsl:comment>
+</xsl:template>
+</xsl:stylesheet>

Added: forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/tab2menu.xsl
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/tab2menu.xsl	Sun Jul  4 03:26:04
2004
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<!--
+This stylesheet generates 'tabs' at the top left of the screen.
+See the imported tab2menu.xsl for details.
+-->
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <xsl:import href="../../../common/xslt/html/tab2menu.xsl"/>
+
+  <xsl:template match="tabs">
+  	<ul id="tabs">
+  		<xsl:call-template name="base-tabs"/>
+  	</ul>
+  </xsl:template>
+
+  <xsl:template name="pre-separator">
+  </xsl:template>
+
+  <xsl:template name="post-separator">
+  </xsl:template>
+
+  <xsl:template name="separator">
+  </xsl:template>
+
+  <xsl:template name="selected">
+	<li class="current"><xsl:call-template name="base-selected"/></li>
+  </xsl:template>
+
+  <xsl:template name="not-selected">
+	<li><xsl:call-template name="base-not-selected"/></li>
+  </xsl:template>
+
+</xsl:stylesheet>

Mime
View raw message