← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8339: Align the boxes on the send-SMS page.

 

------------------------------------------------------------
revno: 8339
committer: Homg Em <em.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-10-02 15:08:31 +0700
message:
  Align the boxes on the send-SMS page.
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/sendSMSPage.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-mobile/src/main/webapp/dhis-web-maintenance-mobile/sendSMSPage.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/sendSMSPage.vm	2012-08-09 07:50:24 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/sendSMSPage.vm	2012-10-02 08:08:31 +0000
@@ -33,8 +33,8 @@
 				<th colspan="2">$i18n.getString( "gateway_type" )</th>
 			</tr>
 			<tr>
-				<td><label for="type">$i18n.getString( "type" ):</label></td>
-				<td>
+				<td width="328"><label for="type">$i18n.getString( "type" ):</label></td>
+				<td width="100">
 				#set( $keys = $!gatewayMap.keySet() )
 					<select id="gatewayId" name="gatewayId" style="width: 100%;">
 						#foreach( $key in $!keys )
@@ -45,9 +45,9 @@
 			</tr>
 			
 			<tr>
-				<td>$i18n.getString( "send_sms_to_target" )</td>
-				<td>
-					<select id="sendTarget" name="sendTarget" onchange="javascript:toggleSMSGUI( this.value );">
+				<td width="328">$i18n.getString( "send_sms_to_target" )</td>
+				<td width="100">
+					<select id="sendTarget" name="sendTarget" onchange="javascript:toggleSMSGUI( this.value );" style="width: 100%;">
 						<option value="phone">$i18n.getString( "raw_phone_number" )</option>
 						<option value="user">$i18n.getString( "assigned_user_number" )</option>
 						<option value="unit">$i18n.getString( "stakeholder_number" )</option>
@@ -55,6 +55,9 @@
 					</select>
 				</td>
 			</tr>
+			<tr>
+				<td colspan="2">$i18n.getString( "phone_number" ): <input type="text" id="recipient" name="recipient" style="width:537px" /></td>
+			</tr>
 			
 			<tr><th colspan="2">$i18n.getString( "message" )</th></tr>
 			<tr><td colspan="2"><textarea id="smsMessage" name="smsMessage" cols="95" rows="5" class="{validate:{required:true}}"></textarea></td></tr>
@@ -64,11 +67,6 @@
 	<table id="detailsList">
 		<col width="300px"/>
 		<col width="80px"/>
-		<tbody id="phoneType">
-			<tr><th colspan="2">$i18n.getString( "phone_number" ):</th></tr>
-			<tr><td colspan="2"><input type="text" id="recipient" name="recipient" style="width:520px" /></td></tr>
-		</tbody>
-	
 		<tbody id="orgunitType" style="display:none">
 			<tr><td>#organisationUnitSelectionTree( true, true, false )</td></tr>
 		</tbody>