build.pl (790d3a29) | build.pl (9cd210d3) |
---|---|
1: 2 eval 'exec perl -S $0 ${1+"$@"}' 3 if 0; 4#************************************************************************* 5# 6# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 7# 8# Copyright 2000, 2010 Oracle and/or its affiliates. --- 2809 unchanged lines hidden (view full) --- 2818 print HTML ' href=\"javascript:void(0)\"; title=\"Remove module\">' . $_ . '</a>");' . "\n"; 2819 }; 2820 2821 2822 print HTML 'document.write(" </td>");' . "\n"; 2823 print HTML 'document.write(" <td>");' . "\n"; 2824 print HTML 'document.write(" <table width=100% valign=top cellpadding=0 hspace=0 vspace=0 cellspacing=0 border=0>");' . "\n"; 2825 print HTML 'document.write(" <tr>");' . "\n"; | 1: 2 eval 'exec perl -S $0 ${1+"$@"}' 3 if 0; 4#************************************************************************* 5# 6# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 7# 8# Copyright 2000, 2010 Oracle and/or its affiliates. --- 2809 unchanged lines hidden (view full) --- 2818 print HTML ' href=\"javascript:void(0)\"; title=\"Remove module\">' . $_ . '</a>");' . "\n"; 2819 }; 2820 2821 2822 print HTML 'document.write(" </td>");' . "\n"; 2823 print HTML 'document.write(" <td>");' . "\n"; 2824 print HTML 'document.write(" <table width=100% valign=top cellpadding=0 hspace=0 vspace=0 cellspacing=0 border=0>");' . "\n"; 2825 print HTML 'document.write(" <tr>");' . "\n"; |
2826 print HTML 'document.write(" <td height=15* width='; | 2826 print HTML 'document.write(" <td height=15 width='; |
2827 2828 print HTML $successes_percent + $errors_percent; 2829 if ($errors_number) { 2830 print HTML '% bgcolor=red valign=top></td>");' . "\n"; 2831 } else { 2832 print HTML '% bgcolor=#25A528 valign=top></td>");' . "\n"; 2833 }; 2834 print HTML 'document.write(" <td width='; --- 105 unchanged lines hidden (view full) --- 2940 print HTML ' StatusInnerHtml = "<em style=color:red>";' . "\n"; 2941 print HTML ' } else {' . "\n"; 2942 print HTML ' StatusInnerHtml = "<em style=color:gray>";' . "\n"; 2943 print HTML ' };' . "\n"; 2944 print HTML ' StatusInnerHtml += Status + "</em>";' . "\n"; 2945 print HTML ' return StatusInnerHtml;' . "\n"; 2946 print HTML '} ' . "\n"; 2947 print HTML 'function ShowLog(LogFilePath, ModuleJob) {' . "\n"; | 2827 2828 print HTML $successes_percent + $errors_percent; 2829 if ($errors_number) { 2830 print HTML '% bgcolor=red valign=top></td>");' . "\n"; 2831 } else { 2832 print HTML '% bgcolor=#25A528 valign=top></td>");' . "\n"; 2833 }; 2834 print HTML 'document.write(" <td width='; --- 105 unchanged lines hidden (view full) --- 2940 print HTML ' StatusInnerHtml = "<em style=color:red>";' . "\n"; 2941 print HTML ' } else {' . "\n"; 2942 print HTML ' StatusInnerHtml = "<em style=color:gray>";' . "\n"; 2943 print HTML ' };' . "\n"; 2944 print HTML ' StatusInnerHtml += Status + "</em>";' . "\n"; 2945 print HTML ' return StatusInnerHtml;' . "\n"; 2946 print HTML '} ' . "\n"; 2947 print HTML 'function ShowLog(LogFilePath, ModuleJob) {' . "\n"; |
2948 print HTML ' top.innerFrame.frames[2].document.write("<h3 id=ModuleErrors name=\"" + null + "\">Log for " + ModuleJob + "</h3>");' . "\n"; 2949 print HTML ' top.innerFrame.frames[2].document.write("<iframe id=LogFile name=Log src="'; 2950 if (defined $html_path) { 2951 print HTML 'file://'; 2952 } 2953 print HTML '+ LogFilePath + " width=100%></iframe>");' . "\n"; 2954 print HTML ' top.innerFrame.frames[2].document.close();' . "\n"; | 2948 print HTML ' top.innerFrame.frames[2].location = LogFilePath;' . "\n"; |
2955 print HTML '};' . "\n"; 2956 print HTML 'function FillFrame_1(Module, Message1, Message2) {' . "\n"; 2957 print HTML ' var FullUpdate = 1;' . "\n"; 2958 print HTML ' if (top.innerFrame.frames[1].document.getElementById("ModuleJobs") != null) {' . "\n"; 2959 print HTML ' var ModuleName = top.innerFrame.frames[1].document.getElementById("ModuleJobs").getAttribute(\'name\');' . "\n"; 2960 print HTML ' if (Module == ModuleName) FullUpdate = 0;' . "\n"; 2961 print HTML ' }' . "\n"; 2962 print HTML ' if (FullUpdate) {' . "\n"; --- 87 unchanged lines hidden (view full) --- 3050 print HTML ' IntervalID = top.frames[0].setInterval("updateInnerFrame()", RefreshRate * 1000);' . "\n"; 3051 print HTML ' };' . "\n"; 3052 print HTML '};' . "\n"; 3053 3054 print HTML 'function initFrames() {' . "\n"; 3055 print HTML ' var urlquery = location.href.split("?");' . "\n"; 3056 print HTML ' if (urlquery.length == 1) {' . "\n"; 3057 print HTML ' document.write("<html><head><TITLE id=MainTitle>' . $ENV{INPATH} .'</TITLE>");' . "\n"; | 2949 print HTML '};' . "\n"; 2950 print HTML 'function FillFrame_1(Module, Message1, Message2) {' . "\n"; 2951 print HTML ' var FullUpdate = 1;' . "\n"; 2952 print HTML ' if (top.innerFrame.frames[1].document.getElementById("ModuleJobs") != null) {' . "\n"; 2953 print HTML ' var ModuleName = top.innerFrame.frames[1].document.getElementById("ModuleJobs").getAttribute(\'name\');' . "\n"; 2954 print HTML ' if (Module == ModuleName) FullUpdate = 0;' . "\n"; 2955 print HTML ' }' . "\n"; 2956 print HTML ' if (FullUpdate) {' . "\n"; --- 87 unchanged lines hidden (view full) --- 3044 print HTML ' IntervalID = top.frames[0].setInterval("updateInnerFrame()", RefreshRate * 1000);' . "\n"; 3045 print HTML ' };' . "\n"; 3046 print HTML '};' . "\n"; 3047 3048 print HTML 'function initFrames() {' . "\n"; 3049 print HTML ' var urlquery = location.href.split("?");' . "\n"; 3050 print HTML ' if (urlquery.length == 1) {' . "\n"; 3051 print HTML ' document.write("<html><head><TITLE id=MainTitle>' . $ENV{INPATH} .'</TITLE>");' . "\n"; |
3058 print HTML ' document.write(" <frameset rows=\"12%,88%\">");' . "\n"; | 3052 print HTML ' document.write(" <frameset rows=\"36,*\">");' . "\n"; |
3059 print HTML ' document.write(" <frame name=\"topFrame\" src=\"" + urlquery + "?initTop\"/>");' . "\n"; 3060 print HTML ' document.write(" <frame name=\"innerFrame\" src=\"" + urlquery + "?initInnerPage\"/>");' . "\n"; 3061 print HTML ' document.write(" </frameset>");' . "\n"; 3062 print HTML ' document.write("</head></html>");' . "\n"; 3063 print HTML ' } else if (urlquery[1].substring(0,7) == "initTop") {' . "\n"; 3064 print HTML ' var urlquerycontent = urlquery[1].split("=");' . "\n"; 3065 print HTML ' var UpdateRate = 10' . "\n"; 3066 print HTML ' if (urlquerycontent.length > 2) {' . "\n"; 3067 print HTML ' if (isNaN(urlquerycontent[2] * 1)) {' . "\n"; 3068 print HTML ' alert(urlquerycontent[2] + " is not a number. Ignored.");' . "\n"; 3069 print HTML ' } else {' . "\n"; 3070 print HTML ' UpdateRate = urlquerycontent[2];' . "\n"; 3071 print HTML ' };' . "\n"; 3072 print HTML ' };' . "\n"; 3073 print HTML ' document.write("<html><body>");' . "\n"; | 3053 print HTML ' document.write(" <frame name=\"topFrame\" src=\"" + urlquery + "?initTop\"/>");' . "\n"; 3054 print HTML ' document.write(" <frame name=\"innerFrame\" src=\"" + urlquery + "?initInnerPage\"/>");' . "\n"; 3055 print HTML ' document.write(" </frameset>");' . "\n"; 3056 print HTML ' document.write("</head></html>");' . "\n"; 3057 print HTML ' } else if (urlquery[1].substring(0,7) == "initTop") {' . "\n"; 3058 print HTML ' var urlquerycontent = urlquery[1].split("=");' . "\n"; 3059 print HTML ' var UpdateRate = 10' . "\n"; 3060 print HTML ' if (urlquerycontent.length > 2) {' . "\n"; 3061 print HTML ' if (isNaN(urlquerycontent[2] * 1)) {' . "\n"; 3062 print HTML ' alert(urlquerycontent[2] + " is not a number. Ignored.");' . "\n"; 3063 print HTML ' } else {' . "\n"; 3064 print HTML ' UpdateRate = urlquerycontent[2];' . "\n"; 3065 print HTML ' };' . "\n"; 3066 print HTML ' };' . "\n"; 3067 print HTML ' document.write("<html><body>");' . "\n"; |
3074 print HTML ' document.write("<h3 align=center>Build process progress status</h3>");' . "\n"; 3075 print HTML ' document.write("<div align=\"right\">");' . "\n"; 3076 print HTML ' document.write(" <table border=\"0\"> <tr>");' . "\n"; 3077 print HTML ' document.write("<td>Refresh rate(sec):</td>");' . "\n"; 3078 print HTML ' document.write("<th>");' . "\n"; | 3068 print HTML ' document.write("<table border=\"0\" width=\"100%\"> <tr>");' . "\n"; 3069 print HTML ' document.write("<td align=\"left\"><h3>Build process progress status</h3></td>");' . "\n"; 3070 print HTML ' document.write("<td align=\"right\">");' . "\n"; |
3079 print HTML ' document.write("<FORM name=\"Formular\" onsubmit=\"setRefreshRate()\">");' . "\n"; 3080 print HTML ' document.write("<input type=\"hidden\" name=\"initTop\" value=\"\"/>");' . "\n"; 3081 print HTML ' document.write("<input type=\"text\" id=\"RateValue\" name=\"rate\" autocomplete=\"off\" value=\"" + UpdateRate + "\" size=\"1\"/>");' . "\n"; | 3071 print HTML ' document.write("<FORM name=\"Formular\" onsubmit=\"setRefreshRate()\">");' . "\n"; 3072 print HTML ' document.write("<input type=\"hidden\" name=\"initTop\" value=\"\"/>");' . "\n"; 3073 print HTML ' document.write("<input type=\"text\" id=\"RateValue\" name=\"rate\" autocomplete=\"off\" value=\"" + UpdateRate + "\" size=\"1\"/>");' . "\n"; |
3082 print HTML ' document.write("<input type=\"submit\" value=\"OK\">");' . "\n"; | 3074 print HTML ' document.write("<input type=\"submit\" value=\"Update refresh rate (sec)\">");' . "\n"; |
3083 print HTML ' document.write("</FORM>");' . "\n"; | 3075 print HTML ' document.write("</FORM>");' . "\n"; |
3084 print HTML ' document.write("</th></tr></table>");' . "\n"; 3085 print HTML ' document.write("</div>");' . "\n"; | 3076 print HTML ' document.write("</td></tr></table>");' . "\n"; |
3086 print HTML ' document.write(" </frameset>");' . "\n"; 3087 print HTML ' document.write("</body></html>");' . "\n"; 3088 print HTML ' top.frames[0].clearInterval(IntervalID);' . "\n"; 3089 print HTML ' IntervalID = top.frames[0].setInterval("updateInnerFrame()", UpdateRate * 1000);' . "\n"; 3090 print HTML ' } else if (urlquery[1] == "initInnerPage") {' . "\n"; 3091 print HTML ' document.write("<html><head>");' . "\n"; | 3077 print HTML ' document.write(" </frameset>");' . "\n"; 3078 print HTML ' document.write("</body></html>");' . "\n"; 3079 print HTML ' top.frames[0].clearInterval(IntervalID);' . "\n"; 3080 print HTML ' IntervalID = top.frames[0].setInterval("updateInnerFrame()", UpdateRate * 1000);' . "\n"; 3081 print HTML ' } else if (urlquery[1] == "initInnerPage") {' . "\n"; 3082 print HTML ' document.write("<html><head>");' . "\n"; |
3092 print HTML ' document.write(\' <frameset rows="80%,20%\">\');' . "\n"; 3093 print HTML ' document.write(\' <frameset cols="70%,30%">\');' . "\n"; | 3083 print HTML ' document.write(\' <frameset rows="50%,50%\">\');' . "\n"; 3084 print HTML ' document.write(\' <frameset cols="50%,50%">\');' . "\n"; |
3094 print HTML ' document.write(\' <frame src="\');' . "\n"; 3095 print HTML ' document.write(urlquery[0]);' . "\n"; 3096 print HTML ' document.write(\'?initFrame0"/>\');' . "\n"; 3097 print HTML ' document.write(\' <frame src="\');' . "\n"; 3098 print HTML ' document.write(urlquery[0]);' . "\n"; 3099 print HTML ' document.write(\'?initFrame1"/>\');' . "\n"; 3100 print HTML ' document.write(\' </frameset>\');' . "\n"; 3101 print HTML ' document.write(\' <frame src="\');' . "\n"; --- 449 unchanged lines hidden --- | 3085 print HTML ' document.write(\' <frame src="\');' . "\n"; 3086 print HTML ' document.write(urlquery[0]);' . "\n"; 3087 print HTML ' document.write(\'?initFrame0"/>\');' . "\n"; 3088 print HTML ' document.write(\' <frame src="\');' . "\n"; 3089 print HTML ' document.write(urlquery[0]);' . "\n"; 3090 print HTML ' document.write(\'?initFrame1"/>\');' . "\n"; 3091 print HTML ' document.write(\' </frameset>\');' . "\n"; 3092 print HTML ' document.write(\' <frame src="\');' . "\n"; --- 449 unchanged lines hidden --- |