unicorn commit: added new w3c-include.js script on the result page too

changeset:   1717:b6383c9c1702
tag:         tip
user:        Thomas Gambet <tgambet@w3.org>
date:        Thu Sep 12 19:46:18 2013 +0200
files:       WebContent/WEB-INF/resources/templates/xhtml10.vm WebContent/style/base_ucn.css
description:
added new w3c-include.js script on the result page too


diff -r 464516c280e8 -r b6383c9c1702 WebContent/WEB-INF/resources/templates/xhtml10.vm
--- a/WebContent/WEB-INF/resources/templates/xhtml10.vm	Thu Sep 12 19:32:29 2013 +0200
+++ b/WebContent/WEB-INF/resources/templates/xhtml10.vm	Thu Sep 12 19:46:18 2013 +0200
@@ -16,24 +16,8 @@
 #if ($messages && $messages.size() > 0)
 #displayMessages($messages)
 #end
-<div id="don_program">
-	<script type="text/javascript" src="http://www.w3.org/QA/Tools/don_prog.js"></script>
-	<noscript>
-		<div>
-			<span id="don_program_img">
-				<a href="http://www.w3.org/QA/Tools/Donate">
-					<img src="http://www.w3.org/QA/Tools/I_heart_validator_lg" alt="Validators Donation Program Logo"/>
-				</a>
-			</span>
-			<a href="http://flattr.com/thing/65556/W3C-Validator" style="float:right;" title="View W3C-Validator on flattr.com">
-				Flattr us!
-			</a>
-			<span xml:lang="en" lang="en" id="don_program_text" dir="ltr">
-				The W3C validators rely on community support for hosting and development.<br />
-				<a href="http://www.w3.org/QA/Tools/Donate">Donate</a> and help us build better tools for a better web.
-			</span>
-		</div>
-	</noscript>
+<div id="w3c-include">
+    <script type="text/javascript" src="http://www.w3.org/QA/Tools/w3c-include.js"></script>
 </div>
 <div id="observations" class="contextShow:'$esc.html($contexts_show)' contextHide:'$esc.html($contexts_hide)'">
 #foreach ($observationName in $observationList.keySet())
diff -r 464516c280e8 -r b6383c9c1702 WebContent/style/base_ucn.css
--- a/WebContent/style/base_ucn.css	Thu Sep 12 19:32:29 2013 +0200
+++ b/WebContent/style/base_ucn.css	Thu Sep 12 19:46:18 2013 +0200
@@ -41,7 +41,7 @@
 	min-width:40em;
 	padding-bottom:2em;
 }
-#frontforms, #don_program, #menu, #footer, div.text, #translations {
+#frontforms, #menu, #footer, div.text, #translations {
 	margin:1em 2em;
 }
 #banner {
@@ -184,23 +184,7 @@
 img.loader {
 	margin: 1em;
 }
-#don_program {
-	line-height:150%;
-	padding:0.5em;
-	text-align:center;
-}
-#don_program_img {
-	float:left;
-	height:60px;
-	width:150px;
-}
-#don_program_img img {
-	vertical-align:middle;
-}
-#don_program_text a {
-	font-weight:bold;
-	text-decoration:underline;
-}
+#w3c-include {}
 #lang_choice {
 	margin-right:2em;
 	position:absolute;
@@ -348,9 +332,6 @@
 fieldset div.submit input {
 	background:url(../images/button.png) no-repeat scroll left 1px;
 }
-#don_program {
-	border:1px solid #55B05A;
-}
 #footer p.copyright {
 	color:#7C8395;
 }

Received on Thursday, 12 September 2013 17:46:40 UTC