← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18729: Minor fix.

 

------------------------------------------------------------
revno: 18729
committer: Tran Chau<tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2015-03-29 19:39:08 +0700
message:
  Minor fix.
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addProgramStageSectionForm.vm
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramStageSectionForm.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addProgramStageSectionForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addProgramStageSectionForm.vm	2015-03-29 09:47:49 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addProgramStageSectionForm.vm	2015-03-29 12:39:08 +0000
@@ -59,7 +59,7 @@
     <tbody>
       <tr>
         <td>
-            <select id="availableList" name='availableList' size="15" style="width:100%;" multiple="multiple" ondblclick="moveSelectedById( 'availableList', 'dataElementIds' );">
+            <select id="availableList" name='availableList' size="15" style="height: 200px; width: 100%;" multiple="multiple" ondblclick="moveSelectedById( 'availableList', 'dataElementIds' );">
 				#foreach( $psPataElement in $availableDataElements )
 					<option value='$psPataElement.dataElement.id'>$psPataElement.dataElement.name</option>
 				#end
@@ -74,7 +74,7 @@
 		</td>
 		
 		<td>
-			<select id="dataElementIds" name='dataElementIds' size="15" style="width:100%;" multiple="multiple"  ondblclick="moveSelectedById( 'dataElementIds', 'availableList' );"></select>
+			<select id="dataElementIds" name='dataElementIds' size="15" style="height: 200px; width: 100%;" multiple="multiple"  ondblclick="moveSelectedById( 'dataElementIds', 'availableList' );"></select>
 		</td>
 			
 		<td>
@@ -113,7 +113,7 @@
 			<input type="button" value="&lt;&lt;" onclick="moveAllById( 'selectedIndicators', 'availableIndicators' )" class='filterButton' />
 		</td>
 		<td>
-			<select style="height: 200px; width: 100%; margin-top: 22px;" multiple="multiple" id="selectedIndicators" name="selectedIndicators" ondblclick="moveSelectedById( 'selectedIndicators', 'availableIndicators' )" >		</select>
+			<select style="height: 200px; width: 100%;" multiple="multiple" id="selectedIndicators" name="selectedIndicators" ondblclick="moveSelectedById( 'selectedIndicators', 'availableIndicators' )" >		</select>
 		</td>
 		<td>
 			<a href="javascript:moveUpSelectedOption( 'selectedIndicators')" title="$i18n.getString( 'move_up' )"><img src="../images/move_up.png" alt="$i18n.getString( 'move_up' )"/></a><br/><br/>

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramStageSectionForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramStageSectionForm.vm	2015-03-29 09:47:49 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramStageSectionForm.vm	2015-03-29 12:39:08 +0000
@@ -60,7 +60,7 @@
     <tbody>
       <tr>
         <td>
-            <select style="width:100%;" size="15" id="availableList" name='availableList' multiple="multiple" ondblclick="moveSelectedById( 'availableList', 'dataElementIds' );">
+            <select style="height: 200px; width: 100%;" size="15" id="availableList" name='availableList' multiple="multiple" ondblclick="moveSelectedById( 'availableList', 'dataElementIds' );">
 				#foreach( $psDataElement in $availableDataElements )
 					<option value='$psDataElement.dataElement.id'>$encoder.htmlEncode($psDataElement.dataElement.name)</option>
 				#end
@@ -75,7 +75,7 @@
 		</td>
 		
 		<td>
-			<select style="width:100%;" size="15" id="dataElementIds" name='dataElementIds' multiple="multiple"  ondblclick="moveSelectedById( 'dataElementIds', 'availableList' );">
+			<select style="height: 200px; width: 100%;" size="15" id="dataElementIds" name='dataElementIds' multiple="multiple"  ondblclick="moveSelectedById( 'dataElementIds', 'availableList' );">
 				#foreach( $psDataElement in $section.programStageDataElements )
 					<option value='$psDataElement.dataElement.id'>$encoder.htmlEncode($psDataElement.dataElement.name)</option>
 				#end
@@ -118,7 +118,7 @@
 			<input type="button" value="&lt;&lt;" onclick="moveAllById( 'selectedIndicators', 'availableIndicators' )" class='filterButton' />
 		</td>
 		<td>
-			<select style="height: 200px; width: 100%; margin-top: 22px;" multiple="multiple" id="selectedIndicators" name="selectedIndicators" ondblclick="moveSelectedById( 'selectedIndicators', 'availableIndicators' )" >
+			<select style="height: 200px; width: 100%;" multiple="multiple" id="selectedIndicators" name="selectedIndicators" ondblclick="moveSelectedById( 'selectedIndicators', 'availableIndicators' )" >
 				#foreach( $indicator in $section.programIndicators )
 					<option value="$indicator.id">$encoder.htmlEncode( $indicator.displayName )</option>
 				#end