Home directory for Malawi's wwwroot
Duncan Ewan
2021-02-19 3e758c29e0fde36fc088efcfc88f9a3014432b64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
Êþº¾-¸
SourceFileK/app/coldfusion10/cfusion/wwwroot/acc/dashboards/events/admin_locations.cfm cfadmin_locations2ecfm1621476675coldfusion/runtime/CFPage<init>()V 
    bindPageVariablesD(Lcoldfusion/runtime/VariableScope;Lcoldfusion/runtime/LocalScope;)V coldfusion/runtime/CfJspPage
  ISEVENTSADMINLcoldfusion/runtime/Variable;bindPageVariabler(Ljava/lang/String;Lcoldfusion/runtime/VariableScope;Lcoldfusion/runtime/LocalScope;)Lcoldfusion/runtime/Variable; 
     com.macromedia.SourceModTimeNœÑì pageContext#Lcoldfusion/runtime/NeoPageContext;     getOut()Ljavax/servlet/jsp/JspWriter; !"javax/servlet/jsp/JspContext$
%#parentLjavax/servlet/jsp/tagext/Tag; '(    )com.adobe.coldfusion.*+bindImportPath(Ljava/lang/String;)V -.
/_setCurrentLineNo(I)V 12
3SESSION5java/lang/String7    USERROLES9_resolveAndAutoscalarize9(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/Object; ;<
=_String&(Ljava/lang/Object;)Ljava/lang/String; ?@coldfusion/runtime/CastB
CAACC_ADMINISTRATORE,GListContainsNoCase9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I IJ
K_Object(I)Ljava/lang/Object; MN
CO_boolean(Ljava/lang/Object;)Z QR
CSACC_EVENTS_DASHBOARD_ADMINUset(Ljava/lang/Object;)V WXcoldfusion/runtime/VariableZ
[YÙ
<html>
<head>
    <link href="/acc/js/jtable/themes/jqueryui/jtable_jqueryui.min.css" rel="stylesheet" type="text/css" />
 
    <link rel="stylesheet" href="/acc/css/events/admin_events.css" media="all">
    
    ]write _.java/io/Writera
b`'class$coldfusion$tagext$lang$IncludeTagLjava/lang/Class;!coldfusion.tagext.lang.IncludeTagfforName%(Ljava/lang/String;)Ljava/lang/Class; hijava/lang/Classk
lj de    n_initTagP(Ljava/lang/Class;ILjavax/servlet/jsp/tagext/Tag;)Ljavax/servlet/jsp/tagext/Tag; pq
r!coldfusion/tagext/lang/IncludeTagt    cfincludevtemplatex /acc/jquery-include-template.cfmz_validateTagAttrValue\(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |}
~ setTemplate €.
u    hasEndTag(Z)V ƒ„coldfusion/tagext/GenericTag†
‡… _emptyTcfTag!(Ljavax/servlet/jsp/tagext/Tag;)Z ‰Š
‹è
    <link rel="stylesheet" href="/acc/css/styles.css">
    
    <script type="text/javascript" language="javascript" src="../../js/jtable/jquery.jtable.min.js"></script>
 
    <script type="text/javascript">
 
        if (typeof console === 'undefined') {
            window.console = {
                log: function() {},
                debug: function() {},
                error: function() {}
            };
        }
 
        $(document).ready(function () {
 
            $('#tblEventLocations').jtable({
                jqueryuiTheme: true,
                title: '&nbsp;',
                paging: true, //Enable paging
                pageSize: 25, //Set page size (default: 10)
                sorting: true, //Enable sorting
                defaultSorting: 'lower(location_name) asc', //Set default sorting
                create: false,
                actions: {
                    listAction: 'components/events.cfc?method=getEventLocationsAdmin'
                    _autoscalarize1(Lcoldfusion/runtime/Variable;)Ljava/lang/Object; 
‘
                    ,updateAction: 'components/events.cfc?method=updateEventLocation',
                    createAction: 'components/events.cfc?method=insertEventLocation',
                    deleteAction: 'components/events.cfc?method=deleteEventLocation'
                    “    Å
                },
                fields: {
                    location_id: {
                        key: true,
                        list: false
                    },
                    location_name: {
                        title: 'Location Name',
                        inputClass: 'recordWidth'
                    },
                    location_type: {
                        title: 'Type',
                        inputClass: 'recordWidth'
                    },
                    region: {
                        title: 'Region',
                        inputClass: 'recordWidth'
                    },
                    aliases: {
                        title: 'Aliases',
                        inputClass: 'recordWidth'
                    },
                    location_short_name: {
                        title: 'Short Name',
                        inputClass: 'recordWidth'
                    },
                    longitude: {
                        title: 'Longitude',
                        inputClass: 'recordWidth'
                    },
                    latitude: {
                        title: 'Latitude',
                        inputClass: 'recordWidth'
                    },
                    nes: {
                        create: false,
                        edit: false,
                        title: '',
                        width: '1%',
                        sorting: false,
                        display: function (locationsData) {
                                //Create an image that will be used to open child table
                                var $img = $('<img src="/acc/images/transmit_blue.png" title="Edit Location Network Elements" />');
                                //Open child table when user clicks the image
                                $img.click(function () {
                                    $('#tblEventLocations').jtable('openChildTable',
                                            $img.closest('tr'),
                                            {
                                                title: locationsData.record.location_name + ' - Network Elements',
                                                actions: {
                                                    listAction: 'components/events.cfc?method=getEventLocationNEsAdmin&locationId=' + locationsData.record.location_id
                                                    •¡
                                                    ,createAction: 'components/events.cfc?method=insertEventLocationNE',
                                                    updateAction: 'components/events.cfc?method=updateEventLocationNE',
                                                    deleteAction: 'components/events.cfc?method=deleteEventLocationNE'
                                                    —
                                                },
                                                fields: {
                                                    id: {
                                                        key: true,
                                                        list: false
                                                    },
                                                    location_id: {
                                                        type: 'hidden',
                                                        defaultValue: locationsData.record.location_id
                                                    },
                                                    ne_type: {
                                                        title: 'Type',
                                                        inputClass: 'recordWidth',
                                                        options: { 'BSC': 'BSC',
                                                                   'CELL_EXCL': 'CELL_EXCL',
                                                                   'DXX': 'DXX',
                                                                   'EDIP': 'EDIP',
                                                                   'GGSN': 'GGSN',
                                                                   'MSC': 'MSC',
                                                                   'RNC': 'RNC',
                                                                   'SENTINEL': 'SENTINEL',
                                                                   'SGSN': 'SGSN',
                                                                   'SITE': 'SITE'}
                                                    },
                                                    ne_name: {
                                                        title: 'Name',
                                                        inputClass: 'recordWidth'
                                                    },
                                                    ne_subtype: {
                                                        title: 'Sub Type',
                                                        inputClass: 'recordWidth',
                                                        dependsOn: 'ne_type',
                                                        options: function (data) {
                                                            if (data.source == 'list') {
                                                                return 'components/events.cfc?method=getEventLocationNE_neSubTypeOptions&ne_type=0';
                                                            }
                                                            return 'components/events.cfc?method=getEventLocationNE_neSubTypeOptions&ne_type=' + data.dependedValues.ne_type;
                                                        }
                                                    },
                                                    ne_usage: {
                                                        title: 'Usage',
                                                        inputClass: 'recordWidth',
                                                        options: { '': '', 'PRIMARY': 'PRIMARY', 'SECONDARY': 'SECONDARY'}
                                                    }
                                                }
                                            }, function (data) { //opened handler
                                                data.childTable.jtable('load');
                                            });
                                });
                                //Return image to show on the person row
                                return $img;
                            }
                    }
                }
            });
 
            $('#tblEventLocations').on('keyup', '#search',function(){
                $('#tblEventLocations').jtable('load',{
                    jtSearch: $('#search').val()
                });
            });
 
            //Load event locations from server
            $('#tblEventLocations').jtable('load');
            var htm = '<input id="search" type="text" placeholder="Search" value="" class="searchInput"/>';
            $("#tblEventLocations .jtable-title-text").append(htm);
        });
 
    </script>
</head>
<body>
 
<div class="pageHeading">Locations</div>
 
<div id="tblEventLocations"></div>
 
</body>
</html>™metaDataLjava/lang/Object; ›œ    &coldfusion/runtime/AttributeCollectionŸjava/lang/Object¡([Ljava/lang/Object;)V £
 ¤this"Lcfadmin_locations2ecfm1621476675;LocalVariableTableCode<clinit>varscope"Lcoldfusion/runtime/VariableScope;locscopeLcoldfusion/runtime/LocalScope; getMetadata()Ljava/lang/Object;runPageoutLjavax/servlet/jsp/JspWriter;valueinclude0#Lcoldfusion/tagext/lang/IncludeTag;LineNumberTable1de›œ©#*·
±¨ ¦§ª©5g¸m³o» Y½¢·¥³ž±¨ ¦§ ©E*+,·**+,¶µ±¨ ¦§«¬­®¯°©"²ž°¨ ¦§±°©ƒÙ*´ ¶&L*´*N*,¶0*´*¶4*6½8Y:S¶>¸DFH¸L¸PY¸Tš%W*¶4*6½8Y:S¶>¸DVH¸L¸P¶\+^¶c*²o-¶sÀu:*¶4wy{¸¶‚¶ˆ¸Œ™°+޶c**´¶’¸T™    +”¶c+–¶c**´¶’¸T™    +˜¶c+š¶c°¨4Ù¦§Ù²³Ù´œÙ'(Ùµ¶·^.0EEWYEE„j£#£#½[½[