2
<h3>$i18n.getString( "data_browser" )</h3>
4
<form method="post" action="searchResult.action" onsubmit="return validate()">
8
<th colspan="2">$i18n.getString( "period_type" )</th>
12
<select id="periodTypeId" name="periodTypeId" style="min-width:325px">
13
<option value="null">[ $i18n.getString( "select_period_type" ) ]</option>
14
#foreach ( $type in $periodTypes )
15
<option value="$type.name"#if( $currentPeriodTypeId == $type.name ) selected="selected"#end>$type.name</option>
21
<td colspan="2" style="height:10px"></td>
25
<th>$i18n.getString( "from_date" )</th>
26
<th>$i18n.getString( "to_date" )</th>
30
<input type="text" id="fromDate" name="fromDate">
31
<img src="../images/calendar_icon.gif" width="16" height="16" id="getDateFieldFrom" cursor: pointer;" title="$i18n.getString( "date_selector" )" onmouseover="this.style.background='orange';" onmouseout="this.style.background=''">
34
<input type="text" id="toDate" name="toDate">
35
<img src="../images/calendar_icon.gif" width="16" height="16" id="getDateFieldTo" cursor: pointer;" title="$i18n.getString( "date_selector" )" onmouseover="this.style.background='orange';" onmouseout="this.style.background=''">
39
<td colspan="2" style="height:10px"></td>
43
<th colspan="2">$i18n.getString( "browse_by" )</th>
47
<select id="searchOption" name="searchOption" style="min-width:325px" onChange="modeHandler()">
48
<option value ="null">[ $i18n.getString( "select_mode" ) ]</option>
49
<option value ="DataSet">$i18n.getString( "data_sets" )</option>
50
<option value ="OrganisationUnit">$i18n.getString( "organisation_units" )</option>
56
<div id="treeSection" style="display:none">
59
<td style="height:15px; min-width:325px;"></td>
62
<th>$i18n.getString( "select_parent_organisation_unit" )</th>
66
#parse( "/dhis-web-commons/ouwt/orgunittree.vm" )
75
<input type="submit" value="$i18n.getString( 'browse' )" style="width:120px">
80
<span id="message"></span>
82
<script type="text/javascript">
84
inputField : "fromDate", // id of the input field
85
ifFormat : "$i18n.getString("format.date.label")", // format of the input field
86
button : "getDateFieldFrom" // trigger for the calendar (button ID)
89
<script type="text/javascript">
91
inputField : "toDate", // id of the input field
92
ifFormat : "$i18n.getString("format.date.label")", // format of the input field
93
button : "getDateFieldTo" // trigger for the calendar (button ID)