]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
fix for 69688: buglist.cgi: the intermediate "please stand by" page is ugly
authorcyeh%bluemartini.com <>
Fri, 23 Feb 2001 02:36:06 +0000 (02:36 +0000)
committercyeh%bluemartini.com <>
Fri, 23 Feb 2001 02:36:06 +0000 (02:36 +0000)
patch submitted by st.n@gmx.net (Stephan Niemz [faniz])

buglist.cgi

index 401c5d8183f3182fd4b3b0e81777490cbcf519fb..f30613cf119aa15e1169cd0aedc4b52de024afbc 100755 (executable)
@@ -760,10 +760,15 @@ if (exists $ENV{'HTTP_USER_AGENT'} && $ENV{'HTTP_USER_AGENT'} =~ /Mozilla.[3-9]/
     # especially during page reload.
     $serverpush = 1;
 
-    print "Content-type: multipart/x-mixed-replace;boundary=thisrandomstring\n\n";
-    print "--thisrandomstring\n";
-    print "Content-type: text/html\n\n";
-    print "<p>Please stand by ... <p>\n";
+    print qq{Content-type: multipart/x-mixed-replace;boundary=thisrandomstring\n
+--thisrandomstring
+Content-type: text/html\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!
 } else {
     print "Content-type: text/html\n";
@@ -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";
     # Note! Don't finish HTML header yet!  Only one newline so far!
 }
-
 sub DefCol {
     my ($name, $k, $t, $s, $q) = (@_);