W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2009

2006/unicorn/WebContent/WEB-INF/resources/templates index.vm,1.1.2.2,1.1.2.3

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 19 Aug 2009 08:14:16 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MdgJE-0006ct-2n@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv25234/WebContent/WEB-INF/resources/templates

Modified Files:
      Tag: dev2
	index.vm 
Log Message:
worked on the new interface

Index: index.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/Attic/index.vm,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- index.vm	14 Aug 2009 11:33:37 -0000	1.1.2.2
+++ index.vm	19 Aug 2009 08:14:13 -0000	1.1.2.3
@@ -6,173 +6,123 @@
 	<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>
+		 --><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>
+				<form method="get" action="">
+					<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 ) 
+#foreach( $task in $tasklist )
 								<option value="$task.getID()">$task.getLongName("${lang}")</option>
 #end
 							</select>
 						</label>
+						<label title="Change task">
+							<input type="submit" value="Ok" class="change_task" />
+						</label>
+						<input type="hidden" name="${param_prefix}lang" value="$lang" />
 					</p>
+				</form>
+				<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
+							</select>
+						</label>
+						<label title="Change task">
+							<input type="submit" value="Ok" class="change_task" />
+						</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>
+#if (true)
+					<fieldset id="opt_uri" class="options">
+						<legend>Options</legend>
+						<div> to
+						</div>
+					</fieldset>
+#end
+#if (true)
 					<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>
+#end
 					<p class="submit_button">
 						<input type="hidden" name="${param_prefix}lang" value="$lang" />
-						<label title="Submit URI for validation">
-							<input type="submit" value="Check" />
+						<input type="hidden" name="${param_prefix}task" value="conformance" />
+						<label title="$submit_title">
+							<input type="submit" value="$submit" />
 						</label>
 					</p>
 				</form>
 			</fieldset>
-		
-		
-		
-		    <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">
-					#genTasklist(0)
-					<p class="instructions">$instruction-by-uri</p>
+			<fieldset id="validate-by-upload" class="tabset_content front">
+				<legend class="tabset_label">$legend-by-upload</legend>
+				<form method="post" enctype="multipart/form-data" action="observe">
+					<p class="instructions">$select-a-task</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 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
+							</select>
 						</label>
-						<input type="hidden" name="${param_prefix}lang" value="${lang}" />
-
-					</p>
-					<fieldset id="opt_uri" class="options">
-						<p title="$simple_options">$simple_options</p>
-						<div class="simpleParamList"></div>
-					</fieldset>
-					<fieldset id="extra_opt_uri" class="moreoptions">
-						<p class="toggle closed" title="Show/Hide extra options" onclick="expand()">$extra_options</p>
-						<!-- invisible -->
-						<div class="advancedParamList"></div>
-						<!-- / invisible -->
-					</fieldset>
-					
-					
-					
-					
-					
-					
-					
-					
-					<p class="submit_button">
-						<label title="$submit_title"><input type="submit" value="$submit" /></label>
 					</p>
-				</form>
-			</fieldset>
-
-			<fieldset id="validate-by-upload"  class="tabset_content front">
-				<legend class="tabset_label">$legend-by-upload</legend>
-				<form method="post" enctype="multipart/form-data" action="observe">
-					#genTasklist(1)
-					
 					<p class="instructions">$instruction-by-upload</p>
 					<p>
-						<label title="$instruction-by-upload" for="${param_prefix}file">
-							$local_file
+						<label title="$instruction-by-upload" for="${param_prefix}file">$local_file
 							<input type="file" id="${param_prefix}file" name="${param_prefix}file" size="30" />
-							<input type="hidden" name="${param_prefix}lang" value="fr" />
 						</label>
-						
 					</p>
 					<fieldset id="opt_upload" class="options">
-						<p title="$simple_options">$simple_options</p>
-						<div class="simpleParamList"></div>
+						<legend>Options</legend>
+						<div>
+						</div>
 					</fieldset>
 					<fieldset id="extra_opt_upload" class="moreoptions">
