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:
Eric J. Bowersox
2001-10-31 02:13:02 +00:00
parent 6397f4212c
commit ec878e9dfc
50 changed files with 954 additions and 317 deletions

View File

@@ -42,27 +42,37 @@
<% if (data.anyElements()) { %>
<TABLE BORDER=0 ALIGN=CENTER CELLPADDING=0 CELLSPACING=6>
<TR VALIGN=TOP>
<TH ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B><U>User Name</U></B></FONT></TH>
<TH ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<B><U>User Name</U></B>
</FONT></TH>
<% if (data.isPosterReport()) { %>
<TH ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B><U>Last Posted</U></B></FONT></TH>
<TH ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B><U>Last Read</U></B></FONT></TH>
<TH ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<B><U>Last Posted</U></B>
</FONT></TH>
<TH ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<B><U>Last Read</U></B>
</FONT></TH>
<% } else { %>
<TH ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B><U>Last Read</U></B></FONT></TH>
<TH ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B><U>Last Posted</U></B></FONT></TH>
<TH ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<B><U>Last Read</U></B>
</FONT></TH>
<TH ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<B><U>Last Posted</U></B>
</FONT></TH>
<% } // end if %>
</TR>
<% Iterator it = data.getRecordsIterator(); %>
<% while (it.hasNext()) { %>
<% ActiveUser usr = (ActiveUser)(it.next()); %>
<TR VALIGN=TOP>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<A HREF="<%= rdat.getEncodedServletPath("user/" + usr.getName()) %>" TARGET="_blank"><%= usr.getName() %></A>
</FONT></TD>
<% if (data.isPosterReport()) { %>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<%= StringUtil.encodeHTML(rdat.formatDateForDisplay(usr.getLastWrite())) %>
</FONT></TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<% if (usr.getLastRead()==null) { %>
Never
<% } else { %>
@@ -70,10 +80,10 @@
<% } // end if %>
</FONT></TD>
<% } else { %>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<%= StringUtil.encodeHTML(rdat.formatDateForDisplay(usr.getLastRead())) %>
</FONT></TD>
<TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<TD ALIGN=LEFT CLASS="content"><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
<% if (usr.getLastWrite()==null) { %>
Never
<% } else { %>