You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2004/07/23 22:01:12 UTC

svn commit: rev 23196 - in forrest/trunk/src/core/context/skins/css-style-dev: . css xslt/html

Author: thorsten
Date: Fri Jul 23 13:01:12 2004
New Revision: 23196

Modified:
   forrest/trunk/src/core/context/skins/css-style-dev/css/profile.css.xslt
   forrest/trunk/src/core/context/skins/css-style-dev/css/screen.css
   forrest/trunk/src/core/context/skins/css-style-dev/note.txt
   forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/site2xhtml.xsl
Log:
finished footer: added feedback notice

Modified: forrest/trunk/src/core/context/skins/css-style-dev/css/profile.css.xslt
==============================================================================
--- forrest/trunk/src/core/context/skins/css-style-dev/css/profile.css.xslt	(original)
+++ forrest/trunk/src/core/context/skins/css-style-dev/css/profile.css.xslt	Fri Jul 23 13:01:12 2004
@@ -63,7 +63,16 @@
 <xsl:template match="color[@name='subheading']">
 .subheading { background-color: <xsl:value-of select="@value"/>;} 
 </xsl:template--> 
-
+<xsl:template match="color[@name='feedback']">    
+#feedback {
+	color: <xsl:value-of select="@font"/>;
+	background: <xsl:value-of select="@value"/>;
+	text-align: <xsl:value-of select="@align"/>;
+}
+#feedback #feedbackto {
+	color: <xsl:value-of select="@font"/>;
+}   
+</xsl:template>
 <xsl:template match="color[@name='published']">
 #published { 
     color: <xsl:value-of select="@font"/>;

Modified: forrest/trunk/src/core/context/skins/css-style-dev/css/screen.css
==============================================================================
--- forrest/trunk/src/core/context/skins/css-style-dev/css/screen.css	(original)
+++ forrest/trunk/src/core/context/skins/css-style-dev/css/screen.css	Fri Jul 23 13:01:12 2004
@@ -281,7 +281,15 @@
 #content li {
 	padding: 0 5px;
 }
-
+#feedback {
+	color: black;
+	background: #CFDCED;
+	text-align:center;
+}
+#feedback #feedbackto {
+	font-size: 90%;
+	color: black;
+}
 #footer {
 	clear: both;
 	position: relative; /* IE bugfix (http://www.dracos.co.uk/web/css/ie6floatbug/) */

Modified: forrest/trunk/src/core/context/skins/css-style-dev/note.txt
==============================================================================
--- forrest/trunk/src/core/context/skins/css-style-dev/note.txt	(original)
+++ forrest/trunk/src/core/context/skins/css-style-dev/note.txt	Fri Jul 23 13:01:12 2004
@@ -27,12 +27,12 @@
 , but make it configurable.
 -> DONE
 - footer needs some attention
--> TODO/HALFWAY
+-> DONE
 -- the footer do not have the color profile! Enable it!
 -> DONE
 -- the footer should as well contain a feedback link. 
 See http://issues.apache.org/eyebrowse/ReadMsg?listName=forrest-user@xml.apache.org&msgNo=71
--> TODO
+-> DONE
 
 - introduce credits alternativ location
 -> DONE

Modified: forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/site2xhtml.xsl	(original)
+++ forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/site2xhtml.xsl	Fri Jul 23 13:01:12 2004
@@ -260,7 +260,17 @@
           <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>
-          
+          <div id="feedback">
+          	<xsl:value-of select="$config/feedback"/>
+          	<a id="feedbackto">
+          		<xsl:attribute name="href">
+    			    <xsl:value-of select="$config/feedback/@href"/>
+       				<xsl:value-of select="$path"/>
+          		</xsl:attribute>
+	          	<xsl:value-of select="$config/feedback/@to"/>
+          	</a>
+          	
+          </div>
           <xsl:if test="$filename = 'index.html'">
             <div class="logos">
               <!-- W3C logos -->
@@ -286,27 +296,7 @@
                   </a>
                 </xsl:for-each>
               </xsl:if>
-              <xsl:if test="$config/credits and not ($config/credits/credit/@box-location = 'alt')">
-                <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 = '')">