| 1 | #set ($noEscape_title = "Unicorn") |
|---|
| 2 | #set ($css = ['base_ucn.css']) |
|---|
| 3 | #set ($js = ['scripts/mootools-1.2.3-core-nc.js', 'scripts/mootools-1.2.3.1-more.js', 'scripts/w3c_unicorn_index.js']) |
|---|
| 4 | #parse( 'head.vm' ) |
|---|
| 5 | |
|---|
| 6 | #if ($messages) |
|---|
| 7 | #displayMessages($messages) |
|---|
| 8 | #end |
|---|
| 9 | <div id="frontforms"> |
|---|
| 10 | <ul id="tabset_tabs"> |
|---|
| 11 | <li><a href="#validate-by-uri">$validate-by-uri</a></li><!-- |
|---|
| 12 | --><li><a href="#validate-by-upload">$validate-by-upload</a></li><!-- |
|---|
| 13 | --><li><a href="#validate-by-input">$validate-by-input</a></li> |
|---|
| 14 | </ul> |
|---|
| 15 | |
|---|
| 16 | <div id="fields"> |
|---|
| 17 | <form method="get" action="./"> |
|---|
| 18 | <fieldset> |
|---|
| 19 | <legend>$select-a-task</legend> |
|---|
| 20 | <div class="input"> |
|---|
| 21 | <p> |
|---|
| 22 | <label><span>$task:</span> |
|---|
| 23 | <select name="${param_prefix}task" id="tasks"> |
|---|
| 24 | #foreach( $task in $tasklist ) |
|---|
| 25 | <option value="$task.getID()" title="$task.getDescription($lang)" #if ($task == $current_task) selected="selected" #end>$task.getLongName("${lang}")</option> |
|---|
| 26 | #end |
|---|
| 27 | </select> |
|---|
| 28 | </label> |
|---|
| 29 | #if ($!param_lang)<input type="hidden" name="${param_prefix}lang" value="$lang" class="lang" />#end |
|---|
| 30 | <input id="task_change" type="submit" value="OK" /> |
|---|
| 31 | <span id="task_descrip">$current_task.getDescription($lang)</span> |
|---|
| 32 | </p> |
|---|
| 33 | </div> |
|---|
| 34 | </fieldset> |
|---|
| 35 | </form> |
|---|
| 36 | <form action="observe" method="get" id="validate-by-uri"> |
|---|
| 37 | <fieldset> |
|---|
| 38 | <legend>$legend-by-uri</legend> |
|---|
| 39 | <div class="input"> |
|---|
| 40 | <p class="instructions">$instruction-by-uri</p> |
|---|
| 41 | <p> |
|---|
| 42 | <label title="$uri_title" for="ucn_uri"><span>$uri:</span> |
|---|
| 43 | <input type="text" name="${param_prefix}uri" id="ucn_uri" size="45" #if($param_uri)value="$param_uri" #end/> |
|---|
| 44 | </label> |
|---|
| 45 | </p> |
|---|
| 46 | </div> |
|---|
| 47 | #parse('parameters.vm') |
|---|
| 48 | #submit_button |
|---|
| 49 | </fieldset> |
|---|
| 50 | </form> |
|---|
| 51 | <form action="observe" method="post" enctype="multipart/form-data" id="validate-by-upload"> |
|---|
| 52 | <fieldset> |
|---|
| 53 | <legend>$legend-by-upload</legend> |
|---|
| 54 | <div class="input"> |
|---|
| 55 | <p class="instructions">$instruction-by-upload</p> |
|---|
| 56 | <p> |
|---|
| 57 | <label title="$instruction-by-upload" for="ucn_file"><span>$local_file:</span> |
|---|
| 58 | <input type="file" id="ucn_file" name="${param_prefix}file" size="30" /> |
|---|
| 59 | </label> |
|---|
| 60 | </p> |
|---|
| 61 | </div> |
|---|
| 62 | #parse('parameters.vm') |
|---|
| 63 | #submit_button |
|---|
| 64 | </fieldset> |
|---|
| 65 | </form> |
|---|
| 66 | <form action="observe" method="post" id="validate-by-input"> |
|---|
| 67 | <fieldset> |
|---|
| 68 | <legend>$legend-by-input</legend> |
|---|
| 69 | <div class="input"> |
|---|
| 70 | <p class="instructions">$instruction-by-input</p> |
|---|
| 71 | <p> |
|---|
| 72 | <textarea name="${param_prefix}text" rows="12" cols="70">#if($param_text)$param_text#end</textarea> |
|---|
| 73 | <select id="ucn_text_mime" name="${param_prefix}text_mime"> |
|---|
| 74 | #foreach($mime in $current_task.SupportedMimeTypes) |
|---|
| 75 | <option value="$mime" #if($param_text_mime && $param_text_mime == $mime)selected="selected"#end>$mime</option> |
|---|
| 76 | #end |
|---|
| 77 | </select> |
|---|
| 78 | </p> |
|---|
| 79 | </div> |
|---|
| 80 | #parse('parameters.vm') |
|---|
| 81 | #submit_button |
|---|
| 82 | </fieldset> |
|---|
| 83 | </form> |
|---|
| 84 | </div> |
|---|
| 85 | </div> |
|---|
| 86 | <div id="don_program"> |
|---|
| 87 | <script type="text/javascript" src="http://www.w3.org/QA/Tools/don_prog.js"></script> |
|---|
| 88 | </div> |
|---|
| 89 | <!--<div id="ucn_news"> |
|---|
| 90 | <h1>Latest News</h1> |
|---|
| 91 | <h2 id="news_200809">September 2008: public preview, phase 2</h2> |
|---|
| 92 | <p>The public preview of the Unicorn framework gets a massive update after two summers of code and spec improvements. All the changes, aimed at making the unicorn framework faster, more reliable and easier to integrate with validators and web observation tools, include:</p> |
|---|
| 93 | <ul> |
|---|
| 94 | <li><strong>Simplified contract format</strong>, making it easier to define interactions between unicorn and an observer</li> |
|---|
| 95 | <li><strong>New tasks format</strong>, providing a more flexible way to sequence, mix and match observations</li> |
|---|
| 96 | <li><strong>Performance</strong> improvements, with a new multithreaded architecture</li> |
|---|
| 97 | <li>The ability to function as a <strong>servlet under more engines</strong>, including Jigsaw</li> |
|---|
| 98 | <li>A <strong>localized UI</strong> (currently: English and French, as a demo)</li> |
|---|
| 99 | <li>A brand new <strong>XML parser</strong> taking care of parsing tasks, contracts and observation responses</li> |
|---|
| 100 | <li>Tons of <strong>bug fixes</strong></li> |
|---|
| 101 | </ul> |
|---|
| 102 | <h2 id="news_200609">September 2006: public preview</h2> |
|---|
| 103 | <p>Welcome to the public preview of the unicorn tool. To learn more about this tool |
|---|
| 104 | or how you can provide feedback for this preview, check the <a href="http://www.w3.org/QA/2006/09/unicorn_public_preview.html">W3C QA Weblog</a>.</p> |
|---|
| 105 | <p><strong>Note</strong>: You need to enable Javascript to be able to check documents.</p> |
|---|
| 106 | </div>--> |
|---|
| 107 | |
|---|
| 108 | #parse( 'footer.vm' ) |
|---|