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

« back to all changes in this revision

Viewing changes to dhis-2/dhis-web/dhis-web-gis/src/main/webapp/dhis-web-gis/popupAssignUnit.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
<body onLoad="javascript:changeAction('polygon');selectedFeature('$!feature.featureCode');">
 
2
<form name="map">
 
3
 
 
4
<table>
 
5
        <tr>
 
6
                <td>            
 
7
                        <fieldset align="center" style="border:#0000FF thin solid; width:460px; height:450px;">
 
8
                        <legend align="right"><a style="text-decoration:none" style="CURSOR: hand" href="javascript:zoomIn();" title="Zoom In">[ + ]</a>
 
9
                <a style="text-decoration:none" style="CURSOR: hand" href="javascript:zoomOut();" title="Zoom Out">[ - ]</a>
 
10
                <a style="text-decoration:none" style="CURSOR: hand" href="javascript:retoreZoom();" title="Retore">[ ~ ]</a>
 
11
                <a style="text-decoration:none" style="CURSOR: hand" href="javascript:drillDown();" title="Drill down">[ Drill down ]</legend>
 
12
                         <embed id=map width="460" height="450" src="map/$mapFile.mapFile" name="map" type="image/svg+xml" align="center"/>
 
13
                        </fieldset>                     
 
14
                </td>
 
15
                <td style="vertical-align:top;">
 
16
                
 
17
                        <fieldset style="border:#0000FF thin solid;width: 350px;">
 
18
                                <legend><label>$i18n.getString( "layer" )</label></legend>
 
19
                                <table width="100%">
 
20
                                        <th><label>$i18n.getString( "show_layer" )</label></th>
 
21
                                        <th><label>$i18n.getString( "active_layer" )</label></th>
 
22
                                        <tr>
 
23
                                                <td><input id="polygon_check" type="checkbox" name="district" onClick="showlayer(this,'polygon')" checked="checked"/><label>$i18n.getString( "district" )</label></td>
 
24
                                                <td><input id="polygon_radio" type="radio" name="active" checked="checked" onClick="activelayer('polygon')" value="polygon"/><label>$i18n.getString( "district" )</label></td>
 
25
                                        </tr>
 
26
                                        <tr>
 
27
                                                <td><input id="point_check" type="checkbox" name="health_facility" onClick="showlayer(this,'point')" checked="checked"/><label>$i18n.getString( "health_facility" )</label></td>
 
28
                                                <td><input id="point_radio" type="radio" name="active" onClick="activelayer('point')" value="point"/><label>$i18n.getString( "health_facility" )</label></td>
 
29
                                        </tr>
 
30
                                        <tr>
 
31
                                                <td><input id="polyline_check" type="checkbox" name="road" onClick="showlayer(this,'polyline')" checked="checked"/><label>$i18n.getString( "road" )</label></td>
 
32
                                                <td><input id="polyline_radio" type="radio" name="active" onClick="activelayer('polyline')" value="polyline"/><label>$i18n.getString( "road" )</label></td>
 
33
                                        </tr>
 
34
                                        
 
35
                                </table>
 
36
                        
 
37
                </fieldset>     
 
38
 
 
39
                
 
40
                        <br>
 
41
</form>                 
 
42
<form name="selectForm" id="selectForm" action="assignUnit.action" method="post"> 
 
43
                <fieldset style="background-color:#FFFFCC; border:#FFCC00 thin solid;width: 350px;">
 
44
                        <legend><label>$i18n.getString( "assignunit_map" )</label></legend>
 
45
                                <table>
 
46
                                        
 
47
                                        <tr>
 
48
                                                <td><label>$i18n.getString( "organisation_unit" )</label></td>
 
49
                                                <td><input  type="text" readonly="readonly" #if( $organisationUnit ) value="$encoder.htmlEncode( $organisationUnit.name )" #else value="[$i18n.getString( "select" )]" #end style="width:200px"><input id="orgUnit" type="hidden" type="text" readonly="readonly" value="$organisationUnit.id"/></td>
 
50
                                        </tr>
 
51
                                        <tr>
 
52
                                                <td><label>$i18n.getString( "organisation_unit_code" )</label></td>
 
53
                                                <td><input id="organisationUnitCode"  name="organisationUnitCode" type="text"   style="width:200px" value="$!feature.featureCode"/></td>
 
54
                                        </tr>
 
55
                                        <tr>
 
56
                                                <td><label for="comment">$i18n.getString( "comment" )</label></td>
 
57
                                                <td><textarea id="comment" name="comment" style="width:20em; height:5em" rows="5" cols="20">$!feature.comment</textarea></td>
 
58
                                        </tr>
 
59
                                        <tr> 
 
60
                                                <td colspan=2><div id="message">$!message &nbsp;</div></td>
 
61
                                        </tr>
 
62
                                        <tr>
 
63
                                                <td></td>
 
64
                                                <td><input type="button"  value="$i18n.getString( "assignunit_map" )" onClick="javascript:return validateAddFeature()">
 
65
                                                <input type="button"  value="$i18n.getString( "delete" )" onClick="javascript:return deleteMap()"></td>
 
66
                                        </tr>
 
67
                                </table>
 
68
                        </fieldset>
 
69
        </form> 
 
70
                </td>
 
71
        </tr>
 
72
</table>
 
73
 
 
74
 
 
75
</body>
 
76
 
 
77