1 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|
3 <html lang='$content-language' xml:lang='$content-language' xmlns='http://www.w3.org/1999/xhtml' dir="$direction"> |
|
4 <head> |
|
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
|
6 <meta http-equiv="Content-Script-Type" content="text/javascript" /> |
|
7 <meta http-equiv="Content-Style-Type" content="text/css" /> |
|
8 <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" /> |
|
9 #if ( !$css ) #set ( $css = $cssversion ) #end |
|
10 <title>$W3C_validator_results $file_title ($css)</title> |
|
11 <link href="http://jigsaw.w3.org/css-validator/" rel="validator" /> |
|
12 <link type="text/css" rel='stylesheet' href='style/base.css' /> |
|
13 <link type="text/css" rel='stylesheet' href='style/results.css' /> |
|
14 </head> |
|
15 <body> |
|
16 <div id="banner"> |
|
17 <h1 id="title"><a href="http://www.w3.org/"><img alt="W3C" width="110" height="61" |
|
18 id="logo" src="./images/w3c.png" /></a> |
|
19 <a href="./"><span>$W3C_CSS_validation_service</span></a></h1> |
|
20 |
|
21 <p id="tagline"> |
|
22 $W3C_validator_results $file_title ($css) |
|
23 </p> |
|
24 </div> |
|
25 |
|
26 #if ( $errors_count > 0 || $warnings_count > 0 || $rules_count > 0 ) |
|
27 <ul class="navbar" id="jumpbar"> |
|
28 <li><strong>$jump_to:</strong></li> |
|
29 #if ( $errors_count > 0 ) |
|
30 |
|
31 <li><a href="#errors">$errors ($errors_count)</a></li> |
|
32 #end |
|
33 #if ( $warnings_count > 0 ) |
|
34 |
|
35 <li><a href="#warnings">$warnings ($warnings_count)</a></li> |
|
36 #end |
|
37 #if ( $rules_count > 0 ) |
|
38 |
|
39 <li><a href="#css">$validated_CSS</a></li> |
|
40 #end |
|
41 |
|
42 </ul> |
|
43 #end |
|
44 <div id="results_container"> |
|
45 #if ($file_title.trim().startsWith("http://")) |
|
46 <h2>$W3C_validator_results <a href="$file_title">$file_title</a> ($css)</h2> |
|
47 #else |
|
48 <h2>$W3C_validator_results $file_title ($css)</h2> |
|
49 #end |
|
50 #if ( !$no_errors_report ) |
|
51 #if ($errors_count == 0) |
|
52 <!-- NO ERRORS --> |
|
53 <div id='congrats'> |
|
54 <h3>$congrats</h3> |
|
55 <p> |
|
56 $doc_validates_before_link <a href="$css_link">$css</a> $doc_validates_after_link |
|
57 </p> |
|
58 <p> |
|
59 $no_errors_interoperable_msg |
|
60 </p> |
|
61 <img class="inline-badge" style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="$valid_CSS" /> |
|
62 <pre class='example badgeSnippet'> |
|
63 <p> |
|
64 <a href="http://jigsaw.w3.org/css-validator/check/referer"> |
|
65 <img style="border:0;width:88px;height:31px" |
|
66 src="http://jigsaw.w3.org/css-validator/images/vcss" |
|
67 alt="$valid_CSS" /> |
|
68 </a> |
|
69 </p> |
|
70 </pre> |
|
71 <img class="inline-badge" style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="$valid_CSS" /> |
|
72 <pre class='example badgeSnippet'> |
|
73 <p> |
|
74 <a href="http://jigsaw.w3.org/css-validator/check/referer"> |
|
75 <img style="border:0;width:88px;height:31px" |
|
76 src="http://jigsaw.w3.org/css-validator/images/vcss-blue" |
|
77 alt="$valid_CSS" /> |
|
78 </a> |
|
79 </p> |
|
80 </pre> |
|
81 <p>($no_errors_close_tags_msg)</p> |
|
82 |
|
83 <div class="intro" id="don_program"></div> |
|
84 <script type="text/javascript" src="http://www.w3.org/QA/Tools/don_prog.js"></script> |
|
85 |
|
86 |
|
87 <p> |
|
88 $no_errors_dl_local_msg |
|
89 </p> |
|
90 #if ( !$file_title.trim().startsWith("file://localhost") ) |
|
91 <p> |
|
92 $no_errors_create_link_msg |
|
93 </p> |
|
94 <pre>http://jigsaw.w3.org/css-validator/validator$link |
|
95 or |
|
96 http://jigsaw.w3.org/css-validator/check/referer ($no_errors_forHTML_only_msg) |
|
97 </pre> |
|
98 <p>($no_errors_bookmark_msg)</p> |
|
99 #end |
|
100 |
|
101 </div> |
|
102 <p class="backtop"><a href="#banner">↑ $top</a></p> |
|
103 #else |
|
104 |
|
105 <!-- DEALING WITH ERRORS --> |
|
106 #if ( $hook_html_validator ) |
|
107 |
|
108 $hook_html_validator |
|
109 #end |
|
110 #set ( $sf = "" ) |
|
111 #set ( $open = false ) |
|
112 |
|
113 <div id="errors"> |
|
114 <h3>$errors_sorry_msg ($errors_count)</h3> |
|
115 #if ( $request ) |
|
116 |
|
117 <h4>$request</h4> |
|
118 #end |
|
119 <div class='error-section-all'> |
|
120 #foreach ( $error_content in $errors_content ) |
|
121 #set ( $err = $error_content.get("Error") ) |
|
122 #set ( $error_msg = $error_content.get("ErrorMsg") ) |
|
123 #set ( $context_name = $error_content.get("CtxName") ) |
|
124 #set ( $context_msg = $error_content.get("CtxMsg") ) |
|
125 #set ( $class_name = $error_content.get("ClassName") ) |
|
126 #if ( $error_content.get("link_value_parse_error") ) |
|
127 #set ( $before_link = $error_content.get("link_before_parse_error") ) |
|
128 #set ( $link_value = $error_content.get("link_value_parse_error") ) |
|
129 #else |
|
130 #set ( $link_value = false ) |
|
131 #end |
|
132 #if ( $error_content.get("span_value_parse_error") ) |
|
133 #set ( $span_value = $error_content.get("span_value_parse_error") ) |
|
134 #else |
|
135 #set ( $span_value = false ) |
|
136 #end |
|
137 #if ( $sf != $err.SourceFile ) |
|
138 #if ( $open ) |
|
139 |
|
140 </table> |
|
141 <!--end of individual error section--> |
|
142 </div> |
|
143 #end |
|
144 #set ( $sf = $err.SourceFileEscaped ) |
|
145 |
|
146 <div class='error-section'> |
|
147 #if ( $fake_input ) |
|
148 <h4>URI : $file_title</h4> |
|
149 #else |
|
150 <h4>URI : <a href="$sf">$sf</a></h4> |
|
151 #end |
|
152 <table> |
|
153 #set ( $open = true ) |
|
154 #end |
|
155 |
|
156 <tr class='error'> |
|
157 <td class='linenumber' title='Line $err.Line'>$err.Line</td> |
|
158 <td class='$context_name'>#if ( $context_msg ) $context_msg #end</td> |
|
159 <td class='$class_name'> |
|
160 #if ( $link_value ) |
|
161 #set ( $link_name = $error_content.get("link_name_parse_error") ) |
|
162 |
|
163 $before_link : <a href="$link_value">$link_name</a> |
|
164 #end |
|
165 |
|
166 $error_msg |
|
167 #if ( $span_value ) |
|
168 #set ( $span_class = $error_content.get("span_class_parse_error") ) |
|
169 |
|
170 <span class="$span_class"> |
|
171 $span_value |
|
172 </span> |
|
173 #end |
|
174 |
|
175 </td> |
|
176 </tr> |
|
177 #end |
|
178 #if ( $open ) |
|
179 |
|
180 </table> |
|
181 </div> |
|
182 #end |
|
183 |
|
184 </div> |
|
185 </div> |
|
186 <p class="backtop"><a href="#banner">↑ $top</a></p> |
|
187 #end |
|
188 #end |
|
189 #if ($errors_count > 0) |
|
190 <div class="intro" id="don_program"></div> |
|
191 <script type="text/javascript" src="http://www.w3.org/QA/Tools/don_prog.js"></script> |
|
192 #end |
|
193 |
|
194 #if ($warnings_count > 0) |
|
195 <!-- DEALING WITH WARNINGS --> |
|
196 <div id="warnings"> |
|
197 <h3>$warnings ($warnings_count)</h3> |
|
198 <div class='warning-section-all'> |
|
199 #set ( $sf = "" ) |
|
200 #set ( $open = false ) |
|
201 #foreach ( $warning in $warnings_list ) |
|
202 #if ( $sf != $warning.SourceFile ) |
|
203 #if ( $open ) |
|
204 |
|
205 </table> |
|
206 <!--end of individual warning section--> |
|
207 </div> |
|
208 #end |
|
209 #set ( $sf = $warning.SourceFileEscaped ) |
|
210 |
|
211 <div class='warning-section'> |
|
212 #if ( $fake_input ) |
|
213 <h4>URI : $file_title</h4> |
|
214 #else |
|
215 <h4>URI : <a href="$sf">$sf</a></h4> |
|
216 #end |
|
217 <table> |
|
218 #set ( $open = true ) |
|
219 #end |
|
220 #if ( $warning.Level <= $warning_level ) |
|
221 |
|
222 <tr class='warning'> |
|
223 <td class='linenumber' title='Line $warning.Line'>$warning.Line</td> |
|
224 <td class='codeContext'>#if ( $warning.Context ) $warning.Context.Escaped #end</td> |
|
225 <td class='level$warning.Level' title='warning level $warning.Level'>$warning.WarningMessageEscaped</td> |
|
226 </tr> |
|
227 #end |
|
228 #end |
|
229 #if ( $open ) |
|
230 |
|
231 </table> |
|
232 </div> |
|
233 #end |
|
234 |
|
235 </div> |
|
236 </div> |
|
237 <p class="backtop"><a href="#banner">↑ $top</a></p> |
|
238 #end |
|
239 |
|
240 #if ( $rules_count > 0 ) |
|
241 <div id="css"> |
|
242 <h3>$valid_CSS_info</h3> |
|
243 <div class='vAtRule'> |
|
244 #if ($style_charset) |
|
245 |
|
246 <div class='vCharset'>@charset "$style_charset";</div> |
|
247 #end |
|
248 |
|
249 #foreach ( $rules in $at_rules_list ) |
|
250 #if ( $rules.AtRule != "" ) |
|
251 |
|
252 #if ( $rules.Empty ) |
|
253 <div class='vEmptyAtRule'>$rules.AtRuleEscaped |
|
254 #else |
|
255 <div class='atRule'> |
|
256 <span class='atSelector'> |
|
257 $rules.AtRuleEscaped |
|
258 </span> |
|
259 { |
|
260 #end |
|
261 #end |
|
262 |
|
263 <div> |
|
264 #foreach ( $rule in $rules.StyleRules ) |
|
265 |
|
266 <div class='selector'> |
|
267 #if ( $rule.Selectors ) |
|
268 <span class='selectorValue'> |
|
269 $rule.SelectorsEscaped |
|
270 </span> |
|
271 { |
|
272 #end |
|
273 <div class='RuleList'> |
|
274 #foreach ( $property in $rule.Properties ) |
|
275 |
|
276 <div class='Rule'> |
|
277 <span class='Property'>$property.PropertyNameEscaped</span> : |
|
278 <span class='PropertyValue'>$property.Escaped</span>#if ( $property.Important ) !important #end; |
|
279 </div> |
|
280 #end |
|
281 |
|
282 </div> |
|
283 #if ( $rule.Selectors ) |
|
284 } |
|
285 #end |
|
286 </div> |
|
287 #end |
|
288 |
|
289 </div> |
|
290 #if ( $rules.AtRule != "" ) |
|
291 #if ( !$rules.Empty ) |
|
292 |
|
293 } |
|
294 #end |
|
295 |
|
296 </div> |
|
297 #end |
|
298 #end |
|
299 |
|
300 </div> |
|
301 </div> |
|
302 <p class="backtop"><a href="#banner">↑ $top</a></p> |
|
303 #else |
|
304 <div id="css"><h2>$CSS_not_found</h2></div> |
|
305 #end |
|
306 </div><!-- results_container --> |
|
307 <ul class="navbar" id="menu"> |
|
308 <li><strong><a href="./" title="$home_title">$home</a></strong> <span class="hideme">|</span></li> |
|
309 <li><a href="about.html" title="$about_title">$about</a> <span class="hideme">|</span></li> |
|
310 <li><a href="documentation.html" title="$doc_title">$doc</a> <span class="hideme">|</span></li> |
|
311 <li><a href="DOWNLOAD.html" title="$dl_title">$dl</a> <span class="hideme">|</span></li> |
|
312 <li><a href="Email.html" title="$feedback_title">$feedback</a> <span class="hideme">|</span></li> |
|
313 <li><a href="thanks.html" title="$credits_title">$credits</a></li> |
|
314 </ul> |
|
315 |
|
316 #if ($file_title.trim().startsWith("http://") || $file_title.trim().equals("file://localhost/TextArea")) |
|
317 <ul id="lang_choice"> |
|
318 #foreach ( $language in $languages ) |
|
319 #set ( $name = $language.get("name") ) |
|
320 #if ( $language.get("real") ) |
|
321 #set ( $real = $language.get("real") ) |
|
322 #else |
|
323 #set ( $real = $language.get("name") ) |
|
324 #end |
|
325 |
|
326 <li><a href="$link&lang=$name" |
|
327 lang="$name" |
|
328 xml:lang="$name" |
|
329 hreflang="$name" |
|
330 rel="alternate">$real</a> |
|
331 </li> |
|
332 #end |
|
333 |
|
334 </ul> |
|
335 #end |
|
336 <div id="footer"> |
|
337 <p id="activity_logos"> |
|
338 <a href="http://www.w3.org/QA/" title="$W3C_quality_msg"><img src="http://www.w3.org/QA/2002/12/qa-small.png" alt="QA" /></a><a href="http://www.w3.org/Style/CSS/learning" title="$learn_more_msg"><img src="images/woolly-icon" alt="CSS" /></a> |
|
339 </p> |
|
340 <p id="support_logo"> |
|
341 <a href="http://www.w3.org/QA/Tools/Donate"> |
|
342 <img src="http://www.w3.org/QA/Tools/I_heart_validator" alt="I heart Validator logo" title=" Validators Donation Program" /> |
|
343 </a> |
|
344 </p> |
|
345 <p class="copyright"> |
|
346 <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> |
|
347 © 1994-2009 |
|
348 <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a>® |
|
349 (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, |
|
350 <a href="http://www.ercim.org/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, |
|
351 <a href="http://www.keio.ac.jp/">Keio</a>), |
|
352 All Rights Reserved. |
|
353 W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, |
|
354 <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>, |
|
355 <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> |
|
356 and <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-software">software licensing</a> |
|
357 rules apply. Your interactions with this site are in accordance |
|
358 with our <a href="http://www.w3.org/Consortium/Legal/privacy-statement#Public">public</a> and |
|
359 <a href="http://www.w3.org/Consortium/Legal/privacy-statement#Members">Member</a> privacy statements. |
|
360 </p> |
|
361 </div> |
|
362 </body> |
|
363 </html> |
|