← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4795: Code style fixed.

 

------------------------------------------------------------
revno: 4795
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2011-10-03 15:45:21 +0700
message:
  Code style fixed.
modified:
  dhis-2/dhis-web/dhis-web-datamart/src/main/webapp/dhis-web-datamart/exportForm.vm
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addPatientAttributeGroupForm.vm
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updatePatientAttibuteGroupForm.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-datamart/src/main/webapp/dhis-web-datamart/exportForm.vm'
--- dhis-2/dhis-web/dhis-web-datamart/src/main/webapp/dhis-web-datamart/exportForm.vm	2011-10-01 09:05:47 +0000
+++ dhis-2/dhis-web/dhis-web-datamart/src/main/webapp/dhis-web-datamart/exportForm.vm	2011-10-03 08:45:21 +0000
@@ -60,7 +60,7 @@
             <input type="button" value="&lt;&lt;" title="$i18n.getString('remove_all')" style="width:40px" onclick="dhisAjaxSelect_moveAll( 'selectedDataElements', 'availableDataElements' )"/>
 		</td>
 		<td>
-		    <select multiple id="selectedDataElements" name="selectedDataElements" style="min-width:325px; height:96px" ondblclick="moveSelectedById( 'selectedDataElements', 'availableDataElements' )">
+		    <select multiple id="selectedDataElements" name="selectedDataElements" style="min-width:325px;height:115px;margin-top:27px" ondblclick="moveSelectedById( 'selectedDataElements', 'availableDataElements' )">
 			    #foreach( $element in $selectedDataElements )
 				    <option value="$element.id">$element.name</option>
 			    #end
@@ -91,7 +91,7 @@
 			<input type="button" value="&lt;&lt;" title="$i18n.getString('remove_all')" style="width:40px" onclick="dhisAjaxSelect_moveAll( 'selectedIndicators', 'availableIndicators' )"/>
 		</td>
 		<td>
-			<select multiple id="selectedIndicators" name="selectedIndicators" style="min-width:325px; height:96px" ondblclick="moveSelectedById( 'selectedIndicators', 'availableIndicators' )">
+			<select multiple id="selectedIndicators" name="selectedIndicators" style="min-width:325px;height:115px;margin-top:27px" ondblclick="moveSelectedById( 'selectedIndicators', 'availableIndicators' )">
 			    #foreach ( $indicator in $selectedIndicators )
                     <option value="$indicator.id">$indicator.name</option>
                 #end
@@ -129,7 +129,7 @@
 			<input type="button" value="&gt;&gt;&gt;" title="$i18n.getString('move_children')" style="width:40px" onclick="getOrganisationUnitChildren()"/>
 		</td>
 		<td>
-			<select multiple id="selectedOrganisationUnits" name="selectedOrganisationUnits" style="min-width:325px; height:96px" ondblclick="moveSelectedById( 'selectedOrganisationUnits', 'availableOrganisationUnits' )">				
+			<select multiple id="selectedOrganisationUnits" name="selectedOrganisationUnits" style="min-width:325px;height:125px;margin-top:9px" ondblclick="moveSelectedById( 'selectedOrganisationUnits', 'availableOrganisationUnits' )">				
 			    #foreach ( $unit in $selectedOrganisationUnits )
                     <option value="$unit.id">$unit.name</option>
                 #end
@@ -159,7 +159,7 @@
 					<option value="$type.name">$i18n.getString( $type.name )</option>
 				#end
 			</select><br/>
-			<select multiple size="6" id="availablePeriods" name="availablePeriods" style="min-width:325px" ondblclick="moveSelectedById( 'availablePeriods', 'selectedPeriods' )">
+			<select multiple size="6" id="availablePeriods" name="availablePeriods" style="min-width:325px;height:120px" ondblclick="moveSelectedById( 'availablePeriods', 'selectedPeriods' )">
 				#foreach ( $period in $periods )
 					<option value="$period.externalId">$format.formatPeriod( $period )</option>
 				#end
@@ -172,7 +172,7 @@
 			<input type="button" value="&lt;&lt;" title="$i18n.getString('remove_all')" style="width:40px" onclick="dhisAjaxSelect_moveAll( 'selectedPeriods', 'availablePeriods' )"/>
 		</td>
 		<td>
-			<select multiple id="selectedPeriods" name="selectedPeriods" style="min-width:325px; height:96px" ondblclick="moveSelectedById( 'selectedPeriods', 'availablePeriods' )">				
+			<select multiple id="selectedPeriods" name="selectedPeriods" style="min-width:325px;height:115px;margin-top:27px" ondblclick="moveSelectedById( 'selectedPeriods', 'availablePeriods' )">				
 			    #foreach ( $period in $selectedPeriods )
                     <option value="$period.externalId">$format.formatPeriod( $period )</option>
                 #end

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addPatientAttributeGroupForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addPatientAttributeGroupForm.vm	2011-10-02 09:53:57 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addPatientAttributeGroupForm.vm	2011-10-03 08:45:21 +0000
@@ -75,7 +75,7 @@
 			<input type="button" value="&lt;" title="$i18n.getString('remove_selected')" onclick="dhisAjaxSelect_moveAllSelected( 'selectedAttributes', 'availableAttributes' )"/>
 		</td>
 		<td>
-			<select multiple id="selectedAttributes" name="selectedAttributes" size="15" style="width:100%"></select>
+			<select multiple id="selectedAttributes" name="selectedAttributes" size="15" style="width:100%;margin-top:23px"></select>
 		</td>
 		<td>
 			<a href="javascript:moveUpSelectedOption( 'selectedAttributes')" 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-patient/src/main/webapp/dhis-web-maintenance-patient/updatePatientAttibuteGroupForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updatePatientAttibuteGroupForm.vm	2011-10-02 09:53:57 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updatePatientAttibuteGroupForm.vm	2011-10-03 08:45:21 +0000
@@ -77,7 +77,7 @@
 			<input type="button" value="&lt;" title="$i18n.getString('remove_selected')" onclick="dhisAjaxSelect_moveAllSelected( 'selectedAttributes', 'availableAttributes' )"/>
 		</td>
 		<td>
-			<select multiple id="selectedAttributes" name="selectedAttributes" size="15" style="width:100%">
+			<select multiple id="selectedAttributes" name="selectedAttributes" size="15" style="width:100%;margin-top:23px">
 			#foreach($patientAttribute in $patientAttributeGroup.attributes)
 			#if($!patientAttribute)
 				<option value='$patientAttribute.id'>$patientAttribute.name</option>