Commit 047e1583 authored by cyeh%bluemartini.com's avatar cyeh%bluemartini.com

fix for 69688: buglist.cgi: the intermediate "please stand by" page is ugly

patch submitted by st.n@gmx.net (Stephan Niemz [faniz])
parent 4560c232
...@@ -760,10 +760,15 @@ if (exists $ENV{'HTTP_USER_AGENT'} && $ENV{'HTTP_USER_AGENT'} =~ /Mozilla.[3-9]/ ...@@ -760,10 +760,15 @@ if (exists $ENV{'HTTP_USER_AGENT'} && $ENV{'HTTP_USER_AGENT'} =~ /Mozilla.[3-9]/
# especially during page reload. # especially during page reload.
$serverpush = 1; $serverpush = 1;
print "Content-type: multipart/x-mixed-replace;boundary=thisrandomstring\n\n"; print qq{Content-type: multipart/x-mixed-replace;boundary=thisrandomstring\n
print "--thisrandomstring\n"; --thisrandomstring
print "Content-type: text/html\n\n"; Content-type: text/html\n
print "<p>Please stand by ... <p>\n"; <html><head><title>Bugzilla is pondering your query</title>
<style type="text/css">
.psb { margin-top: 20%; text-align: center; }
</style></head><body>
<h1 class="psb">Please stand by ...</h1></body></html>
};
# Note! HTML header is complete! # Note! HTML header is complete!
} else { } else {
print "Content-type: text/html\n"; print "Content-type: text/html\n";
...@@ -772,7 +777,6 @@ if (exists $ENV{'HTTP_USER_AGENT'} && $ENV{'HTTP_USER_AGENT'} =~ /Mozilla.[3-9]/ ...@@ -772,7 +777,6 @@ if (exists $ENV{'HTTP_USER_AGENT'} && $ENV{'HTTP_USER_AGENT'} =~ /Mozilla.[3-9]/
print "Content-disposition: inline; filename=bugzilla_bug_list.html\n"; print "Content-disposition: inline; filename=bugzilla_bug_list.html\n";
# Note! Don't finish HTML header yet! Only one newline so far! # Note! Don't finish HTML header yet! Only one newline so far!
} }
sub DefCol { sub DefCol {
my ($name, $k, $t, $s, $q) = (@_); my ($name, $k, $t, $s, $q) = (@_);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment