ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/DBReporter/IscreamLayout.java
(Generate patch)

Comparing projects/cms/source/reports/DBReporter/IscreamLayout.java (file contents):
Revision 1.20 by pjm2, Sun Jan 7 19:54:03 2001 UTC vs.
Revision 1.25 by pjm2, Sun Jan 7 21:09:31 2001 UTC

# Line 40 | Line 40 | public class IscreamLayout {
40          bw.write("<meta name=\"generator\" content=\"pjm2's DBReporterMain\">");
41          bw.write("</head>");
42          bw.write("<body bgcolor=\"#ffffff\" link=\"#0000ff\" alink=\"#3333cc\" vlink=\"#3333cc\" text=\"#000066\">");
43 <        bw.write("<table border=\"0\" cellpadding=\"2\" cellspacing=\"2\">");
43 >        bw.write("<table border=\"0\" cellpadding=\"2\" cellspacing=\"2\" align=\"center\">");
44          bw.write(" <tr>");
45          bw.write("  <td valign=\"top\">");
46          bw.write("");
# Line 52 | Line 52 | public class IscreamLayout {
52          bw.newLine();
53          bw.write("<!--#include virtual=\"../left.inc\" -->");
54          bw.newLine();
55        bw.write("</td><td valign=\"top\">");
56        bw.newLine();
55          bw.flush();
56      }
57      
# Line 67 | Line 65 | public class IscreamLayout {
65          bw.flush();
66      }
67      
68 <    public static void printLinkedList(BufferedWriter bw, LinkedList list) throws IOException{
68 >    public static void printMachines(BufferedWriter bw, LinkedList list) throws IOException{
69          bw.write("<table border=\"0\"  align=\"center\">");
70          
71          Iterator it = list.iterator();
72          while (it.hasNext()){
73              ReportPage rp = (ReportPage)it.next();            
74 <            bw.write("<tr><td><font size=\"4\">"+rp.getMachineName()+"</font></td></tr>");
74 >            bw.write("<tr><td><font size=\"4\"><a href=\"../"+rp.getWhen()+rp.getMachineName()+"."+rp.getReport()+".shtml\">"+rp.getMachineName()+"</a></font></td></tr>");
75          }
76          
77          bw.write("</table>");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines