← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11559: improve UI of view sent SMS page

 

------------------------------------------------------------
revno: 11559
committer: Lai <lai.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-08-02 15:06:11 +0700
message:
  improve UI of view sent SMS page
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/showSentSMSPage.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/showSentSMSPage.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/showSentSMSPage.vm	2013-03-12 05:40:42 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-mobile/src/main/webapp/dhis-web-maintenance-mobile/showSentSMSPage.vm	2013-08-02 08:06:11 +0000
@@ -65,36 +65,48 @@
 </script>
 <h3>$i18n.getString( 'list_sent_SMS' )</h3>
 <form id="sentSMSPage" name="sentSMSPage" action="showSentPage.action" method="post"> 
-<table border="0px" style="width:250px">
+<table border="0px" style="width:100%">
 	<tr>
 		<td style="width:90px">$i18n.getString('filter_by_status'):</td>
-		<td style="width:160px">
-			<select id="statusType" style="width:100%;" onchange="filterByStatus(this.value)">
+		<td>
+			<select id="statusType" onchange="filterByStatus(this.value)">
 				<option value="0" #if ( $!filterStatusType == 0 ) selected='selected' #end>$i18n.getString('outbound')</option>
 				<option value="1" #if ( $!filterStatusType == 1 ) selected='selected' #end>$i18n.getString('sent')</option>
 				<option value="2" #if ( $!filterStatusType == 2 ) selected='selected' #end>$i18n.getString('all')</option>
 			</select>
 		</td>
+		<!--<td style="text-align:right">
+			<input type="button" name="btnDelete" value="$i18n.getString( 'delete_checked_option' )" onclick="deleteChecked()"/>
+		</td>-->
 	</tr>
 <table>
 <table id="detailsSentSMSList" class="listTable" style="width:100%">
+		<col width="40px"/>
+		<col width="40px"/>
+		<col width="200px"/>
+		<col width="100px"/>
+		<col width="60px"/>
+		<col width="130px"/>
+		<col width="50px"/>
 	<thead>
 		<th style="text-align:center"><a href="#" onclick="checkAll()" title="$i18n.getString( 'check_all' )"><img src="../images/check.png"/></a></th>			
 		<th style="text-align:center">$i18n.getString( "no." )</th>
 		<th>$i18n.getString( "message" )</th>
 		<th>$i18n.getString( "receipient" )</th>
+		<th>$i18n.getString( "status" )</th>
 		<th>$i18n.getString( "date" )</th>
-		<th>$i18n.getString( "status" )</th>
+		<!--<th style="text-align:center">$i18n.getString( "delete" )</th>-->
 	</thead>
 	<tbody id="sentSMS">
 		#foreach( $outboundSms in $listOutboundSMS)
-		<tr id="tr${outboundSms.id}">
+		<tr id="tr${outboundSms.id}" height="40">
 			<td style="text-align:center"><input type="checkbox" name="mycheck" value="$outboundSms.id"/></td>
 			<td style="text-align:center">$velocityCount</td>
 			<td>$outboundSms.message</td>
 			<td>$outboundSms.recipients</td>
-			<td>$outboundSms.date</td>
 			<td>$outboundSms.status</td>
+			<td>$outboundSms.date.toLocaleString()</td>
+			<!--<td style="text-align:center"><a href="javascript:removeSingleItem( '$outboundSms.id', '$outboundSms.message' )" title="$i18n.getString( 'remove' )"><img src="../images/delete.png" alt="$i18n.getString( 'remove' )"/></td>-->
 		</tr>
 		#end
 	</tbody>