Revision: 6299 Author: [email protected] Date: Mon Oct 5 14:02:49 2009 Log: Adding a white background the to noscript warning so it shows up against all backgrounds.
Patch by: jlabanca Review by: fredsa http://code.google.com/p/google-web-toolkit/source/detail?r=6299 Modified: /trunk/dev/core/src/com/google/gwt/dev/shell/GWTShellServlet.java /trunk/eclipse/reference/code-museum/war/DefaultMuseum.html /trunk/eclipse/reference/code-museum/war/Issue3892.html /trunk/eclipse/reference/code-museum/war/SingleIssue.html /trunk/samples/hello/war/Hello.html /trunk/samples/i18n/war/I18N.html /trunk/samples/json/war/JSON.html /trunk/samples/mail/war/Mail.html /trunk/samples/showcase/war/Showcase.html /trunk/samples/simplerpc/war/SimpleRPC.html /trunk/samples/simplexml/war/SimpleXML.html /trunk/user/src/com/google/gwt/junit/public/junit.html /trunk/user/src/com/google/gwt/user/tools/AppHtml.htmlsrc /trunk/user/test/com/google/gwt/i18n/public_es_AR/junit.html /trunk/user/test/com/google/gwt/i18n/public_es_MX/junit.html ======================================= --- /trunk/dev/core/src/com/google/gwt/dev/shell/GWTShellServlet.java Thu Aug 27 21:33:04 2009 +++ /trunk/dev/core/src/com/google/gwt/dev/shell/GWTShellServlet.java Mon Oct 5 14:02:49 2009 @@ -382,7 +382,7 @@ writer.println("<iframe src=\"javascript:''\" id='__gwt_historyFrame' " + "style='position:absolute;width:0;height:0;border:0'></iframe>"); writer.println("<noscript>"); - writer.println(" <div style=\"width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; border: 1px solid red; padding: 4px; font-family: sans-serif\">"); + writer.println(" <div style=\"width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif\">"); writer.println(" Your web browser must have JavaScript enabled"); writer.println(" in order for this application to display correctly."); writer.println(" </div>"); ======================================= --- /trunk/eclipse/reference/code-museum/war/DefaultMuseum.html Thu Aug 27 21:33:04 2009 +++ /trunk/eclipse/reference/code-museum/war/DefaultMuseum.html Mon Oct 5 14:02:49 2009 @@ -8,7 +8,7 @@ <body> <iframe src="javascript:''" id="__gwt_historyFrame" style="position:absolute;width:0;height:0;border:0"></iframe> <noscript> - <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; border: 1px solid red; padding: 4px; font-family: sans-serif"> + <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color:white; border: 1px solid red; padding: 4px; font-family: sans-serif"> Your web browser must have JavaScript enabled in order for this application to display correctly. </div> ======================================= --- /trunk/eclipse/reference/code-museum/war/Issue3892.html Wed Sep 23 08:32:57 2009 +++ /trunk/eclipse/reference/code-museum/war/Issue3892.html Mon Oct 5 14:02:49 2009 @@ -10,7 +10,7 @@ <body> <iframe src="javascript:''" id="__gwt_historyFrame" style="position:absolute;width:0;height:0;border:0"></iframe> <noscript> - <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; border: 1px solid red; padding: 4px; font-family: sans-serif"> + <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color:white; border: 1px solid red; padding: 4px; font-family: sans-serif"> Your web browser must have JavaScript enabled in order for this application to display correctly. </div> ======================================= --- /trunk/eclipse/reference/code-museum/war/SingleIssue.html Thu Aug 27 21:33:04 2009 +++ /trunk/eclipse/reference/code-museum/war/SingleIssue.html Mon Oct 5 14:02:49 2009 @@ -8,7 +8,7 @@ <body> <iframe src="javascript:''" id="__gwt_historyFrame" style="position:absolute;width:0;height:0;border:0"></iframe> <noscript> - <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; border: 1px solid red; padding: 4px; font-family: sans-serif"> + <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color:white; border: 1px solid red; padding: 4px; font-family: sans-serif"> Your web browser must have JavaScript enabled in order for this application to display correctly. </div> ======================================= --- /trunk/samples/hello/war/Hello.html Thu Aug 27 21:33:04 2009 +++ /trunk/samples/hello/war/Hello.html Mon Oct 5 14:02:49 2009 @@ -21,7 +21,7 @@ </head> <body bgcolor="white"> <noscript> - <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; border: 1px solid red; padding: 4px; font-family: sans-serif"> + <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color:white; border: 1px solid red; padding: 4px; font-family: sans-serif"> Your web browser must have JavaScript enabled in order for this application to display correctly. </div> ======================================= --- /trunk/samples/i18n/war/I18N.html Mon Oct 5 06:46:07 2009 +++ /trunk/samples/i18n/war/I18N.html Mon Oct 5 14:02:49 2009 @@ -65,7 +65,7 @@ </div> </div> <noscript> - <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; border: 1px solid red; padding: 4px; font-family: sans-serif"> + <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color:white; border: 1px solid red; padding: 4px; font-family: sans-serif"> Your web browser must have JavaScript enabled in order for this application to display correctly. </div> ======================================= --- /trunk/samples/json/war/JSON.html Thu Aug 27 21:33:04 2009 +++ /trunk/samples/json/war/JSON.html Mon Oct 5 14:02:49 2009 @@ -22,7 +22,7 @@ </head> <body> <noscript> - <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; border: 1px solid red; padding: 4px; font-family: sans-serif"> + <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color:white; border: 1px solid red; padding: 4px; font-family: sans-serif"> Your web browser must have JavaScript enabled in order for this application to display correctly. </div> ======================================= --- /trunk/samples/mail/war/Mail.html Thu Aug 27 21:33:04 2009 +++ /trunk/samples/mail/war/Mail.html Mon Oct 5 14:02:49 2009 @@ -21,7 +21,7 @@ </head> <body> <noscript> - <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; border: 1px solid red; padding: 4px; font-family: sans-serif"> + <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color:white; border: 1px solid red; padding: 4px; font-family: sans-serif"> Your web browser must have JavaScript enabled in order for this application to display correctly. </div> ======================================= --- /trunk/samples/showcase/war/Showcase.html Thu Aug 27 21:33:04 2009 +++ /trunk/samples/showcase/war/Showcase.html Mon Oct 5 14:02:49 2009 @@ -15,7 +15,7 @@ <body> <iframe src="javascript:''" id="__gwt_historyFrame" style="position:absolute;width:0;height:0;border:0"></iframe> <noscript> - <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; border: 1px solid red; padding: 4px; font-family: sans-serif"> + <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color:white; border: 1px solid red; padding: 4px; font-family: sans-serif"> Your web browser must have JavaScript enabled in order for this application to display correctly. </div> ======================================= --- /trunk/samples/simplerpc/war/SimpleRPC.html Thu Aug 27 21:33:04 2009 +++ /trunk/samples/simplerpc/war/SimpleRPC.html Mon Oct 5 14:02:49 2009 @@ -23,7 +23,7 @@ <body> <iframe src="javascript:''" id='__gwt_historyFrame' tabIndex='-1' style='width:0;height:0;border:0'></iframe> <noscript> - <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; border: 1px solid red; padding: 4px; font-family: sans-serif"> + <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color:white; border: 1px solid red; padding: 4px; font-family: sans-serif"> Your web browser must have JavaScript enabled in order for this application to display correctly. </div> ======================================= --- /trunk/samples/simplexml/war/SimpleXML.html Thu Aug 27 21:33:04 2009 +++ /trunk/samples/simplexml/war/SimpleXML.html Mon Oct 5 14:02:49 2009 @@ -22,7 +22,7 @@ </head> <body bgcolor="white"> <noscript> - <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; border: 1px solid red; padding: 4px; font-family: sans-serif"> + <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color:white; border: 1px solid red; padding: 4px; font-family: sans-serif"> Your web browser must have JavaScript enabled in order for this application to display correctly. </div> ======================================= --- /trunk/user/src/com/google/gwt/junit/public/junit.html Thu Aug 27 21:33:04 2009 +++ /trunk/user/src/com/google/gwt/junit/public/junit.html Mon Oct 5 14:02:49 2009 @@ -57,7 +57,7 @@ </script> <iframe src="javascript:''" id='__gwt_historyFrame' style='position:absolute;width:0;height:0;border:0'></iframe> <noscript> - <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; border: 1px solid red; padding: 4px; font-family: sans-serif"> + <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif"> Your web browser must have JavaScript enabled in order for this application to display correctly. </div> ======================================= --- /trunk/user/src/com/google/gwt/user/tools/AppHtml.htmlsrc Thu Aug 27 21:33:04 2009 +++ /trunk/user/src/com/google/gwt/user/tools/AppHtml.htmlsrc Mon Oct 5 14:02:49 2009 @@ -40,7 +40,7 @@ <!-- RECOMMENDED if your web app will not function without JavaScript enabled --> <noscript> - <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; border: 1px solid red; padding: 4px; font-family: sans-serif"> + <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif"> Your web browser must have JavaScript enabled in order for this application to display correctly. </div> ======================================= --- /trunk/user/test/com/google/gwt/i18n/public_es_AR/junit.html Thu Aug 27 21:33:04 2009 +++ /trunk/user/test/com/google/gwt/i18n/public_es_AR/junit.html Mon Oct 5 14:02:49 2009 @@ -64,7 +64,7 @@ </script> <iframe src="javascript:''" id='__gwt_historyFrame' style='position:absolute;width:0;height:0;border:0'></iframe> <noscript> - <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; border: 1px solid red; padding: 4px; font-family: sans-serif"> + <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif"> Your web browser must have JavaScript enabled in order for this application to display correctly. </div> ======================================= --- /trunk/user/test/com/google/gwt/i18n/public_es_MX/junit.html Thu Aug 27 21:33:04 2009 +++ /trunk/user/test/com/google/gwt/i18n/public_es_MX/junit.html Mon Oct 5 14:02:49 2009 @@ -64,7 +64,7 @@ </script> <iframe src="javascript:''" id='__gwt_historyFrame' style='position:absolute;width:0;height:0;border:0'></iframe> <noscript> - <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; border: 1px solid red; padding: 4px; font-family: sans-serif"> + <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif"> Your web browser must have JavaScript enabled in order for this application to display correctly. </div> --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
