5 "Boolean background" : true,
6 "String region" : "center",
7 "String title" : "Notify Servers",
16 "Boolean split" : true,
17 "Number height" : 200,
18 "xtype" : "LayoutRegion"
23 "xtype" : "LayoutRegion"
27 "Boolean background" : true,
28 "fitContainer" : true,
34 "autoExpandColumn" : "hostname",
41 "$ xns" : "Roo.Toolbar",
42 "String text" : "Add",
47 " Pman.Dialog.CoreNotifyServer.show(",
49 " _this.sgrid.footer.onClick('first');",
57 "$ xns" : "Roo.Toolbar",
61 "$ xns" : "Roo.Toolbar",
62 "String text" : "Remove",
65 "function (_self, e)",
67 " Pman.genericDelete(_this.spanel, 'core_notify_server');",
77 "$ sortInfo" : "{ field : 'hostname', direction: 'ASC' }",
79 "* prop" : "dataSource",
82 "$ url" : "baseURL + '/Roo/core_notify_server'",
93 "totalProperty" : "total",
94 "xtype" : "JsonReader"
99 "function (_self, options)",
101 " options.params._with_queue_size =1 ;",
112 "displayInfo" : true,
113 "displayMsg" : "Displaying Servers {0} - {1} of {2}",
114 "emptyMsg" : "No Servers found",
116 "xtype" : "PagingToolbar"
121 " var state = v> 0 ? '-checked' : '';",
123 " return '<img class=\"x-grid-check-icon' + state + '\" src=\"' + Roo.BLANK_IMAGE_URL + '\"/>';",
126 "$ xns" : "Roo.grid",
127 "* prop" : "colModel[]",
128 "dataIndex" : "is_active",
129 "header" : "Is Active",
131 "xtype" : "ColumnModel"
134 "$ xns" : "Roo.grid",
135 "* prop" : "colModel[]",
136 "dataIndex" : "hostname",
137 "header" : "Hostname",
139 "xtype" : "ColumnModel"
142 "$ xns" : "Roo.grid",
143 "* prop" : "colModel[]",
144 "dataIndex" : "helo",
147 "xtype" : "ColumnModel"
150 "$ xns" : "Roo.grid",
151 "* prop" : "colModel[]",
152 "dataIndex" : "poolname",
155 "xtype" : "ColumnModel"
158 "$ Function renderer" : [
161 " return r.data.in_queue || 0;",
164 "$ xns" : "Roo.grid",
165 "* prop" : "colModel[]",
166 "dataIndex" : "in_queue",
167 "header" : "In Queue",
169 "xtype" : "ColumnModel"
172 "$ renderer" : "function(v) { return String.format('{0}', v ? v.format('d/M/Y H:i:s') : ''); }",
173 "$ xns" : "Roo.grid",
174 "* prop" : "colModel[]",
175 "dataIndex" : "last_send",
176 "header" : "Last Sent",
178 "xtype" : "ColumnModel"
183 "function (_self, rowIndex, e)",
186 " _this.bgrid.footer.onClick('first');",
193 " _this.sgrid = this; ",
194 " //_this.dialog = Pman.Dialog.FILL_IN",
195 " if (_this.spanel.active) {",
196 " this.footer.onClick('first');",
201 "function (_self, rowIndex, e)",
204 " Pman.Dialog.CoreNotifyServer.show(",
205 " this.getDataSource().getAt(rowIndex).data, function() {",
206 " _this.sgrid.footer.onClick('first');",
219 " _this.spanel = this;",
220 " if (_this.sgrid) {",
221 " _this.sgrid.footer.onClick('first');",
227 "tableName" : "core_notify_server",
229 "xtype" : "GridPanel"
233 "Boolean background" : true,
234 "fitContainer" : true,
238 "$ xns" : "Roo.grid",
240 "autoExpandColumn" : "error_msg",
244 "* prop" : "toolbar",
247 "$ xns" : "Roo.Toolbar",
251 "$ xns" : "Roo.Toolbar",
252 "String text" : "Remove",
259 "$ sortInfo" : "{ field : 'person_id_name', direction: 'ASC' }",
260 "$ xns" : "Roo.data",
261 "* prop" : "dataSource",
264 "$ url" : "baseURL + '/Roo/core_notify_blacklist'",
265 "$ xns" : "Roo.data",
268 "xtype" : "HttpProxy"
271 "$ xns" : "Roo.data",
275 "totalProperty" : "total",
276 "xtype" : "JsonReader"
281 "function (_self, opts)",
283 " if(!_this.sgrid.getSelectionModel().getSelected()) {",
287 " opts.params.server_id = _this.sgrid.getSelectionModel().getSelected().data.id;",
297 "displayInfo" : true,
298 "displayMsg" : "Displaying Blacklists {0} - {1} of {2}",
299 "emptyMsg" : "No Blacklists found",
301 "xtype" : "PagingToolbar"
304 "$ renderer" : "function(v) { return String.format('{0}', v ? v.format('d/M/Y H:i:s') : ''); }",
305 "$ xns" : "Roo.grid",
306 "* prop" : "colModel[]",
307 "dataIndex" : "added_dt",
310 "xtype" : "ColumnModel"
313 "$ xns" : "Roo.grid",
314 "* prop" : "colModel[]",
315 "dataIndex" : "domain_id_domain",
318 "xtype" : "ColumnModel"
321 "$ xns" : "Roo.grid",
322 "* prop" : "colModel[]",
323 "dataIndex" : "error_str",
326 "xtype" : "ColumnModel"
333 " _this.bgrid = this; ",
334 " //_this.dialog = Pman.Dialog.FILL_IN",
346 " _this.bpanel = this;",
352 "tableName" : "core_notify_recur",
353 "title" : "Recurrent Notifications",
354 "xtype" : "GridPanel"
357 "xtype" : "BorderLayout"
360 "xtype" : "NestedLayoutPanel"
364 "name" : "Pman.Tab.CoreNotifyServers",
365 "parent" : "Pman.Tab.AdminWatchNotify",
366 "path" : "/home/alan/gitlive/Pman.Admin/Pman.Tab.CoreNotifyServers.bjs",
369 "1063e38cb53d94d386f21227fcd84717" : "Remove",
370 "1203cd27e4d1ab6f1296728c021d9c1a" : "Is Active",
371 "2023301a71db57f37d50da7d045b881a" : "Displaying Servers {0} - {1} of {2}",
372 "2ddb157d4780e8883fbde96f354c57d2" : "Displaying Blacklists {0} - {1} of {2}",
373 "774ff60df30a64fad1d29f6c2daa8691" : "No Servers found",
374 "825bd435c12978e8492330c2a0d823db" : "Helo",
375 "902b0d55fddef6f8d651fe1035b7d4bd" : "Error",
376 "ac659513b2353187192e88c5d1988228" : "Servers",
377 "b26686c0a708faee42861d8b905e882e" : "Last Sent",
378 "be6838286e448ad65c5b55d690e2c38b" : "In Queue",
379 "c348b06d2667edd048ded3c1b1878cc1" : "Recurrent Notifications",
380 "c5dd93dd1011986763b5925e0af25e08" : "No Blacklists found",
381 "c8f4b8c435b3d99a66e1b91bec60737c" : "Hostname",
382 "def36b726efed529b13ba240dd331a12" : "Pool",
383 "e3974584afa867d8619253bc669d6197" : "Notify Servers",
384 "eae639a70006feff484a39363c977e24" : "Domain",
385 "ec211f7c20af43e742bf2570c3cb84f9" : "Add",
386 "f29ddbfb905eb2593fdcdfb243f9af85" : "Added"
388 "title" : "Pman.Tab.CoreNotifyServers"