- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 20 Feb 2007 02:14:50 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/share/templates/en_US In directory hutz:/tmp/cvs-serv1460/share/templates/en_US Modified Files: invalid.tmpl jumpbar.tmpl result.tmpl table.tmpl valid.tmpl Log Message: [work in progress] slight reorg of results, applying small style changed. Index: result.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/result.tmpl,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- result.tmpl 7 Feb 2007 15:25:10 -0000 1.11 +++ result.tmpl 20 Feb 2007 02:14:48 -0000 1.12 @@ -1,28 +1,23 @@ <TMPL_INCLUDE NAME="header.tmpl"> +<TMPL_INCLUDE name="jumpbar.tmpl"> +<!-- valid/invalid header and revalidation table --> +<TMPL_INCLUDE NAME="table.tmpl"> - <div id="main"> - <div id="head"> - <TMPL_INCLUDE name="jumpbar.tmpl"> - <TMPL_INCLUDE NAME="table.tmpl"> - </div><!-- end of "head" --> - <TMPL_IF NAME="have_warnings"> - <TMPL_INCLUDE NAME="warnings.tmpl"> - </TMPL_IF> + <TMPL_IF NAME="is_xml"> + <p><strong>Note</strong>: + The Validator XML support has + <a href="http://openjade.sourceforge.net/doc/xml.htm" + title="Limitations in Validator XML support">some limitations</a>. + </p> + </TMPL_IF> - <TMPL_IF NAME="is_xml"> - <p><strong>Note</strong>: - The Validator XML support has - <a href="http://openjade.sourceforge.net/doc/xml.htm" - title="Limitations in Validator XML support">some limitations</a>. - </p> - </TMPL_IF> - <a id="skip" name="skip"></a> - <TMPL_IF NAME="VALID"> - <TMPL_INCLUDE NAME="valid.tmpl"> - <TMPL_ELSE> - <TMPL_INCLUDE NAME="invalid.tmpl"> - </TMPL_IF> + <TMPL_IF NAME="VALID"> + <TMPL_INCLUDE NAME="valid.tmpl"> + <TMPL_ELSE> + <TMPL_INCLUDE NAME="invalid.tmpl"> + </TMPL_IF> + <TMPL_IF NAME="opt_show_source"> <TMPL_INCLUDE NAME="opt_show_source.tmpl"> @@ -48,6 +43,8 @@ <TMPL_INCLUDE NAME="opt_show_raw_errors.tmpl"> </TMPL_IF> + + </div><!-- end of "main" --> <TMPL_INCLUDE NAME="footer.tmpl"> Index: valid.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/valid.tmpl,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- valid.tmpl 15 Nov 2006 08:02:47 -0000 1.16 +++ valid.tmpl 20 Feb 2007 02:14:48 -0000 1.17 @@ -1,19 +1,22 @@ <div id="result"> -<TMPL_IF NAME="is_tentative"> - <h2 class="tentative_valid">This Page Is <em>Tentatively</em> Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML"></h2> -<TMPL_ELSE> - <h2 class="valid">This Page Is Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML">!</h2> -</TMPL_IF> - <dl class="tip"> - <dt><a href="http://www.w3.org/2001/06tips/">Tip Of The Day</a>:</dt> - <dd><a href="<TMPL_VAR NAME="tip_uri" ESCAPE="HTML">"><TMPL_VAR NAME="tip_slug"></a></dd> - </dl> + + <TMPL_IF NAME="have_warnings"> + <TMPL_INCLUDE NAME="warnings.tmpl"> + </TMPL_IF> + <TMPL_IF NAME="has_errors"> +<h3 id="warning_loop">Validation Output<TMPL_IF NAME="number_of_warnings">: <TMPL_VAR NAME="number_of_warnings" ESCAPE="HTML"></TMPL_IF></h3> <p> Below is a list of the warning message(s) produced when validating your document. </p> -<TMPL_INCLUDE NAME="error_loop.tmpl"> + <TMPL_IF NAME="opt_group_errors"> + <TMPL_INCLUDE NAME="error_loop_grouped.tmpl"> + <TMPL_ELSE> + <TMPL_INCLUDE NAME="error_loop.tmpl"> + </TMPL_IF> </TMPL_IF> + +<h3 id="congrats">Congratulations</h3> <p> <TMPL_IF NAME="is_upload"> The uploaded document "<TMPL_VAR NAME="file_uri" ESCAPE="HTML">" Index: invalid.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/invalid.tmpl,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- invalid.tmpl 16 May 2005 08:41:45 -0000 1.12 +++ invalid.tmpl 20 Feb 2007 02:14:48 -0000 1.13 @@ -1,18 +1,21 @@ - <div id="result"> - <h2 id="results" class="invalid">This page is <strong>not</strong> Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML">!</h2> -<TMPL_IF NAME="is_xml"> - <p> - Below are the results of checking this document for <a - href="http://www.w3.org/TR/REC-xml#sec-conformance">XML - well-formedness</a> and validity. - </p> + +<TMPL_IF NAME="have_warnings"> + <TMPL_INCLUDE NAME="warnings.tmpl"> +</TMPL_IF> + +<TMPL_INCLUDE NAME="backtop.tmpl"> + + +<div id="result"> + +<h3>Validation Output<TMPL_IF NAME="number_of_errors">: <TMPL_VAR NAME="number_of_errors" ESCAPE="HTML"></TMPL_IF></h3> + +<TMPL_IF NAME="opt_group_errors"> + <TMPL_INCLUDE NAME="error_loop_grouped.tmpl"> <TMPL_ELSE> - <p> - Below are the results of attempting to parse this document with - an SGML parser. - </p> + <TMPL_INCLUDE NAME="error_loop.tmpl"> </TMPL_IF> -<TMPL_INCLUDE NAME="error_loop.tmpl"> +<TMPL_INCLUDE NAME="backtop.tmpl"> </div> Index: table.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/table.tmpl,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- table.tmpl 13 Nov 2006 04:13:13 -0000 1.20 +++ table.tmpl 20 Feb 2007 02:14:48 -0000 1.21 @@ -1,6 +1,18 @@ +<TMPL_IF NAME="VALID"> + <TMPL_IF NAME="is_tentative"> + <h2 class="tentative_valid">This Page Is <em>Tentatively</em> Valid + <TMPL_VAR NAME="file_version" ESCAPE="HTML"></h2> + <TMPL_ELSE> + <h2 class="valid">This Page Is Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML">!</h2> + </TMPL_IF> +<TMPL_ELSE> + <h2 id="results" class="invalid">This page is <strong>not</strong> Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML">!</h2> +</TMPL_IF> + + <TMPL_IF NAME="file_uri"> <form id="form" method="get" action="check"> - <table class="header"> + <table class="header" width="100%"> <tr> <th>Result:</th> <TMPL_IF NAME="VALID"> Index: jumpbar.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/jumpbar.tmpl,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- jumpbar.tmpl 7 Feb 2007 15:25:10 -0000 1.8 +++ jumpbar.tmpl 20 Feb 2007 02:14:48 -0000 1.9 @@ -1,7 +1,17 @@ - <div id="jumpbar"> - Jump To: - <ul> - <li><a title="Result of Validation" href="#result">Results</a></li> + + + <ul class="navbar" id="jumpbar"> + <li><strong>Jump To:</strong></li> + <TMPL_IF NAME="have_warnings"> + <li><a href="#preparse_warnings">Important Warnings</a></li> + </TMPL_IF> + <TMPL_IF NAME="has_errors"> + <li><a title="Result of Validation" href="#result">Validation Output</a></li> + </TMPL_IF> + <TMPL_IF NAME="VALID"> + <li><a title="Information on validation, Icons" href="#congrats">Congratulations · Icons</a></li> +</TMPL_IF> + <TMPL_IF NAME="opt_show_source"> <li><a title="Listing of Source Input" href="#source">Source Listing</a></li> </TMPL_IF> @@ -22,4 +32,3 @@ <li><a title="Raw Errors" href="#raw_errors">Raw Errors</a></li> </TMPL_IF> </ul> - </div>
Received on Tuesday, 20 February 2007 02:14:57 UTC