← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9924: Minor fix ui of program-stage-section.

 

------------------------------------------------------------
revno: 9924
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-02-28 14:59:56 +0700
message:
  Minor fix ui of program-stage-section.
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addProgramStageSectionForm.vm
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/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-patient/src/main/webapp/dhis-web-maintenance-patient/addProgramStageSectionForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addProgramStageSectionForm.vm	2013-01-23 10:27:28 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addProgramStageSectionForm.vm	2013-02-28 07:59:56 +0000
@@ -34,7 +34,12 @@
 </table>
 
 <table id="programStageMembersArea">    
-    <thead>
+    <colgroup>
+        <col style="width:400px;"/>
+		<col/>
+		<col style="width:400px;"/>
+    </colgroup>
+	<thead>
       <tr>        
         <th>$i18n.getString( "available_data_elements" )</th>
         <th></th>
@@ -48,7 +53,7 @@
     <tbody>
       <tr>
         <td>
-            <select size="15" id="availableList" name='availableList' multiple="multiple" ondblclick="moveSelectedById( 'availableList', 'dataElementIds' );">
+            <select id="availableList" name='availableList' size="15" style="width:100%;" multiple="multiple" ondblclick="moveSelectedById( 'availableList', 'dataElementIds' );">
 				#foreach( $psPataElement in $availableDataElements )
 					<option value='$psPataElement.dataElement.id'>$psPataElement.dataElement.name</option>
 				#end
@@ -63,7 +68,7 @@
 		</td>
 		
 		<td>
-			<select size="15" id="dataElementIds" name='dataElementIds' multiple="multiple"  ondblclick="moveSelectedById( 'dataElementIds', 'availableList' );"></select>
+			<select id="dataElementIds" name='dataElementIds' size="15" style="width:100%;" multiple="multiple"  ondblclick="moveSelectedById( 'dataElementIds', 'availableList' );"></select>
 		</td>
 			
 		<td>

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramStageSectionForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramStageSectionForm.vm	2013-02-04 03:09:04 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramStageSectionForm.vm	2013-02-28 07:59:56 +0000
@@ -36,7 +36,12 @@
 </table>
 
 <table id="programStageMembersArea">    
-    <thead>
+     <colgroup>
+        <col style="width:400px;"/>
+		<col/>
+		<col style="width:400px;"/>
+    </colgroup>
+	<thead>
       <tr>        
         <th>$i18n.getString( "available_data_elements" )</th>
         <th></th>
@@ -50,7 +55,7 @@
     <tbody>
       <tr>
         <td>
-            <select size="15" id="availableList" name='availableList' multiple="multiple" ondblclick="moveSelectedById( 'availableList', 'dataElementIds' );">
+            <select style="width:100%;" size="15" id="availableList" name='availableList' multiple="multiple" ondblclick="moveSelectedById( 'availableList', 'dataElementIds' );">
 				#foreach( $psDataElement in $availableDataElements )
 					<option value='$psDataElement.dataElement.id'>$psDataElement.dataElement.name</option>
 				#end
@@ -65,7 +70,7 @@
 		</td>
 		
 		<td>
-			<select size="15" id="dataElementIds" name='dataElementIds' multiple="multiple"  ondblclick="moveSelectedById( 'dataElementIds', 'availableList' );">
+			<select style="width:100%;" size="15" id="dataElementIds" name='dataElementIds' multiple="multiple"  ondblclick="moveSelectedById( 'dataElementIds', 'availableList' );">
 				#foreach( $psDataElement in $section.programStageDataElements )
 					<option value='$psDataElement.dataElement.id'>$psDataElement.dataElement.name</option>
 				#end