2 "name" : "Pman.Dialog.BAdminIPAccess",
5 "path" : "/home/edward/gitlive/Pman.BAdmin/Pman.Dialog.BAdminIPAccess.bjs",
9 "e2c9d024b79dfb48b42a7807206c6aed" : "Verify New IP Access",
10 "a12a3079e14ced46e69ba52b8a90b21a" : "IP",
11 "ea4788705e6873b424c65e91c2846b19" : "Cancel",
12 "f6039d44b29456b20f8f373155ae4973" : "Username",
13 "004bf6c9a40003140292e97330236c53" : "Action",
14 "5a787141d53b573ec9b86e900bfe0d79" : "Expire Date",
15 "dfb790522fdea3859af206d32916fe77" : "User Agent",
16 "70d9be9b139893aa6c69b5e77e614311" : "Confirm"
20 "String cls" : "enable-overflow",
21 "Boolean allow_close" : true,
23 "$ xns" : "Roo.bootstrap",
24 "String title" : "Verify New IP Access",
28 "actionfailed" : "function (_self, action)\n{\n _this.dialog.el.unmask();\n Roo.log(\"action failed\");\n Roo.log(action);\n \n if(!action.result.errorMsg){\n Roo.bootstrap.MessageBox.alert(\"Error\", \"Please contact system adminisrator\");\n }\n \n var msg = action.result.errorMsg;\n \n if(msg.length >= 200){\n msg = msg.substring(0,199) + '...'\n }\n \n Roo.bootstrap.MessageBox.alert(\"Error\", msg);\n}",
29 "actioncomplete" : "function (_self, action)\n{\n if (action.type == 'setdata') {\n \n if(_this.data.id) {\n this.doAction('load',{ method: 'GET', params: { '_id' : _this.data.id }});\n } \n \n return;\n }\n if (action.type == 'load') {\n \n return;\n }\n if (action.type =='submit') {\n \n _this.dialog.hide();\n \n if (_this.callback) {\n _this.callback.call(this, action.result.data);\n }\n \n return;\n }\n \n}",
30 "render" : "function (_self,e)\n{\n _this.form = _self;\n \n}"
32 "$ string url" : "baseURL + '/Roo/core_ip_access'",
33 "Boolean errorMask" : true,
35 "String labelAlign" : "top",
36 "$ xns" : "Roo.bootstrap",
37 "Boolean loadMask" : true,
41 "$ xns" : "Roo.bootstrap",
46 "$ xns" : "Roo.bootstrap",
49 "String name" : "email",
50 "Boolean readOnly" : true,
52 "string fieldLabel" : "Username",
53 "$ xns" : "Roo.bootstrap"
60 "$ xns" : "Roo.bootstrap",
64 "Boolean readOnly" : true,
66 "string fieldLabel" : "IP",
67 "$ xns" : "Roo.bootstrap"
74 "$ xns" : "Roo.bootstrap",
77 "String name" : "user_agent",
78 "Boolean readOnly" : true,
80 "string fieldLabel" : "User Agent",
82 "$ xns" : "Roo.bootstrap",
83 "String style" : "margin-bottom: 15px;"
90 "$ xns" : "Roo.bootstrap",
94 "select" : "function (combo, record, index)\n{\n _this.expire_dt.allowBlank = true;\n _this.expire_dt.el.hide();\n \n if(record.data.code == '-2'){\n _this.expire_dt.allowBlank = false;\n _this.expire_dt.el.show();\n }\n}"
96 "Boolean allowBlank" : false,
97 "Boolean selectOnFocus" : true,
98 "String name" : "status_name",
99 "String mode" : "local",
100 "String valueField" : "code",
101 "Boolean editable" : false,
102 "xtype" : "ComboBox",
103 "String triggerAction" : "all",
104 "string fieldLabel" : "Action",
105 "Boolean alwaysQuery" : true,
106 "$ xns" : "Roo.bootstrap",
107 "String/Roo.Template tpl" : "<div class=\"roo-select2-result\"><b>{value}</b></div>",
108 "String hiddenName" : "status",
109 "String displayField" : "value",
110 "String indicatorpos" : "right",
111 "Boolean forceSelection" : true,
114 "$ string data" : "[\n ['1', 'Approve'],\n ['-2', 'Temporary'],\n ['-1', 'Reject']\n] ",
115 "xtype" : "SimpleStore",
116 "$ xns" : "Roo.data",
117 "$ fields" : "[ 'code', 'value' ]",
127 "$ xns" : "Roo.bootstrap",
131 "render" : "function (_self)\n{\n _this.expire_dt = this;\n \n var d = new Date();\n \n d.setDate(d.getDate() - 1);\n\n this.setStartDate(d);\n \n this.el.setVisibilityMode(Roo.Element.DISPLAY);\n \n this.el.hide();\n}"
133 "Boolean allowBlank" : false,
134 "String name" : "expire_dt",
135 "String format" : "Y-m-d",
136 "xtype" : "DateField",
137 "string fieldLabel" : "Expire Date",
138 "$ xns" : "Roo.bootstrap",
139 "String indicatorpos" : "right"
147 "$ xns" : "Roo.bootstrap",
152 "$ xns" : "Roo.bootstrap",
155 "String name" : "id",
157 "String inputType" : "hidden",
158 "$ xns" : "Roo.bootstrap"
161 "String name" : "authorized_key",
163 "String inputType" : "hidden",
164 "$ xns" : "Roo.bootstrap"
174 "click" : "function (_self, e)\n{\n _this.dialog.hide();\n}"
176 "String weight" : "default",
178 "$ xns" : "Roo.bootstrap",
179 "String html" : "Cancel",
180 "* prop" : "buttons[]"
184 "click" : "function (_self, e)\n{\n _this.form.doAction('submit');\n \n}"
186 "String weight" : "primary",
188 "$ xns" : "Roo.bootstrap",
189 "String html" : "Confirm",
190 "* prop" : "buttons[]"