final design

This commit is contained in:
Juti Noppornpitak 2007-03-18 18:24:08 +00:00
parent ecc10fc05c
commit 6fffc50433
2 changed files with 30 additions and 6 deletions

View File

@ -20,6 +20,7 @@
</style> </style>
</head> </head>
<body bgcolor="#ffffff"> <body bgcolor="#ffffff">
<a name="pagetop"></a>
<xsl:apply-templates select="biglogo"/> <xsl:apply-templates select="biglogo"/>
<xsl:apply-templates select="header"> <xsl:apply-templates select="header">
<xsl:with-param name="title" select="@title"/> <xsl:with-param name="title" select="@title"/>
@ -132,6 +133,7 @@
</xsl:template> </xsl:template>
<xsl:template match="header" name="header"> <xsl:template match="header" name="header">
<a name="pagetop"></a>
<div id="vfeed"></div> <div id="vfeed"></div>
<div class="webtitle"><div class="webtitle-inner"> <div class="webtitle"><div class="webtitle-inner">
<table cellpadding="0" cellspacing="0" border="0" align="left"><tr> <table cellpadding="0" cellspacing="0" border="0" align="left"><tr>
@ -140,11 +142,6 @@
</td><td> </td><td>
<a href="/"><img src="/logos/csc_title.png"/></a> <a href="/"><img src="/logos/csc_title.png"/></a>
</td><td valign="top" align="right"> </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> </td>
</tr></table> </tr></table>
</div></div> </div></div>
@ -176,12 +173,18 @@
</xsl:template> </xsl:template>
<xsl:template match="footer" name="footer"> <xsl:template match="footer" name="footer">
<a href="#pagetop">Go to top</a>
<div class="footer"> <div class="footer">
<xsl:call-template name="menu"/> <xsl:call-template name="menu"/>
<p> <p>
This page was generated on <xsl:value-of select="$date"/> at This page was generated on <xsl:value-of select="$date"/> at
<xsl:value-of select="$time"/>. <xsl:value-of select="$time"/>.
</p> </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> <p>
Copyright Copyright
<xsl:text disable-output-escaping="yes">&amp;copy;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;copy;</xsl:text>

View File

@ -92,8 +92,29 @@ p {
height:60px; 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 { .footer {
border-top:1px dotted #ccc; margin-top:10px;
padding-top:10px;
border-top:1px solid #ccc;
font-size:10px; font-size:10px;
color:#666; color:#666;
} }
.infobox {
border:1px solid #ccc;
}