dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #25491
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12662: Person search, re-arranged buttons
------------------------------------------------------------
revno: 12662
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-10-15 12:10:06 +0200
message:
Person search, re-arranged buttons
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/searchPatientCriteria.vm
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/selectPatient.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-caseentry/src/main/webapp/dhis-web-caseentry/searchPatientCriteria.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/searchPatientCriteria.vm 2013-10-11 07:11:20 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/searchPatientCriteria.vm 2013-10-15 10:10:06 +0000
@@ -11,10 +11,8 @@
<td>
<input type="text" id='orgunitName' readonly="readonly" #if( $organisationUnit ) value="$encoder.htmlEncode( $organisationUnit.name )" #else value="[$i18n.getString( 'please_select_village' )]" #end >
</td>
- <td rowspan='4' valign='bottom' id='criteriaBtnTD'>
- <input type="button" style='width:130px' id='listPatientBtn' style='260px;' value="$i18n.getString( 'list_all_patients' )" onclick="javascript:listAllPatient();" >
+ <td valign='bottom' id='criteriaBtnTD'>
<input type="button" style='width:130px' id='addPatientBtn' name='addPatientBtn' class='large-button' value='$i18n.getString( "add_new" )' onclick="showAddPatientForm(getFieldValue('programIdAddPatient'),'', '');" >
- <input type="button" style='width:130px' id='advancedSearchBtn' value='$i18n.getString( "advanced_search" )' onclick="advancedSearchOnclick();" >
</td>
</tr>
<tr id='programAddPatientTR'>
@@ -37,6 +35,9 @@
</select>
<span id="programLoader" style="display:none;" ><img src="../images/ajax-loader-bar.gif" /></span>
</td>
+ <td>
+ <input type="button" style='width:130px' id='listPatientBtn' style='260px;' value="$i18n.getString( 'list_all_patients' )" onclick="listAllPatient();">
+ </td>
</tr>
<tr id='scheduleVisitTR' class='hidden'>
<td>$i18n.getString('scheduled_visits')</td>
@@ -68,8 +69,13 @@
</td>
</tr>
<tr id='searchByIdTR' class='hidden'>
- <td colspan='2' ><input type='text' id='searchPatientByIds' name='searchPatientByIds' onchange='searchByIdsOnclick();' style='width:350px;' placeholder='$i18n.getString("search_by_name_identifier")' /></td>
- <td><input type='button' value='$i18n.getString("search")' onclick='searchByIdsOnclick();' ></td>
+ <td colspan='2'>
+ <input type='text' id='searchPatientByIds' name='searchPatientByIds' onchange='searchByIdsOnclick();' style='width:350px;' placeholder='$i18n.getString("search_by_name_identifier")' />
+ </td>
+ <td>
+ <input type='button' value='$i18n.getString("search")' onclick='searchByIdsOnclick();'>
+ <input type="button" style='width:130px' id='advancedSearchBtn' value='$i18n.getString( "advanced_search" )' onclick="advancedSearchOnclick();">
+ </td>
</tr>
</table>
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/selectPatient.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/selectPatient.vm 2013-10-12 14:34:49 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/selectPatient.vm 2013-10-15 10:10:06 +0000
@@ -1,6 +1,5 @@
<script>
jQuery(document).ready( function(){
- jQuery('#criteriaBtnTD').attr('rowspan', 2);
showById('searchByIdTR');
});
var registrationProgress = false;