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.18 by pjm2, Sun Jan 7 18:01:31 2001 UTC vs.
Revision 1.22 by pjm2, Sun Jan 7 20:31:13 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\" width=\"100%\" align=\"center\">");
44          bw.write(" <tr>");
45          bw.write("  <td valign=\"top\">");
46          bw.write("");
# Line 67 | Line 67 | public class IscreamLayout {
67          bw.flush();
68      }
69      
70 +    public static void printMachines(BufferedWriter bw, LinkedList list) throws IOException{
71 +        bw.write("<table border=\"0\"  align=\"center\">");
72 +        
73 +        Iterator it = list.iterator();
74 +        while (it.hasNext()){
75 +            ReportPage rp = (ReportPage)it.next();            
76 +            bw.write("<tr><td><font size=\"4\"><a href=\"../"+rp.getWhen()+rp.getMachineName()+"."+rp.getReport()+".shtml\">"+rp.getMachineName()+"</a></font></td></tr>");
77 +        }
78 +        
79 +        bw.write("</table>");
80 +        bw.flush();
81 +    }
82 +
83      public static void printGraph(BufferedWriter bw, String filename, int width, int height, int type, long startDate, long endDate) throws IOException{
84          
85          String graphTitle = "Unknown time period";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines