2006/unicorn/WebContent/WEB-INF/resources/templates xhtml10.vm,1.4,1.5

Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv26259/WebContent/WEB-INF/resources/templates

Modified Files:
	xhtml10.vm 
Log Message:
the result page favicon is now green or red according to the observation results

Index: xhtml10.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/xhtml10.vm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- xhtml10.vm	1 Sep 2009 16:07:29 -0000	1.4
+++ xhtml10.vm	9 Sep 2009 10:19:59 -0000	1.5
@@ -5,16 +5,24 @@
 #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'])
+#if ($unicorncall.isPassed())
+#set ($fav = "favicon_green.ico")
+#else
+#set ($fav = "favicon_red.ico")
+#end
 #parse('includes/head.vm')
 
 #set($observationList = $unicorncall.ObservationList)
 
-#if ($messages)
+#if ($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>
+</div>
 <div id="observations">
-#foreach($observationName in $observationList.keySet())
-#set($observation = $observationList.get($observationName))
+#foreach ($observationName in $observationList.keySet())
+#set ($observation = $observationList.get($observationName))
 #set ($infoCount = $observation.getInfoCount())
 #set ($errorCount = $observation.getErrorCount())
 #set ($warningCount = $observation.getWarningCount())

Received on Wednesday, 9 September 2009 10:20:15 UTC