Venice now groks Cascading StyleSheets; the stylesheet is generated by a
special servlet and cached at runtime; various JSP pages and formatter classes have been updated to respect the stylesheet settings
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
<HEAD>
|
||||
<%= rdat.getTitleTag(basedat.getTitle(rdat)) %>
|
||||
<%= rdat.getStdBaseFontTag(3) %>
|
||||
<LINK REL="stylesheet" HREF="<%= rdat.getEncodedServletPath("stylesheet") %>" TYPE="text/css">
|
||||
<% if (rdat.noSmartTags()) { %>
|
||||
<META NAME="MSSmartTagsPreventParsing" CONTENT="TRUE">
|
||||
<% } // end if %>
|
||||
@@ -44,29 +45,29 @@
|
||||
|
||||
<BODY BGCOLOR="<%= rdat.getStdColor(ColorSelectors.FRAME_BACKGROUND) %>">
|
||||
<% if (rdat.useHTMLComments()) { %><!-- BEGIN PAGE HEADER --><% } %>
|
||||
<TABLE BORDER=0 BGCOLOR="<%= rdat.getStdColor(ColorSelectors.TITLE_BACKGROUND) %>" WIDTH="100%"
|
||||
<TABLE CLASS="tbar" BORDER=0 BGCOLOR="<%= rdat.getStdColor(ColorSelectors.TITLE_BACKGROUND) %>" WIDTH="100%"
|
||||
CELLPADDING=2 CELLSPACING=0>
|
||||
<TR VALIGN=MIDDLE>
|
||||
<TD ALIGN=LEFT WIDTH=20% CELLPADDING=2>
|
||||
<TD ALIGN=LEFT WIDTH=20% CELLPADDING=2 CLASS="tbar">
|
||||
<% if (rdat.useHTMLComments()) { %><!-- Site logo --><% } %>
|
||||
<%= rdat.getSiteImageTag(2,2) %>
|
||||
</TD>
|
||||
|
||||
<TD ALIGN=CENTER WIDTH=30% CELLPADDING=2><%= header_font %><B>
|
||||
<TD ALIGN=CENTER WIDTH=30% CELLPADDING=2 CLASS="tbar"><%= header_font %><B>
|
||||
<% if (rdat.useHTMLComments()) { %><!-- Links to Front Page, Help, Find --><% } %>
|
||||
<A HREF="<%= rdat.getEncodedServletPath("top") %>"><%= header_link_hilite %>Front Page</FONT></A><P>
|
||||
<A HREF="/TODO"><%= header_link_hilite %>Help</FONT></A> |
|
||||
<A HREF="<%= rdat.getEncodedServletPath("find") %>"><%= header_link_hilite %>Find</FONT></A>
|
||||
</B></FONT></TD>
|
||||
|
||||
<TD ALIGN=RIGHT WIDTH=50% CELLPADDING=2>
|
||||
<TD ALIGN=RIGHT WIDTH=50% CELLPADDING=2 CLASS="tbar">
|
||||
<% if (rdat.useHTMLComments()) { %><!-- Banner Ad --><% } %>
|
||||
<% basedat.renderBannerAd(out,rdat); %>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<% if (rdat.useHTMLComments()) { %><!-- Login reminders --><% } %>
|
||||
<TR VALIGN=MIDDLE><TD ALIGN=CENTER COLSPAN=3><%= header_font %>
|
||||
<TR VALIGN=MIDDLE><TD ALIGN=CENTER COLSPAN=3 CLASS="tbar"><%= header_font %>
|
||||
<% if (user.isLoggedIn()) { %>
|
||||
You are logged in as <B><%= StringUtil.encodeHTML(user.getUserName()) %></B>
|
||||
<% if (basedat.displayLoginLinks()) { %>
|
||||
@@ -97,16 +98,16 @@
|
||||
|
||||
<TABLE BORDER=0 WIDTH="100%" CELLPADDING=2 CELLSPACING=0>
|
||||
<TR VALIGN=TOP>
|
||||
<TD ALIGN=LEFT WIDTH=120 BGCOLOR="<%= rdat.getStdColor(ColorSelectors.LEFT_BACKGROUND) %>">
|
||||
<TD ALIGN=LEFT WIDTH=120 CLASS="lbar" BGCOLOR="<%= rdat.getStdColor(ColorSelectors.LEFT_BACKGROUND) %>">
|
||||
<TABLE ALIGN=LEFT WIDTH=120 CELLPADDING=0 CELLSPACING=0>
|
||||
<% if (rdat.useHTMLComments()) { %><!-- BEGIN LEFT SIDEBAR --><% } %>
|
||||
<TR VALIGN=TOP><TD VALIGN=LEFT><%= leftfont %>
|
||||
<TR VALIGN=TOP><TD VALIGN=LEFT CLASS="lbar"><%= leftfont %>
|
||||
<% if (rdat.useHTMLComments()) { %><!-- variable menu --><% } %>
|
||||
<% basedat.renderMenu(session,out,rdat); %>
|
||||
</FONT></TD></TR>
|
||||
|
||||
<TR VALIGN=TOP><TD VALIGN=LEFT> </TD></TR>
|
||||
<TR VALIGN=TOP><TD VALIGN=LEFT><%= leftfont %>
|
||||
<TR VALIGN=TOP><TD VALIGN=LEFT CLASS="lbar"><%= leftfont %>
|
||||
<% if (rdat.useHTMLComments()) { %><!-- fixed menu --><% } %>
|
||||
<% basedat.renderFixedMenu(out,rdat); %>
|
||||
</FONT></TD></TR>
|
||||
@@ -116,7 +117,8 @@
|
||||
</TABLE>
|
||||
</TD>
|
||||
|
||||
<TD ALIGN=LEFT WIDTH="100%" BGCOLOR="<%= rdat.getStdColor(ColorSelectors.CONTENT_BACKGROUND) %>">
|
||||
<TD ALIGN=LEFT WIDTH="100%" CLASS="content"
|
||||
BGCOLOR="<%= rdat.getStdColor(ColorSelectors.CONTENT_BACKGROUND) %>">
|
||||
<% if (rdat.useHTMLComments()) { %><!-- BEGIN PAGE CONTENT --><% } %>
|
||||
<% basedat.renderContent(application,out,rdat); %>
|
||||
<% if (rdat.useHTMLComments()) { %><!-- END PAGE CONTENT --><% } %>
|
||||
@@ -124,15 +126,19 @@
|
||||
</TR>
|
||||
|
||||
<TR VALIGN=TOP>
|
||||
<TD ALIGN=LEFT WIDTH=120 BGCOLOR="<%= rdat.getStdColor(ColorSelectors.LEFT_BACKGROUND) %>"> </TD>
|
||||
<TD ALIGN=LEFT WIDTH="100%" BGCOLOR="<%= rdat.getStdColor(ColorSelectors.CONTENT_BACKGROUND) %>">
|
||||
<TD ALIGN=LEFT WIDTH=120 CLASS="lbar"
|
||||
BGCOLOR="<%= rdat.getStdColor(ColorSelectors.LEFT_BACKGROUND) %>"> </TD>
|
||||
<TD ALIGN=LEFT WIDTH="100%" CLASS="footer"
|
||||
BGCOLOR="<%= rdat.getStdColor(ColorSelectors.CONTENT_BACKGROUND) %>">
|
||||
<% if (rdat.useHTMLComments()) { %><!-- PAGE FOOTER --><% } %>
|
||||
<HR WIDTH="80%">
|
||||
<% String qid = basedat.getPageQID(); %>
|
||||
<TABLE ALIGN=CENTER BORDER=0 CELLPADDING=0 CELLSPACING=6>
|
||||
<TR VALIGN=TOP>
|
||||
<TD ALIGN=RIGHT><%= smallfont %><%= rdat.getStockMessage("footer-text") %></FONT></TD>
|
||||
<TD <% if (qid!=null) { %>ROWSPAN=2<% } %> ALIGN=LEFT>
|
||||
<TD ALIGN=RIGHT CLASS="footer">
|
||||
<%= smallfont %><%= rdat.getStockMessage("footer-text") %></FONT>
|
||||
</TD>
|
||||
<TD <% if (qid!=null) { %>ROWSPAN=2<% } %> ALIGN=LEFT CLASS="footer">
|
||||
<A HREF="http://venice.sourceforge.net" TARGET="_blank"><IMG
|
||||
SRC="<%= rdat.getFullImagePath("powered-by-venice.gif") %>" ALT="Powered by Venice"
|
||||
WIDTH=<%= rdat.scaleFooterLogo(129) %> HEIGHT=<%= rdat.scaleFooterLogo(103) %> BORDER=0
|
||||
@@ -140,7 +146,7 @@
|
||||
</TD>
|
||||
</TR>
|
||||
<% if (qid!=null) { %>
|
||||
<TR VALIGN=TOP><TD ALIGN=RIGHT>
|
||||
<TR VALIGN=TOP><TD ALIGN=RIGHT CLASS="footer">
|
||||
<% if (rdat.useHTMLComments()) { %><!-- HITCOUNTER FOR QID "<%= qid %>" --><% } %>
|
||||
<%-- Reserved for future use --%>
|
||||
</TD></TR>
|
||||
|
||||
Reference in New Issue
Block a user