1
<h2>$i18n.getString( "add_legendset" )</h2>
2
<form name="addLegendSet" action="addLegendSet.action" method="post" onsubmit="submitForm(); return validateAddLegendSet();">
3
<table id="list" style="width:50%">
5
<td><label>$i18n.getString( "name" ) <em title="$i18n.getString( "required" )" class="required">*</em></label></td>
6
<td><input type="text" id="name" name="name" style="width:200px"/></td>
10
<table id="indicatorArea">
11
<col> ## Selected DataElements
14
<col> ## Available DataElements
17
<th>$i18n.getString( "selected_indicators" )</th>
20
<th>$i18n.getString( "available_indicators" )</th>
25
<td colspan=3 align="right"><label>$i18n.getString( "group_filter" )</label></td>
27
<select id="indicatorGroupId" name="indicatorGroupId" style="min-width:20em"
28
onchange="javascript:getIndicatorByIndicatorGroup( this.options[this.selectedIndex].value ,'add')">
29
<option value="ALL" selected="selected">$i18n.getString( "all" )</option>
30
#foreach ( $indicatorGroup in $indicatorGroups )
31
<option value="$indicatorGroup.id">$encoder.htmlEncode( $indicatorGroup.name )</option>
39
<select id="selectedIndicatorList" name="selectedIndicatorList" multiple="multiple" style="min-width:20em;height:20em" ondblclick="moveIndicator( 'selectedIndicatorList' )">
40
<!-- initially empty -->
44
<input type="button" value="<" title="$i18n.getString('move_selected')" onclick="moveIndicator( 'availableIndicatorList' )">
46
<input type="button" value=">" title="$i18n.getString('remove_selected')" onclick="moveIndicator ( 'selectedIndicatorList' )">
50
<!-- List of all available DataElements -->
51
<select size="15" id="availableIndicatorList" name="availableIndicatorList" multiple="multiple" style="min-width:20em;height:20em" ondblclick="moveIndicator( 'availableIndicatorList' )">
52
<!-- Show all available DataElements -->
53
#foreach ( $indicator in $indicators )
54
<option value="$indicator.id">$encoder.htmlEncode( $indicator.name )</option>
62
<table id="legendArea">
63
<col> ## Selected DataElements
66
<col> ## Available DataElements
69
<th>$i18n.getString( "selected_legends" )</th>
72
<th>$i18n.getString( "available_legends" )</th>
78
<select id="selectedList" name="selectedList" multiple="multiple" style="min-width:20em;height:20em" ondblclick="move( 'selectedList' )">
79
<!-- initially empty -->
83
<input type="button" value="<" title="$i18n.getString('move_selected')" onclick="move( 'availableList' )">
85
<input type="button" value=">" title="$i18n.getString('remove_selected')" onclick="move ( 'selectedList' )">
89
<!-- List of all available DataElements -->
90
<select size="15" id="availableList" name="availableList" multiple="multiple" style="min-width:20em;height:20em" ondblclick="move( 'availableList' )">
91
<!-- Show all available DataElements -->
92
#foreach ( $legend in $legends )
93
<option value="$legend.id">$encoder.htmlEncode( $legend.name )</option>
101
<span id="message"></span>
107
<input type="submit" name="add" value="$i18n.getString( "add_legendset" )">
109
Cancel and go back to the overview
111
<input type="button" name="cancel"
112
onclick="window.location.href='listLegendSets.action'" value="$i18n.getString( "cancel" )">
b'\\ No newline at end of file'