W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2009

2006/unicorn/WebContent/WEB-INF/resources/templates xhtml10.vm,1.1.2.15,1.1.2.16

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 28 Aug 2009 09:03:59 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MgxNH-0001eo-Ek@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv6356/WebContent/WEB-INF/resources/templates

Modified Files:
      Tag: dev2
	xhtml10.vm 
Log Message:
updated for javascript


Index: xhtml10.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/Attic/xhtml10.vm,v
retrieving revision 1.1.2.15
retrieving revision 1.1.2.16
diff -u -d -r1.1.2.15 -r1.1.2.16
--- xhtml10.vm	27 Aug 2009 14:54:22 -0000	1.1.2.15
+++ xhtml10.vm	28 Aug 2009 09:03:57 -0000	1.1.2.16
@@ -4,6 +4,7 @@
 #set ($title = $result_for_upload)
 #end  
 #set ($css = ['base_ucn.css'])
+#set ($js = ['scripts/mootools-1.2.3-core-nc.js', 'scripts/mootools-1.2.3.1-more.js', 'scripts/w3c_unicorn_results.js'])
 #parse('includes/head.vm')
 
 #set($observationList = $unicorncall.ObservationList)
@@ -11,11 +12,16 @@
 
 <div id="result">
 #foreach($observationName in $observationList.keySet())
-<div class="observer $observationName">
-	#set($observation = $observationList.get($observationName))
-	#set ($infoCount = $observation.getInfoCount())
-	#set ($errorCount = $observation.getErrorCount())
-	#set ($warningCount = $observation.getWarningCount())
+#set($observation = $observationList.get($observationName))
+#set ($infoCount = $observation.getInfoCount())
+#set ($errorCount = $observation.getErrorCount())
+#set ($warningCount = $observation.getWarningCount())
+
+#if($observation.isPassed())
+<div class="observer $observationName valid">
+#else
+<div class="observer $observationName invalid">
+#end
 	
 	#if($observation.isPassed())
 	<h2 class="valid">
@@ -39,6 +45,7 @@
 	</h2>
 	#end
 	
+	<div class="results">
 	#if ($infoCount && $infoCount > 0)
 		<div class="infos">
 		<h3>Infos ($infoCount)</h3>
@@ -149,6 +156,7 @@
 		#end
 		</div>
 	#end
+	</div>
 </div>
 #end
 </div>
Received on Friday, 28 August 2009 09:04:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:38 UTC