- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 14 Aug 2009 11:33:39 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates In directory hutz:/tmp/cvs-serv21542/WebContent/WEB-INF/resources/templates Modified Files: Tag: dev2 xhtml10.vm index.vm Log Message: moved template directory to resources Index: xhtml10.vm =================================================================== RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/Attic/xhtml10.vm,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- xhtml10.vm 11 Aug 2009 16:05:40 -0000 1.1.2.1 +++ xhtml10.vm 14 Aug 2009 11:33:37 -0000 1.1.2.2 @@ -95,18 +95,7 @@ #end </ol> #end - -<body> - <div id="banner"> - <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> -<img src="images/unicorn.png" alt="Unicorn" /></h1> - - - </div> - <p id="tagline"> - the Web's Universal Conformance Checker - <strong>ALPHA Test Version</strong> - </p> <div id="result"> #set($observationList = $unicorncall.ObservationList) #foreach($observationName in $observationList.keySet()) Index: index.vm =================================================================== RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/Attic/index.vm,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- index.vm 11 Aug 2009 16:05:40 -0000 1.1.2.1 +++ index.vm 14 Aug 2009 11:33:37 -0000 1.1.2.2 @@ -1,52 +1,103 @@ #set ($title = "Unicorn") #set ($css = ['base.css']) -#set ($js = ['tabtastic/addclasskillclass.js', 'tabtastic/attachevent.js', - 'tabtastic/addcss.js', 'tabtastic/tabtastic.js', 'en_parameters.js']) +#set ($js = ['scripts/mootools.js', 'scripts/w3c-validator.js']) #parse( 'includes/head.vm' ) -#macro(genTasklist $i) - <div> - $task: - <select name="${param_prefix}task" onchange="javascript:taskChanged(this.options[this.options.selectedIndex].value, $i);"> - #foreach( $task in $tasklist ) - <option value="$task.getID()">$task.getLongName("${lang}")</option> - #end - </select> - </div> + <div id="frontforms"> + <ul id="tabset_tabs"> + <li><a href="#validate-by-uri" class="active">$validate-by-uri</a></li><!-- + --><li><a href="#validate-by-upload">$validate-by-upload</a></li><!-- + --><li><a href="#validate-by-input">$validate-by-input</a></li> + </ul> + <div id="fields"> + <fieldset id="validate-by-uri" class="tabset_content front"> + <legend class="tabset_label">$legend-by-uri</legend> + <form method="get" action="observe"> + <p class="instructions">Select a task:</p> + <p> + <label title="Address of page to Validate">$task: + <select name="${param_prefix}task" class="ucn_task"> +#foreach( $task in $tasklist ) + <option value="$task.getID()">$task.getLongName("${lang}")</option> #end - - <body onload="init()"> - - <div id="banner"> - <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> - <img src="images/unicorn.png" alt="Unicorn" /> - </h1> - </div> - - <p id="tagline">the Web's Universal Conformance Checker - <strong>ALPHA Test Version</strong></p> + </select> + </label> + </p> + <p class="instructions">$instruction-by-uri</p> + <p> + <label title="$uri_title" for="${param_prefix}uri">$uri: + <input type="text" name="${param_prefix}uri" id="${param_prefix}uri" size="45" /> + </label> + </p> + <fieldset id="extra_opt_uri" class="moreoptions"> + <legend class="toggletext" title="Show/Hide extra options">$extra_options</legend> + <div class="options"> + <table> + <tr> + <th id="header_profile_uri"> + <label for="profile_uri">Profile :</label> + </th> + <td headers="header_profile_uri"> + <select id="profile_uri" name="profile"> + <option value="none">No special profile</option> + <option value="css1">CSS level 1</option> + <option value="css2">CSS level 2</option> + <option selected="selected" value="css21">CSS level 2.1</option> + <option value="css3">CSS level 3</option> + <option value="svg">SVG</option> + <option value="svgbasic">SVG Basic</option> + <option value="svgtiny">SVG tiny</option> + <option value="mobile">Mobile</option> + <option value="atsc-tv">ATSC TV profile</option> + <option value="tv">TV profile</option> + </select> + </td> + <th id="header_medium_uri"> + <label for="medium_uri">Medium :</label> + </th> + <td headers="header_medium_uri"> + <select id="medium_uri" name="usermedium"> + <option selected="selected" value="all">All</option> + <option value="aural">aural</option> + <option value="braille">braille</option> + <option value="embossed">embossed</option> + <option value="handheld">handheld</option> + <option value="print">print</option> + <option value= "projection">projection</option> + <option value="screen">screen</option> + <option value="tty">TTY</option> + <option value="tv">TV</option> + <option value="presentation">presentation</option> + </select> + </td> + </tr> + <tr> + <th id="header_warning_uri"> + <label for="warning_uri">Warnings :</label> + </th> + <td colspan="3" headers="header_warning_uri"> + <select id="warning_uri" name="warning"> + <option value="2">All</option> + <option selected="selected" value="1">Normal report</option> + <option value="0">Most important</option> + <option value="no">No warnings</option> + </select> + </td> + </tr> + </table> + </div> + </fieldset> + <p class="submit_button"> + <input type="hidden" name="${param_prefix}lang" value="$lang" /> + <label title="Submit URI for validation"> + <input type="submit" value="Check" /> + </label> + </p> + </form> + </fieldset> + + - <ul id="lang_choice"> - #foreach( $key in $languages.keySet() ) - <li><a lang="$key" - xml:lang="$key" - hreflang="$key" - rel="alternate" - href="index.${key}.html">$languages.get($key)</a> - </li> - #end - </ul> - - - - <div id="frontforms"> - <ul class="tabset_tabs"> - <li><a href="#validate-by-uri" class="active">$validate-by-uri</a></li><!-- - --><li><a href="#validate-by-upload">$validate-by-upload</a></li><!-- - --><li><a href="#validate-by-input">$validate-by-input</a></li> - </ul> <div id="fields"> <fieldset id="validate-by-uri" class="tabset_content front"> @@ -72,6 +123,14 @@ <div class="advancedParamList"></div> <!-- / invisible --> </fieldset> + + + + + + + + <p class="submit_button"> <label title="$submit_title"><input type="submit" value="$submit" /></label> </p> @@ -145,4 +204,5 @@ <p><strong>Note</strong>: Vous devez activer JavaScript pour pouvoir vérifier des documents.</p> -#parse( 'includes/footer.vm' ) + +#parse( 'includes/footer.vm' ) \ No newline at end of file
Received on Friday, 14 August 2009 11:33:49 UTC