[Yanel-commits] rev 30223 - in public/yanel/contributions/realms/foaf: data/css src/resources/findfriend/xslt

michi at wyona.com michi at wyona.com
Mon Jan 7 23:30:39 CET 2008


Author: michi
Date: 2008-01-07 23:30:39 +0100 (Mon, 07 Jan 2008)
New Revision: 30223

Added:
   public/yanel/contributions/realms/foaf/data/css/homepage.css
Modified:
   public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl
Log:
css to homepage added

Added: public/yanel/contributions/realms/foaf/data/css/homepage.css
===================================================================
--- public/yanel/contributions/realms/foaf/data/css/homepage.css	                        (rev 0)
+++ public/yanel/contributions/realms/foaf/data/css/homepage.css	2008-01-07 22:30:39 UTC (rev 30223)
@@ -0,0 +1,57 @@
+/*
+* Copyright 2008 Wyona
+*/
+
+body {
+  margin: 10px;
+  padding: 0px;
+}
+
+a {
+  text-decoration: none;  
+  font-weight: bold;
+  color: #0066CC;
+}
+
+a:hover {
+  font-weight: bold;
+  color: #3399FF;
+}
+
+a:visited {
+  font-weight: bold;
+  color: #FFCC00;
+}
+
+a:visited:hover {
+  font-weight: bold;
+  color: #3399FF;
+}
+
+#copyright{
+  font-family: verdana, sans-serif;
+  font-size: 9px;
+  /*text-align: center;*/
+  color: #333333;
+
+  /*border-top: solid 1px #b1b1b1;*/
+  border-left: solid 1px #b1b1b1;
+  border-right: solid 1px #b1b1b1;
+}
+  
+#copyright a {
+  text-decoration: none;
+  color: #3366cc;
+}
+
+#copyright a:hover {
+  color: #ff6600;
+}
+
+#copyright a:visited {
+  color: #909090;
+}
+
+#copyright a:visited:hover {
+  color: #ff6600;
+}

Modified: public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl
===================================================================
--- public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl	2008-01-07 22:23:48 UTC (rev 30222)
+++ public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl	2008-01-07 22:30:39 UTC (rev 30223)
@@ -22,12 +22,13 @@
 <head>
   <title>Find a friend</title>
   <link rel="foaf-introspection" type="application/foaf+xml" href="foaf-introspection.xml"/>
+  <link rel="stylesheet" type="text/css" href="css/homepage.css"/>
 </head>
 
 <body>
 <p>
 <font size="-1">
-<xsl:choose><xsl:when test="$username = 'foaf:uin'"><a href="login.html">Login</a></xsl:when><xsl:otherwise><a href="?yanel.usecase=logout">Logout</a> (<xsl:value-of select="$username"/>)</xsl:otherwise></xsl:choose> | <!--<a href="register.html">Register</a> | --><a href="about.html">About</a> | <a href="developers.html">Developers</a> | <a href="http://yanel.wyona.org/en/download/index.html">Download</a>
+<xsl:choose><xsl:when test="$username = 'foaf:uin'"><a href="login.html">Login</a></xsl:when><xsl:otherwise>Signed in as <b><xsl:value-of select="$username"/></b>&#160;(<a href="?yanel.usecase=logout">Logout</a>)</xsl:otherwise></xsl:choose> | <!--<a href="register.html">Register</a> | --><a href="about.html">About</a> | <a href="developers.html">Developers</a> | <a href="http://yanel.wyona.org/en/download/index.html">Download</a>
 </font>
 </p>
 
@@ -55,9 +56,10 @@
 </table>
 </p>
 <xsl:apply-templates select="/foaf:foaf/foaf:provider"/>
-<p>
-Copyright &#169; 2007 Wyona
-</p>
+
+<div id="copyright">
+Copyright &#169; 2008 Wyona
+</div>
 </xsl:when>
 
 
@@ -83,9 +85,9 @@
 </table>
 </p>
 
-<p>
-Copyright &#169; 2007 Wyona
-</p>
+<div id="copyright">
+Copyright &#169; 2008 Wyona
+</div>
 </center>
 </xsl:otherwise>
 </xsl:choose>



More information about the Yanel-commits mailing list