-						<p class="toggle closed" title="Show/Hide extra options" onclick="expand()">$extra_options</p>
-						<!-- invisible -->
-						<div class="advancedParamList"></div>
-						<!-- / invisible -->
+						<legend class="toggletext" title="Show/Hide extra options">$extra_options</legend>
+						<div class="options">
+							
+						</div>
 					</fieldset>
 					<p class="submit_button">
+						<input type="hidden" name="${param_prefix}lang" value="$lang" />
 						<label title="$submit_title">
 							<input type="submit" value="$submit" />
 						</label>
 					</p>
 				</form>
 			</fieldset>
-
-			<fieldset id="validate-by-input"  class="tabset_content front">
+			<fieldset id="validate-by-input" class="tabset_content front">
 				<legend class="tabset_label">$legend-by-input</legend>
 				<form action="observe" method="get">
-					#genTasklist(2)
+					<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
+							</select>
+						</label>
+					</p>
 					<p class="instructions">$instruction-by-input</p>
 					<p>
 						<textarea name="${param_prefix}text" rows="12" cols="70"></textarea>
@@ -180,29 +130,52 @@
 						<input type="hidden" name="${param_prefix}lang" value="fr" />
 					</p>      
 					<fieldset id="opt_direct" class="options">
-						<p title="$simple_options">$simple_options</p>
-						<div class="simpleParamList"></div>
+						<legend>Options</legend>
+						<div>
+						</div>
 					</fieldset>
 					<fieldset id="extra_opt_direct" class="moreoptions">
-						<p class="toggle closed" title="Show/Hide extra options" onclick="expand()">$extra_options</p>
-						<!-- invisible -->
-						<div class="advancedParamList"></div>
-						<!-- / invisible -->
+						<legend class="toggletext" title="Show/Hide extra options">$extra_options</legend>
+						<div class="options">
+							
+						</div>
 					</fieldset>
 					<p class="submit_button">
+						<input type="hidden" name="${param_prefix}lang" value="$lang" />
 						<label title="$submit_title">
 							<input type="submit" value="$submit" />
 						</label>
 					</p>
 				</form>
 			</fieldset>
-		    </div><!-- fiends -->
-		</div><!-- end div id = frontforms -->
+		</div>
+	</div>
+	<div class="intro" id="don_program">
+		<script type="text/javascript" src="http://www.w3.org/QA/Tools/don_prog.js"></script>
+	</div>
+	<!--<div id="ucn_news">
+		<h1>Latest News</h1>
+		<h2 id="news_200809">September 2008: public preview, phase 2</h2>
+		<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>
+		<ul>
+			<li><strong>Simplified contract format</strong>, making it easier to define interactions between unicorn and an observer</li>
+			<li><strong>New tasks format</strong>, providing a more flexible way to sequence, mix and match observations</li>
+			<li><strong>Performance</strong> improvements, with a new multithreaded architecture</li>
+			<li>The ability to function as a <strong>servlet under more engines</strong>, including Jigsaw</li>
+			<li>A <strong>localized UI</strong> (currently: English and French, as a demo)</li>
+			<li>A brand new <strong>XML parser</strong> taking care of parsing tasks, contracts and observation responses</li>
+			<li>Tons of <strong>bug fixes</strong></li>
+		</ul>
+		<h2 id="news_200609">September 2006: public preview</h2>
+		<p>Welcome to the public preview of the unicorn tool. To learn more about this tool
+		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>
+		<p><strong>Note</strong>: You need to enable Javascript to be able to check documents.</p>
+	</div>
 <h2>$last_news</h2>
 <h3>$news_subtitle</h3>
 <p>$news</p>
 
-<p><strong>Note</strong>: Vous devez activer JavaScript pour pouvoir v&eacute;rifier des documents.</p>
+<p><strong>Note</strong>: Vous devez activer JavaScript pour pouvoir v&eacute;rifier des documents.</p>-->
 
 
 #parse( 'includes/footer.vm' )
\ No newline at end of file
Received on Wednesday, 19 August 2009 08:14:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:38 UTC