- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 28 Aug 2009 12:19:47 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates In directory hutz:/tmp/cvs-serv20291/WebContent/WEB-INF/resources/templates Modified Files: Tag: dev2 xhtml10.vm Log Message: some modifications to ease javascript development Index: xhtml10.vm =================================================================== RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/Attic/xhtml10.vm,v retrieving revision 1.1.2.17 retrieving revision 1.1.2.18 diff -u -d -r1.1.2.17 -r1.1.2.18 --- xhtml10.vm 28 Aug 2009 10:04:58 -0000 1.1.2.17 +++ xhtml10.vm 28 Aug 2009 12:19:45 -0000 1.1.2.18 @@ -10,7 +10,7 @@ #set($observationList = $unicorncall.ObservationList) -<div id="result"> +<div id="observations"> #foreach($observationName in $observationList.keySet()) #set($observation = $observationList.get($observationName)) #set ($infoCount = $observation.getInfoCount()) @@ -39,112 +39,118 @@ <div class="results"> #if ($infoCount && $infoCount > 0) <div class="infos"> - <h3>Infos ($infoCount)</h3> - #foreach($result in $observation.getResultsList()) - #if(!$result.Infos.isEmpty()) - <div class="info-section"> - <h4> - #if ($unicorncall.getInputMethod() == "URI")<span>URI : </span><a href="$result.Uri">$result.Uri</a>#end - #if ($unicorncall.getInputMethod() == "UPLOAD")<span>File : </span>$result.Uri#end - #if ($unicorncall.getInputMethod() == "DIRECT")<span>File : </span>Direct Input#end - </h4> - <table> - <tbody> + <h3>Infos ($infoCount)</h3> + <div class="result"> + #foreach($result in $observation.getResultsList()) + #if(!$result.Infos.isEmpty()) + <div class="info-section"> + <h4> + #if ($unicorncall.getInputMethod() == "URI")<span>URI : </span><a href="$result.Uri">$result.Uri</a>#end + #if ($unicorncall.getInputMethod() == "UPLOAD")<span>File : </span>$result.Uri#end + #if ($unicorncall.getInputMethod() == "DIRECT")<span>File : </span>Direct Input#end + </h4> + <table> + <tbody> #foreach($info in $result.Infos) - <tr> - <td class="linenumber" title="#if($info.Line)Line:$info.Line#end #if($info.Column)Column: $info.Column#end">#if($info.Line)$info.Line#end#if($info.Column)/$info.Column #end</td> - <td class="codeContext"> #if($info.Context) $info.Context #end </td> - <td class="info"> - #foreach($message in $info.Message)<span class="msg">$message</span>#end - #foreach($longMessage in $info.Longmessage) - <p class="longmsg"> - #foreach($longMessagePiece in $longMessage.Content) - $longMessagePiece - #end - </p> - #end - </td> - </tr> + <tr> + <td class="linenumber" title="#if($info.Line)Line:$info.Line#end #if($info.Column)Column: $info.Column#end">#if($info.Line)$info.Line#end#if($info.Column)/$info.Column #end</td> + <td class="codeContext"> #if($info.Context) $info.Context #end </td> + <td class="info"> + #foreach($message in $info.Message)<span class="msg">$message</span>#end + #foreach($longMessage in $info.Longmessage) + <p class="longmsg"> + #foreach($longMessagePiece in $longMessage.Content) + $longMessagePiece + #end + </p> + #end + </td> + </tr> #end - </tbody> - </table> - </div> + </tbody> + </table> + </div> + #end #end - #end + </div> </div> #end #if ($errorCount && $errorCount > 0) <div class="errors"> - <h3>Errors ($errorCount)</h3> - #foreach($result in $observation.getResultsList()) - #if(!$result.Errors.isEmpty()) - <div class="error-section"> - <h4> - #if ($unicorncall.getInputMethod() == "URI")<span>URI : </span><a href="$result.Uri">$result.Uri</a>#end - #if ($unicorncall.getInputMethod() == "UPLOAD")<span>File : </span>$result.Uri#end - #if ($unicorncall.getInputMethod() == "DIRECT")<span>File : </span>Direct Input#end - </h4> - <table> - <tbody> + <h3>Errors ($errorCount)</h3> + <div class="result"> + #foreach($result in $observation.getResultsList()) + #if(!$result.Errors.isEmpty()) + <div class="error-section"> + <h4> + #if ($unicorncall.getInputMethod() == "URI")<span>URI : </span><a href="$result.Uri">$result.Uri</a>#end + #if ($unicorncall.getInputMethod() == "UPLOAD")<span>File : </span>$result.Uri#end + #if ($unicorncall.getInputMethod() == "DIRECT")<span>File : </span>Direct Input#end + </h4> + <table> + <tbody> #foreach($error in $result.Errors) - <tr> - <td class="linenumber" title="#if($error.Line)Line: $error.Line#end #if($error.Column)Column: $error.Column #end">#if($error.Line)$error.Line#end#if($error.Column)/$error.Column #end</td> - <td class="codeContext">#if($error.Context) $error.Context #end</td> - <td class="error"> - #foreach($message in $error.Message)<span class="msg">$message</span>#end - #foreach($longMessage in $error.Longmessage) - <p class="longmsg"> - #foreach($longMessagePiece in $longMessage.Content) - $longMessagePiece - #end - </p> - #end - </td> - </tr> + <tr> + <td class="linenumber" title="#if($error.Line)Line: $error.Line#end #if($error.Column)Column: $error.Column #end">#if($error.Line)$error.Line#end#if($error.Column)/$error.Column #end</td> + <td class="codeContext">#if($error.Context) $error.Context #end</td> + <td class="error"> + #foreach($message in $error.Message)<span class="msg">$message</span>#end + #foreach($longMessage in $error.Longmessage) + <p class="longmsg"> + #foreach($longMessagePiece in $longMessage.Content) + $longMessagePiece + #end + </p> + #end + </td> + </tr> #end - </tbody> - </table> - </div> + </tbody> + </table> + </div> + #end #end - #end + </div> </div> #end #if ($warningCount && $warningCount > 0) <div class="warnings"> - <h3>Warnings ($warningCount)</h3> - #foreach($result in $observation.getResultsList()) - #if(!$result.Warnings.isEmpty()) - <div class="warning-section"> - <h4> - #if ($unicorncall.getInputMethod() == "URI")<span>URI : </span><a href="$result.Uri">$result.Uri</a>#end - #if ($unicorncall.getInputMethod() == "UPLOAD")<span>File : </span>$result.Uri#end - #if ($unicorncall.getInputMethod() == "DIRECT")<span>File : </span>Direct Input#end - </h4> - <table> - <tbody> + <h3>Warnings ($warningCount)</h3> + <div class="result"> + #foreach($result in $observation.getResultsList()) + #if(!$result.Warnings.isEmpty()) + <div class="warning-section"> + <h4> + #if ($unicorncall.getInputMethod() == "URI")<span>URI : </span><a href="$result.Uri">$result.Uri</a>#end + #if ($unicorncall.getInputMethod() == "UPLOAD")<span>File : </span>$result.Uri#end + #if ($unicorncall.getInputMethod() == "DIRECT")<span>File : </span>Direct Input#end + </h4> + <table> + <tbody> #foreach($warning in $result.Warnings) - <tr> - <td class="linenumber" title="#if($warning.Line)Line: $warning.Line#end #if($warning.Column)Column: $warning.Column #end">#if($warning.Line)$warning.Line#end#if($warning.Column)/$warning.Column #end</td> - <td class="codeContext">#if($warning.Context) $warning.Context #end</td> - <td class="warning level$warning.getLevel()"> - #foreach($message in $warning.Message)<span class="msg">$message</span>#end - #foreach($longMessage in $warning.Longmessage) - <p class="longmsg"> - #foreach($longMessagePiece in $longMessage.Content) - $longMessagePiece - #end - </p> - #end - </td> - </tr> + <tr> + <td class="linenumber" title="#if($warning.Line)Line: $warning.Line#end #if($warning.Column)Column: $warning.Column #end">#if($warning.Line)$warning.Line#end#if($warning.Column)/$warning.Column #end</td> + <td class="codeContext">#if($warning.Context) $warning.Context #end</td> + <td class="warning level$warning.getLevel()"> + #foreach($message in $warning.Message)<span class="msg">$message</span>#end + #foreach($longMessage in $warning.Longmessage) + <p class="longmsg"> + #foreach($longMessagePiece in $longMessage.Content) + $longMessagePiece + #end + </p> + #end + </td> + </tr> #end - </tbody> - </table> - </div> + </tbody> + </table> + </div> + #end #end - #end + </div> </div> #end </div>
Received on Friday, 28 August 2009 12:19:56 UTC