summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Rist <arist@apache.org>2012-02-08 06:08:03 +0000
committerAndrew Rist <arist@apache.org>2012-02-08 06:08:03 +0000
commit56d00f4ca56abedaae2b9d83e2e70059f0c990df (patch)
tree80aabbbd7666f3e0cc48a9f42c0c46fd64df18d0
parentce5c72c92b1953406409d287c6b3c67957164c9b (diff)
cosmetic changes to build page with html out
-rwxr-xr-xsolenv/bin/build.pl21
1 files changed, 9 insertions, 12 deletions
diff --git a/solenv/bin/build.pl b/solenv/bin/build.pl
index 5960b96f30c8..3ca26d39ee93 100755
--- a/solenv/bin/build.pl
+++ b/solenv/bin/build.pl
@@ -2835,7 +2835,7 @@ sub generate_html_file {
print HTML 'document.write(" <td>");' . "\n";
print HTML 'document.write(" <table width=100% valign=top cellpadding=0 hspace=0 vspace=0 cellspacing=0 border=0>");' . "\n";
print HTML 'document.write(" <tr>");' . "\n";
- print HTML 'document.write(" <td height=15* width=';
+ print HTML 'document.write(" <td height=15 width=';
print HTML $successes_percent + $errors_percent;
if ($errors_number) {
@@ -3067,7 +3067,7 @@ sub generate_html_file {
print HTML ' var urlquery = location.href.split("?");' . "\n";
print HTML ' if (urlquery.length == 1) {' . "\n";
print HTML ' document.write("<html><head><TITLE id=MainTitle>' . $ENV{INPATH} .'</TITLE>");' . "\n";
- print HTML ' document.write(" <frameset rows=\"12%,88%\">");' . "\n";
+ print HTML ' document.write(" <frameset rows=\"40,*\">");' . "\n";
print HTML ' document.write(" <frame name=\"topFrame\" src=\"" + urlquery + "?initTop\"/>");' . "\n";
print HTML ' document.write(" <frame name=\"innerFrame\" src=\"" + urlquery + "?initInnerPage\"/>");' . "\n";
print HTML ' document.write(" </frameset>");' . "\n";
@@ -3083,26 +3083,23 @@ sub generate_html_file {
print HTML ' };' . "\n";
print HTML ' };' . "\n";
print HTML ' document.write("<html><body>");' . "\n";
- print HTML ' document.write("<h3 align=center>Build process progress status</h3>");' . "\n";
- print HTML ' document.write("<div align=\"right\">");' . "\n";
- print HTML ' document.write(" <table border=\"0\"> <tr>");' . "\n";
- print HTML ' document.write("<td>Refresh rate(sec):</td>");' . "\n";
- print HTML ' document.write("<th>");' . "\n";
+ print HTML ' document.write("<table border=\"0\" width=\"100%\"> <tr>");' . "\n";
+ print HTML ' document.write("<td align=\"left\"><h3>Build process progress status</h3></td>");' . "\n";
+ print HTML ' document.write("<td align=\"right\">");' . "\n";
print HTML ' document.write("<FORM name=\"Formular\" onsubmit=\"setRefreshRate()\">");' . "\n";
print HTML ' document.write("<input type=\"hidden\" name=\"initTop\" value=\"\"/>");' . "\n";
print HTML ' document.write("<input type=\"text\" id=\"RateValue\" name=\"rate\" autocomplete=\"off\" value=\"" + UpdateRate + "\" size=\"1\"/>");' . "\n";
- print HTML ' document.write("<input type=\"submit\" value=\"OK\">");' . "\n";
+ print HTML ' document.write("<input type=\"submit\" value=\"Update refresh rate (sec)\">");' . "\n";
print HTML ' document.write("</FORM>");' . "\n";
- print HTML ' document.write("</th></tr></table>");' . "\n";
- print HTML ' document.write("</div>");' . "\n";
+ print HTML ' document.write("</td></tr></table>");' . "\n";
print HTML ' document.write(" </frameset>");' . "\n";
print HTML ' document.write("</body></html>");' . "\n";
print HTML ' top.frames[0].clearInterval(IntervalID);' . "\n";
print HTML ' IntervalID = top.frames[0].setInterval("updateInnerFrame()", UpdateRate * 1000);' . "\n";
print HTML ' } else if (urlquery[1] == "initInnerPage") {' . "\n";
print HTML ' document.write("<html><head>");' . "\n";
- print HTML ' document.write(\' <frameset rows="80%,20%\">\');' . "\n";
- print HTML ' document.write(\' <frameset cols="70%,30%">\');' . "\n";
+ print HTML ' document.write(\' <frameset rows="50%,50%\">\');' . "\n";
+ print HTML ' document.write(\' <frameset cols="50%,50%">\');' . "\n";
print HTML ' document.write(\' <frame src="\');' . "\n";
print HTML ' document.write(urlquery[0]);' . "\n";
print HTML ' document.write(\'?initFrame0"/>\');' . "\n";