2 "name" : "Pman.Dialog.AdminEventLog",
5 "path" : "/home/alan/gitlive/Pman.Admin/Pman.Dialog.AdminEventLog.bjs",
9 "7a11042f53957727d8667732d7de1102" : "Ipaddr",
10 "231bc72756b5e6de492aaaa1577f61b1" : "Remarks",
11 "87f9f735a1d36793ceaecd4e47124b63" : "Events",
12 "d9578744f1d4b13d40a51fbb8b9d6ea5" : "Person name",
13 "c0a002606fb906d471e04fe02e5e53f9" : "Event history",
14 "6be4aa550791c310e098cd6c234af7d8" : "Event when",
15 "d3d2e617335f08df83599665eef8a418" : "Close",
16 "7205d42d6d975c911bc1147259d78935" : "Displaying Events{0} - {1} of {2}",
17 "004bf6c9a40003140292e97330236c53" : "Action",
18 "90e4ac2e5a22e53df63b6b186d8727ba" : "No Events found"
23 "show" : "function (_self)\n{\n _this.grid.footer.onClick('first');\n}"
25 "title" : "Event history",
26 "xtype" : "LayoutDialog",
32 "xtype" : "LayoutRegion",
38 "|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
44 "xtype" : "GridPanel",
45 "fitContainer" : true,
47 "tableName" : "Events",
51 "|render" : "function() \n{\n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}"
53 "autoExpandColumn" : "remarks",
61 "beforeload" : "function (_self,o )\n{\n if (!_this.data || !_this.data.on_id) {\n return false;\n }\n o.params.on_table = _this.data.on_table;\n o.params.on_id = _this.data.on_id;\n \n if (typeof(_this.data.person_table) != 'undefined') {\n o.params.person_table =_this.data.person_table;\n }\n}"
65 "$ sortInfo" : "{ field : 'event_when', direction: 'DESC' }",
67 "* prop" : "dataSource",
70 "$ url" : "baseURL + '/Roo/Events.php'",
72 "xtype" : "HttpProxy",
79 "xtype" : "JsonReader",
81 "$ fields" : "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'person_name',\n 'type': 'string'\n },\n {\n 'name': 'event_when',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'action',\n 'type': 'string'\n },\n {\n 'name': 'ipaddr',\n 'type': 'string'\n },\n {\n 'name': 'on_id',\n 'type': 'int'\n },\n {\n 'name': 'on_table',\n 'type': 'string'\n },\n {\n 'name': 'person_id',\n 'type': 'int'\n },\n {\n 'name': 'remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_table',\n 'type': 'string'\n },\n {\n 'name': 'person_id_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_name',\n 'type': 'string'\n },\n {\n 'name': 'person_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'person_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'person_id_email',\n 'type': 'string'\n },\n {\n 'name': 'person_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_role',\n 'type': 'string'\n },\n {\n 'name': 'person_id_active',\n 'type': 'int'\n },\n {\n 'name': 'person_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'person_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'person_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'person_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'person_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_dt',\n 'type': 'date'\n },\n {\n 'name': 'person_id_firstname',\n 'type': 'string'\n },\n {\n 'name': 'person_id_lastname',\n 'type': 'string'\n }\n]",
83 "totalProperty" : "total"
89 "xtype" : "PagingToolbar",
90 "emptyMsg" : "No Events found",
93 "displayMsg" : "Displaying Events{0} - {1} of {2}",
97 "xtype" : "ColumnModel",
99 "header" : "Event when",
100 "$ renderer" : "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }",
101 "$ xns" : "Roo.grid",
102 "* prop" : "colModel[]",
103 "dataIndex" : "event_when"
106 "xtype" : "ColumnModel",
107 "header" : "Person name",
109 "$ renderer" : "function(v) { return String.format('{0}', v); }",
110 "$ xns" : "Roo.grid",
111 "* prop" : "colModel[]",
112 "dataIndex" : "person_id_name"
115 "xtype" : "ColumnModel",
118 "$ renderer" : "function(v) { return String.format('{0}', v); }",
119 "$ xns" : "Roo.grid",
120 "* prop" : "colModel[]",
121 "dataIndex" : "action"
124 "xtype" : "ColumnModel",
127 "$ renderer" : "function(v) { return String.format('{0}', v); }",
128 "$ xns" : "Roo.grid",
129 "* prop" : "colModel[]",
130 "dataIndex" : "ipaddr"
133 "xtype" : "ColumnModel",
135 "header" : "Remarks",
136 "$ renderer" : "function(v) { return String.format('{0}', v); }",
137 "$ xns" : "Roo.grid",
138 "* prop" : "colModel[]",
139 "dataIndex" : "remarks"
147 "click" : "function (_self, e)\n{\n _this.dialog.hide();\n}"
152 "* prop" : "buttons[]"