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

2006/unicorn/WebContent/WEB-INF/templates index.vm,NONE,1.1.2.1

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 05 Aug 2009 10:26:56 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MYdhw-0005Bj-8t@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/templates
In directory hutz:/tmp/cvs-serv19002/WebContent/WEB-INF/templates

Added Files:
      Tag: dev2
	index.vm 
Log Message:
New project

--- NEW FILE: index.vm ---
#set ($title = "Unicorn")
#set ($css = ['base.css'])
#set ($js = ['scripts/mootools.js', 'scripts/w3c-validator.js'])
#parse( 'includes/head.vm' )

#macro(genTasklist $i)
	<div>
		$task:
		<select name="${param_prefix}task">
			#foreach( $task in $tasklist ) 
				<option value="$task.getID()">$task.getLongName("${lang}")</option> 
			#end
		</select>
	</div>
#end
	<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
							</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>
		
		
		
		    <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>
					<p>
						<label title="$uri_title" for="${param_prefix}uri">
							$uri:
							<input type="text" name="${param_prefix}uri" id="${param_prefix}uri" size="45" />
						</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
							<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>
					</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 -->
					</fieldset>
					<p class="submit_button">
						<label title="$submit_title">
							<input type="submit" value="$submit" />
						</label>
					</p>
				</form>
			</fieldset>

			<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">$instruction-by-input</p>
					<p>
						<textarea name="${param_prefix}text" rows="12" cols="70"></textarea>
						<span id="${param_prefix}text_mime"></span>
						<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>
					</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 -->
					</fieldset>
					<p class="submit_button">
						<label title="$submit_title">
							<input type="submit" value="$submit" />
						</label>
					</p>
				</form>
			</fieldset>
		    </div><!-- fiends -->
		</div><!-- end div id = frontforms -->
<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>


#parse( 'includes/footer.vm' )
Received on Wednesday, 5 August 2009 10:27:06 UTC

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