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

2006/unicorn/WebContent/WEB-INF/resources/templates/includes macros_index.vm,1.1.2.1,1.1.2.2 parameters.vm,1.1.2.4,1.1.2.5

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 25 Aug 2009 09:20:16 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MfsCO-0003iN-AF@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes
In directory hutz:/tmp/cvs-serv14249/WebContent/WEB-INF/resources/templates/includes

Modified Files:
      Tag: dev2
	macros_index.vm parameters.vm 
Log Message:
now set disabled="disabled" on unrelated task options
each option input (inout, select, textarea, ...) must have class="option_input"

Index: parameters.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes/Attic/parameters.vm,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -d -r1.1.2.4 -r1.1.2.5
--- parameters.vm	24 Aug 2009 09:17:47 -0000	1.1.2.4
+++ parameters.vm	25 Aug 2009 09:20:14 -0000	1.1.2.5
@@ -2,29 +2,29 @@
 #set ($advanced_parameters = $current_task.getMapOfParameter("advanced"))
 #if ($simple_parameters.size() > 0)
 <fieldset class="options $current_task.getID()">
-						<legend>Options</legend>
-						<div class="options">
-							<ul>
+	<legend>Options</legend>
+	<div class="options">
+		<ul>
 #foreach ($param in $simple_parameters)
-								<li>
+			<li>
 #createParameter($param)
-								</li>
+			</li>
 #end
-							</ul>
-						</div>
-					</fieldset>
+		</ul>
+	</div>
+</fieldset>
 #end
 #if ($advanced_parameters.size() > 0)
 <fieldset class="options advanced $current_task.getID()">
-						<legend title="Show/Hide extra options">$extra_options</legend>
-						<div class="options">
-							<ul>
+	<legend title="Show/Hide extra options">$extra_options</legend>
+	<div class="options">
+		<ul>
 #foreach ($param in $advanced_parameters)
-								<li>
+			<li>
 #createParameter($param)
-								</li>
+			</li>
 #end
-							</ul>
-						</div>
+		</ul>
+	</div>
 </fieldset>
 #end
\ No newline at end of file

Index: macros_index.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes/Attic/macros_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
--- macros_index.vm	24 Aug 2009 15:43:24 -0000	1.1.2.1
+++ macros_index.vm	25 Aug 2009 09:20:14 -0000	1.1.2.2
@@ -1,7 +1,7 @@
 #macro(createDropdown $param $multiple)
 #set($defaults = $param.getMapOfDefaultValue())
 <label><span>$param.getLongName($lang):</span> 
-	<select name="$param.Name" #if($multiple) multiple="multiple" size="3" #end>
+	<select name="$param.Name" #if($multiple) multiple="multiple" size="3" #end class="option_input">
 #foreach ($value in $param.getMapOfValue())
 		<option value="$value.Name"#if($defaults.containsKey($value.getName())) selected="selected" #end>$value.getLongName($lang)</option>
 #end
@@ -15,7 +15,7 @@
 <span class="checkboxlist">
 #foreach ($value in $param.getMapOfValue())
 	<label>$value.getLongName($lang)
-		<input type="checkbox" name="$param.getName()" value="$value.getName()"#if($defaults.containsKey($value.getName())) checked="checked" #end/>
+		<input type="checkbox" name="$param.getName()" value="$value.getName()"#if($defaults.containsKey($value.getName())) checked="checked" #end class="option_input" />
 	</label>
 #end
 </span>
Received on Tuesday, 25 August 2009 09:20:28 UTC

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