~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/addChartOrganisationUnitModeForm.vm

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
<!-- OrganisationUnit -->
 
3
 
 
4
<tr>
 
5
    <th>$i18n.getString( "category_x_available_organisationunits" )</th>
 
6
</tr>
 
7
<tr>
 
8
    <td>
 
9
        <select id="organisationUnitLevel" name="organisationUnitLevel" style="min-width:600px" onchange="getOrganisationUnits()">
 
10
            <option value="$ALL">[ $i18n.getString( "select_organisationunit_level_all" ) ]</option>
 
11
            #foreach ( $level in $levels )
 
12
                <option value="$level.level">$encoder.htmlEncode( $level.name )</option>
 
13
            #end
 
14
        </select>
 
15
    </td>
 
16
</tr>
 
17
<tr>
 
18
    <td>
 
19
        <select multiple size="6" id="availableOrganisationUnits" name="availableOrganisationUnits" style="min-width:600px" ondblclick="moveSelectedById( 'availableOrganisationUnits', 'selectedOrganisationUnits' )">
 
20
            #foreach ( $unit in $availableOrganisationUnits )
 
21
                <option value="$unit.id">$unit.name</option>
 
22
            #end
 
23
        </select>
 
24
    </td>
 
25
</tr>
 
26
<tr>
 
27
    <td>
 
28
        <input type="button" value="$i18n.getString( 'add_selected' )" title="$i18n.getString( 'add_selected' )" style="width:120px" onclick="moveSelectedById( 'availableOrganisationUnits', 'selectedOrganisationUnits' )"><input 
 
29
            type="button" value="$i18n.getString( 'add_all' )" title="$i18n.getString( 'add_all' )" style="width:120px" onclick="moveAllById( 'availableOrganisationUnits', 'selectedOrganisationUnits' )"><input 
 
30
            type="button" value="$i18n.getString( 'add_children' )" title="$i18n.getString( 'add_children' )" style="width:120px" onclick="getOrganisationUnitChildren()"><input 
 
31
            type="button" value="$i18n.getString( 'remove_selected' )" title="$i18n.getString( 'remove_selected' )" style="width:120px" onclick="moveSelectedById( 'selectedOrganisationUnits', 'availableOrganisationUnits' )"><input 
 
32
            type="button" value="$i18n.getString( 'remove_all' )" title="$i18n.getString( 'remove_all' )" style="width:120px" onclick="moveAllById( 'selectedOrganisationUnits', 'availableOrganisationUnits' )">
 
33
    </td>
 
34
</tr>
 
35
<tr>
 
36
    <th>$i18n.getString( "category_x_selected_organisationunits" )</th>
 
37
</tr>
 
38
<tr>
 
39
    <td>
 
40
        <select size="6" id="selectedOrganisationUnits" name="selectedOrganisationUnits" style="min-width:600px" multiple ondblclick="moveSelectedById( 'selectedOrganisationUnits', 'availableOrganisationUnits' )">               
 
41
            #foreach ( $unit in $selectedOrganisationUnits )
 
42
                <option value="$unit.id">$unit.name</option>
 
43
            #end
 
44
        </select>
 
45
    </td>
 
46
</tr>
 
47
<tr>
 
48
    <td style="height:15px"></td>
 
49
</tr>
 
50
 
 
51
<!-- Period -->
 
52
 
 
53
<tr>
 
54
    <th>$i18n.getString( "filter_available_periods" )</th>
 
55
</tr>
 
56
<tr>
 
57
    <td>
 
58
        <select id="periodTypeId" name="periodTypeId" style="min-width:600px" onchange="getPeriodsToSelected()">
 
59
            <option value="null">[ $i18n.getString( "select_period_type_all" ) ]</option>
 
60
            #foreach ( $type in $periodTypes )
 
61
                <option value="$type.name">$type.name</option>
 
62
            #end
 
63
        </select>
 
64
    </td>
 
65
</tr>
 
66
<tr>
 
67
    <td>
 
68
        <select id="selectedPeriods" name="selectedPeriods" style="min-width:600px">               
 
69
            #foreach ( $period in $selectedPeriods )
 
70
                <option value="$period.id">$format.formatPeriod( $period )</option>
 
71
            #end
 
72
        </select>
 
73
    </td>
 
74
</tr>