- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 22 Mar 2007 05:03:09 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/htdocs In directory hutz:/tmp/cvs-serv7472 Modified Files: index.html detailed-form_directinput.html detailed.html Log Message: removing toggle - too many usability issues - and copying new design to detailed.html Index: detailed.html =================================================================== RCS file: /sources/public/validator/htdocs/detailed.html,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- detailed.html 21 Jul 2004 15:06:55 -0000 1.18 +++ detailed.html 22 Mar 2007 05:03:07 -0000 1.19 @@ -4,30 +4,80 @@ --><!--#set var="relroot" value="./" --><!--#include virtual="header.html" --> - <p><a id="skip" name="skip"></a> - This form allows you to enter a <acronym - title="Universal Resource Locator">URL</acronym> - and have it validated. If you want to validate a file on - your computer, you can use the <a href="file-upload.html">File - Upload Interface</a>. - </p> - <div> - <fieldset><legend>Validate by URL</legend> - <form method="get" action="check"> - <table> - <tr><th><label title="Address of page to Validate" - for="uri">Address:</label></th><td colspan="2"><input id="uri" - name="uri" size="50" /></td></tr> - <!--#include virtual="detailed-form.html" --> - <tr> - <td></td> - <td><input type="submit" value="Validate this page" /></td> - <td></td> - </tr> - </table> - </form> - </fieldset> - </div> +<p id="tagline"> +Check the markup (HTML, XHTML) of Web documents +</p> + +<div id="frontforms"> +<ul class="tabset_tabs"><li><a href="#validate-by-uri" class="active">by URI</a></li><li><a href="#validate-by-upload">by File Upload</a></li><li><a href="#validate-by-input">by direct Input</a></li></ul> +<div id="fields"> + +<fieldset id="validate-by-uri" class="tabset_content front"><legend class="tabset_label">Validate by URI</legend> + <form method="get" action="check"> + <p class="instructions"> + Validate a document online: + </p> + <p> + <label title="Address of page to Validate" for="uri">Address:</label> + <input type="text" name="uri" id="uri" size="45" /> + </p> + <fieldset id="extra_opt_uri" class="moreoptions"> + <legend><a href="./#validate-by-uri" title="hide the options - see the simple interface"><img alt="*" src="../images/arrow-down.gif" /> Options</a> - ( <a title="Explanation for these options" href="docs/users.html#Options">Need Help?</a> ) </legend> + <!--#set var="fieldset_id" value="uri"--> + <!--#include virtual="detailed-form.html" --> + </fieldset> + + <p class="submit_button"><label title="Submit file for validation"><input type="submit" value="Check" /></label></p> + </form> +</fieldset> + +<fieldset id="validate-by-upload" class="tabset_content front"><legend class="tabset_label">Validate by File Upload</legend> +<form method="post" enctype="multipart/form-data" action="check"> + <p class="instructions">Upload a document for validation:</p> + <p><label title="Choose a Local File to Upload and Validate" for="uploaded_file">File:</label> + <input type="file" id="uploaded_file" name="uploaded_file" size="30" /></p> + <fieldset id="extra_opt_upload" class="moreoptions"> + <legend><a href="./#validate-by-upload" title="hide the options - see the simple interface"><img alt="*" src="../images/arrow-down.gif" /> Options</a> - ( <a title="Explanation for these options" href="docs/users.html#Options">Need Help?</a> ) </legend> + <!--#set var="fieldset_id" value="upload"--> + <!--#include virtual="detailed-form.html" --> + </fieldset><!-- invisible --> + <p class="submit_button"><label title="Submit file for validation"><input type="submit" value="Check" /></label></p> +</form> + <p><strong>Note</strong>: file upload may not work with Internet + Explorer on some versions of Windows XP Service Pack 2, see our + <a href="http://www.w3.org/QA/2005/01/Validator-IE_WinXP_SP2">information page</a> + on the W3C QA Website.</p> + +</fieldset> + <fieldset id="validate-by-input" class="tabset_content front"><legend class="tabset_label">Validate by direct input</legend> + <form method="post" enctype="multipart/form-data" action="check"> + <p class="instructions"><label title="Paste a complete (HTML) Document here" for="fragment">Enter the Markup (Full Document) to validate</label>:<br /> + + <textarea id="fragment" name="fragment" rows="12" cols="70"></textarea> + <br /><label for="parsemodel">Treat as:</label> + <select id="parsemodel" name="parsemodel"> + <option value="sgml">HTML</option> + <option value="xml">XML (and XHTML)</option> + </select> + </p> + <fieldset id="extra_opt_direct" class="moreoptions"> + <legend><a href="./#validate-by-input" title="hide the options - see the simple interface"><img alt="*" src="../images/arrow-down.gif" /> Options</a> - ( <a title="Explanation for these options" href="docs/users.html#Options">Need Help?</a> ) </legend> + <table> + <!--#set var="fieldset_id" value="direct"--> + <!--#include virtual="detailed-form_directinput.html" --> + </table> + </fieldset> + <p> </p> + + <p class="submit_button"> + <input type="submit" value="Validate this document" /> + <input type="reset" value="Reset this form" /> + </p> + + </form> + </fieldset> + </div><!-- fields --> + </div> <!-- frontforms --> +<!--#include virtual="intro.html" --> <!--#include virtual="footer.html" --> - </body> -</html> + Index: detailed-form_directinput.html =================================================================== RCS file: /sources/public/validator/htdocs/detailed-form_directinput.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- detailed-form_directinput.html 20 Feb 2007 01:56:44 -0000 1.1 +++ detailed-form_directinput.html 22 Mar 2007 05:03:07 -0000 1.2 @@ -3,12 +3,22 @@ <td> <!--#include virtual="doctype-select.html" --></td> <td> <label for="<!--#echo var="fieldset_id" -->-fbd"><input id="<!--#echo var="fieldset_id" -->-fbd" name="fbd" type="checkbox" value="1" />Only if Doctype is missing</label></td> </tr> - <tr> - <th rowspan="2">Options (<a title="Explanation for these options" href="docs/users.html#Options">Help</a>):</th> - <td><label title="Show Page Source" for="<!--#echo var="fieldset_id" -->-ss"><input id="<!--#echo var="fieldset_id" -->-ss" name="ss" type="checkbox" value="1" /> Show Source</label></td> - <td><label title="Show an Outline of the document" for="<!--#echo var="fieldset_id" -->-outline"><input id="<!--#echo var="fieldset_id" -->-outline" name="outline" type="checkbox" value="1" /> Show Outline</label></td> + <tr> + <td colspan="3"><input type="radio" name="group" id="<!--#echo var="fieldset_id" -->group_no" value="0" checked="checked" /><label for="<!--#echo var="fieldset_id" -->group_no">List Messages Sequentially</label> <input type="radio" name="group" id="<!--#echo var="fieldset_id" -->group_yes" value="1" /><label for="<!--#echo var="fieldset_id" -->group_yes">Group Error Messages by type</label></td> + +</tr> +<tr> + <td><label title="Show Page Source" for="<!--#echo var="fieldset_id" -->-ss"><input id="<!--#echo var="fieldset_id" -->-ss" name="ss" type="checkbox" value="1" />Show Source</label></td> + <td colspan="2"><input id="<!--#echo var="fieldset_id" -->-st" name="st" type="checkbox" value="1" /><label for="<!--#echo var="fieldset_id" -->-st">Clean up Markup with HTML Tidy</label> + </td> + + + </tr> <tr> - <td><label title="Validate also pages for which the HTTP status code indicates an error" for="<!--#echo var="fieldset_id" -->-No200"><input id="<!--#echo var="fieldset_id" -->-No200" name="No200" type="checkbox" value="1" /> Validate error pages</label></td> - <td><label title="Show Verbose Output" for="<!--#echo var="fieldset_id" -->-verbose"><input id="<!--#echo var="fieldset_id" -->-verbose" name="verbose" type="checkbox" value="1" checked="checked" /> Verbose Output</label></td> - </tr> + <td><input id="<!--#echo var="fieldset_id" -->-outline" name="outline" type="checkbox" value="1" /><label title="Show an Outline of the document" for="<!--#echo var="fieldset_id" -->-outline">Show Outline</label> + </td> + <td><label title="Validate also pages for which the HTTP status code indicates an error" for="<!--#echo var="fieldset_id" -->-No200"><input id="<!--#echo var="fieldset_id" -->-No200" name="No200" type="checkbox" value="1" /> Validate error pages</label></td> + + <td><label title="Verbose Output" for="<!--#echo var="fieldset_id" -->-verbose"><input id="<!--#echo var="fieldset_id" -->-verbose" name="verbose" type="checkbox" value="0" />Verbose Output</label></td> + </tr> Index: index.html =================================================================== RCS file: /sources/public/validator/htdocs/index.html,v retrieving revision 1.83 retrieving revision 1.84 diff -u -d -r1.83 -r1.84 --- index.html 1 Mar 2007 02:46:56 -0000 1.83 +++ index.html 22 Mar 2007 05:03:06 -0000 1.84 @@ -21,11 +21,7 @@ <label title="Address of page to Validate" for="uri">Address:</label> <input type="text" name="uri" id="uri" size="45" /> </p> - <fieldset id="extra_opt_uri" class="moreoptions alttoggle closed"> - <legend class="toggletext">More Options</legend> - <!--#set var="fieldset_id" value="uri"--> - <!--#include virtual="detailed-form.html" --> - </fieldset><!-- invisible --> + <p><a href="detailed.html#validate-by-uri" title="choose options from the detailed interface"><img alt="*" src="../images/arrow-right.gif"/> Options</a></p> <p class="submit_button"><label title="Submit file for validation"><input type="submit" value="Check" /></label></p> </form> </fieldset> @@ -35,11 +31,7 @@ <p class="instructions">Upload a document for validation:</p> <p><label title="Choose a Local File to Upload and Validate" for="uploaded_file">File:</label> <input type="file" id="uploaded_file" name="uploaded_file" size="30" /></p> - <fieldset id="extra_opt_upload" class="moreoptions alttoggle closed"> - <legend class="toggletext">More Options</legend> - <!--#set var="fieldset_id" value="upload"--> - <!--#include virtual="detailed-form.html" --> - </fieldset><!-- invisible --> + <p><a href="detailed.html#validate-by-upload" title="choose options from the detailed interface"><img alt="*" src="../images/arrow-right.gif"/> Options</a></p> <p class="submit_button"><label title="Submit file for validation"><input type="submit" value="Check" /></label></p> </form> <p><strong>Note</strong>: file upload may not work with Internet @@ -48,6 +40,8 @@ on the W3C QA Website.</p> </fieldset> + + <fieldset id="validate-by-input" class="tabset_content front"><legend class="tabset_label">Validate by direct input</legend> <form method="post" enctype="multipart/form-data" action="check"> <p class="instructions"><label title="Paste a complete (HTML) Document here" for="fragment">Enter the Markup (Full Document) to validate</label>:<br /> @@ -59,13 +53,7 @@ <option value="xml">XML (and XHTML)</option> </select> </p> - <fieldset id="extra_opt_direct" class="moreoptions alttoggle closed"> - <legend class="toggletext">More Options</legend> - <table> - <!--#set var="fieldset_id" value="direct"--> - <!--#include virtual="detailed-form_directinput.html" --> - </table> - </fieldset><!-- invisible --> + <p><a href="detailed.html#validate-by-input" title="choose options from the detailed interface"><img alt="*" src="../images/arrow-right.gif"/> Options</a></p> <p class="submit_button"> <input type="submit" value="Validate this document" /> @@ -76,20 +64,7 @@ </fieldset> </div><!-- fields --> </div> <!-- frontforms --> -<div class="intro"> - <p> - This validator checks the - <a href="docs/help.html#validation_basics" title="What is markup validation?">markup validity</a> - of Web documents in HTML, XHTML, SMIL, MathML, etc. - If you wish to validate specific content such as - <a href="http://validator.w3.org/feed/" title="Feed validator, hosted at W3C">RSS/Atom feeds</a> or - <a href="http://jigsaw.w3.org/css-validator/" title="W3C CSS Validation Service">CSS stylesheets</a> - or to <a href="http://validator.w3.org/checklink" title="W3C Link Checker">find broken links</a>, - there are <a href="http://www.w3.org/QA/Tools/">other validators and tools</a> available. - </p> - <p>This is the markup Validator v0.8.0-dev. - Latest Stable release of the validator was - <a href="whatsnew.html#t2006-11-14">version 0.7.4, released 14 Nov, 2006</a>.</p> -</div> + <!--#include virtual="intro.html" --> + <!--#include virtual="footer.html" -->
Received on Thursday, 22 March 2007 16:45:41 UTC