final design
authorJuti Noppornpitak <jnopporn@csclub.uwaterloo.ca>
Sun, 18 Mar 2007 18:24:08 +0000 (18:24 +0000)
committerJuti Noppornpitak <jnopporn@csclub.uwaterloo.ca>
Sun, 18 Mar 2007 18:24:08 +0000 (18:24 +0000)
cscweb.xsl
default.css

index a57e80e..6318416 100755 (executable)
@@ -20,6 +20,7 @@
   </style>
 </head>
 <body bgcolor="#ffffff">
+<a name="pagetop"></a>
 <xsl:apply-templates select="biglogo"/>
 <xsl:apply-templates select="header">
 <xsl:with-param name="title" select="@title"/>
 </xsl:template>
 
 <xsl:template match="header" name="header">
+  <a name="pagetop"></a>
   <div id="vfeed"></div>
   <div class="webtitle"><div class="webtitle-inner">
   <table cellpadding="0" cellspacing="0" border="0" align="left"><tr>
     </td><td>
       <a href="/"><img src="/logos/csc_title.png"/></a>
     </td><td valign="top" align="right">
-      <script language="javascript" src="/ajax.js"></script>
-      <script language="javascript" src="/vfeed.js"></script>
-      <noscript>No Dynamic Visual Feed</noscript>
-      <div id="extracmds">
-      </div>
     </td>
   </tr></table>
   </div></div>
 </xsl:template>
 
 <xsl:template match="footer" name="footer">
+ <a href="#pagetop">Go to top</a>
  <div class="footer">
  <xsl:call-template name="menu"/>
  <p>
   This page was generated on <xsl:value-of select="$date"/> at
   <xsl:value-of select="$time"/>.
  </p>
+ <p class="infobox">
+  The overall layout is designed specially for Mozilla-based browsers.
+  It is also printer-friendly version. Please report any difficulty you
+  may find, including the version of your browser and your operating system.
+ </p>
  <p>
    Copyright
    <xsl:text disable-output-escaping="yes">&amp;copy;</xsl:text>
index 5996be3..c4ffe97 100755 (executable)
@@ -92,8 +92,29 @@ p {
        height:60px;
 }
 
+.pagetop,
+.pagetop:link,
+.pagetop:visited,
+.pagetop:hover {
+       display:block;
+       padding:0 10px 10px 10px;
+       margin:10px 0 0 0;
+       border-top:1px solid #ccc;
+       background-color:#eee;
+       color:#999;
+       font-size:9px;
+       text-align:right;
+       text-transform:uppercase;
+}
+
 .footer {
-       border-top:1px dotted #ccc;
+       margin-top:10px;
+       padding-top:10px;
+       border-top:1px solid #ccc;
        font-size:10px;
        color:#666;
 }
+
+.infobox {
+       border:1px solid #ccc;
+}