root/resources/templates/output/en_xhtml10.vm @ 17:e67d717965f7

Revision 17:e67d717965f7, 7.2 KB (checked in by ot, 7 years ago)

up to date menu items, and readme

Line 
1<?xml version="1.0"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5  <head>
6    #if($unicorncall.DocumentName)
7      <title>Result for $unicorncall.DocumentName</title>
8    #else
9      <title>Result for the document you submitted</title>
10    #end
11    <link rev="start" href="./" title="Home Page" />
12    <style type="text/css" media="all">@import "./style/base.css";</style>
13    <style type="text/css" media="all">@import "./style/results.css";</style>
14    <meta name="keywords" content="Unicorn, Observation"/>
15  </head>
16
17#macro(error $error)
18  <span class="err_type">Error</span>
19  <em>#if($error.Line)Line $error.Line #end #if($error.Column)Column $error.Column #end</em>:
20  #foreach($message in $error.Message)
21    <span class="msg">$message</span>
22  #end
23  #if($error.Context && $error.Context != "")
24    <pre><code class="input">$error.Context</code></pre>
25  #end
26  <div class="ve mid-127">
27  #foreach($longMessage in $error.Longmessage)
28      <p>
29        #foreach($longMessagePiece in $longMessage.Content)
30                        $longMessagePiece
31        #end
32      </p>
33  #end
34  </div>
35#end
36
37#macro(info $information)
38  <span class="err_type">Info</span>
39  <em>#if($information.Line)Line $information.Line #end #if($information.Column)Column $information.Column #end</em>:
40  #foreach($message in $information.Message)
41    <span class="msg">$message</span>
42  #end
43  #if($information.Context && $information.Context != "")
44    <pre><code class="input">$information.Context</code></pre>
45  #end
46  <div class="ve mid-127">
47  #foreach($longMessage in $information.Longmessage)
48      <p>
49        #foreach($longMessagePiece in $longMessage.Content)
50            $longMessagePiece
51        #end
52      </p>
53  #end
54  </div>
55#end
56
57#macro(warning $warning)
58  <span class="err_type">Warning</span>
59  <em>#if($warning.Line)Line $warning.Line #end #if($warning.Column)Column $warning.Column #end</em>:
60  #foreach($message in $warning.Message)
61    <span class="msg">$message</span>
62  #end
63  #if($warning.Context && $warning.Context != "")
64    <pre><code class="input">$warning.Context</code></pre>
65  #end
66  <div class="ve mid-127">
67  #foreach($longMessage in $warning.Longmessage)
68      <p>
69        #foreach($longMessagePiece in $longMessage.Content)
70            $longMessagePiece
71        #end
72      </p>
73  #end
74  </div>
75#end
76
77#macro(produceErrors $errors)
78  #foreach($errorList in $errors.Errorlist)
79    <h3>Location: $errorList.Uri</h3>
80    <ol class="error_list">
81    #foreach($error in $errorList.Error)
82      <li class="msg_err">
83        #error($error)
84      </li>
85    #end
86  </ol>
87  #end
88#end
89
90#macro(produceWarnings $warnings)
91  #foreach($warningList in $warnings.Warninglist)
92    #if($warningList.Warning && $warningList.Warning.size() != 0)
93      <h3>Location: $warningList.Uri</h3>
94      <ol class="warning_list">
95      #foreach($warning in $warningList.Warning)
96        <li class="msg_warn">
97          #warning($warning)
98        </li>
99      #end
100      </ol>
101    #end
102  #end
103#end
104
105#macro(produceInfos $infos)
106  #foreach($infoList in $infos.Infolist)
107    <h3>Location: $infoList.Uri</h3>
108    <ol class="info_list">
109    #foreach($information in $infoList.Info)
110      <li class="msg_info">
111        #info($information)
112      </li>
113    #end
114    </ol>
115  #end
116#end
117
118<body>
119  <div id="banner">
120    <h1 id="title"><a href="http://www.w3.org/"><img height="48" alt="W3C" id="logo" src="http://www.w3.org/Icons/WWW/w3c_home_nb" /></a>
121<img src="images/unicorn.png" alt="Unicorn" /></h1>
122 
123  </div>
124  <p id="tagline">
125        the Web's Universal Conformance Checker - <strong>ALPHA Test Version</strong>
126  </p>
127  <div id="result">
128  #set($observationList = $unicorncall.ObservationList)
129  #foreach($observationName in $observationList.keySet())
130    #set($observation = $observationList.get($observationName))
131    #if($observation.isPassed())
132      <h2 class="valid">This document has passed the
133      #if($observation.getVersion())
134        $observation.getVersion().toUpperCase()
135      #else
136        $observationName
137      #end
138      test!</h2>
139    #else
140      <h2 id="results" class="invalid">This document has <strong>not</strong> passed the
141      #if($observation.getVersion())
142        $observation.getVersion().toUpperCase()
143      #else
144        $observationName
145      #end
146      test!</h2>
147      #produceErrors($observation.Result.Errors)
148    #end
149    #if($observation.Result.Informations)
150      #produceInfos($observation.Result.Informations)
151    #end
152    #if($observation.Result.Warnings)
153      #produceWarnings($observation.Result.Warnings)
154    #end
155   <hr/>
156  #end
157
158  #if(!$unicorncall.haveHighPassed())
159    <p>
160      Some observations might not have been made because one or more with high
161      priority failed.
162    </p>
163  #end
164  #if(!$unicorncall.haveMediumPassed())
165    <p>
166      Some observations might not have been made because one or more with medium
167      priority failed.
168    </p>
169  #end
170
171  </div>
172
173     <ul class="navbar"  id="menu">
174        <li><a href="http://www.w3.org/QA/2006/obs_framework/" title="Documentation about this service and the software behind it">Documentation</a> <span class="hideme">|</span></li>
175                <li><a href="http://dev.w3.org/cvsweb/2006/unicorn/" title="Download the source for this service">Download</a> <span class="hideme">|</span></li>
176                <li><a href="mailto:public-qa-dev@w3.org" title="send us your thoughts and bug reports on the PUBLIC development mailing-list">Feedback</a> <span class="hideme">|</span></li>
177              </ul>
178
179   <p id="activity_logos">
180      <a href="http://www.w3.org/QA/" title="W3C's Quality Assurance Activity, bringing you free Web quality tools and more"><img src="http://www.w3.org/QA/2002/12/qa.png" alt="QA" /></a><a href="http://www.w3.org/Style/CSS/learning" title="Learn more about Cascading Style Sheets"></a>
181   </p>
182   <p id="support_logo">
183Support this tool, become a<br />
184<a href="http://www.w3.org/Consortium/supporters"><img src="http://www.w3.org/Consortium/supporter-logos/csupporter.png" alt="W3C Supporter" /></a>
185   </p>
186
187    <p class="copyright">
188      <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> &copy; 1994-2006
189      <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a>&reg;
190
191      (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>,
192      <a href="http://www.ercim.org/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
193      <a href="http://www.keio.ac.jp/">Keio</a>),
194      All Rights Reserved.
195      W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
196      <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>,
197      <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a>
198      and <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-software">software licensing</a>
199
200      rules apply. Your interactions with this site are in accordance
201      with our <a href="http://www.w3.org/Consortium/Legal/privacy-statement#Public">public</a> and
202      <a href="http://www.w3.org/Consortium/Legal/privacy-statement#Members">Member</a> privacy
203      statements.
204    </p>
205
206</body>
207</html>
Note: See TracBrowser for help on using the browser.