PHP8
[Pman.BAdmin] / Pman.Dialog.LoginNotice.bjs
1 {
2  "name" : "Pman.Dialog.LoginNotice",
3  "parent" : "",
4  "title" : "",
5  "path" : "/home/edward/gitlive/Pman.BAdmin/Pman.Dialog.LoginNotice.bjs",
6  "permname" : "",
7  "modOrder" : "001",
8  "strings" : {
9   "095afbf2f1f0e5be678f5dac5c54e717" : "Access Denied",
10   "24efa7ee4511563b16144f39706d594f" : "Notice"
11  },
12  "items" : [
13   {
14    "listeners" : {
15     "show" : "function (_self)\n{\n    _this.dialog.footerEl.setVisibilityMode(Roo.Element.DISPLAY).hide();\n    \n    var msg = String.format(\n        'Sorry your IP has been blocked from using this system. Please contact our administrator to resolve this.<br/>' + \n        '[ {0} ]',\n        _this.data.ip\n    );\n    \n    if(_this.data.status == 'NEW-IP-ADDRESS') {\n        msg = String.format(\n            'Notify administrator that you have requested access.<br/>' + \n            '[ {0} ]',\n            _this.data.ip\n        );\n    }\n    \n    if(_this.data.status == 'PENDING-IP-ADDRESS') {\n        msg = String.format(\n            'Administrator has been notified, however you may want to contact them directly to get it approved.<br/>' +\n            '[ {0} ]',\n            _this.data.ip\n        );\n    }\n    \n    _this.notice.el.dom.innerHTML = msg;\n}"
16    },
17    "String cls" : "enable-overflow",
18    "Boolean allow_close" : false,
19    "xtype" : "Modal",
20    "$ xns" : "Roo.bootstrap",
21    "String title" : "Notice",
22    "items" : [
23     {
24      "xtype" : "Row",
25      "$ xns" : "Roo.bootstrap",
26      "items" : [
27       {
28        "listeners" : {
29         "render" : "function (_self)\n{\n    _this.notice = this;\n}"
30        },
31        "Number md" : 12,
32        "xtype" : "Column",
33        "$ xns" : "Roo.bootstrap",
34        "String html" : "Access Denied",
35        "String style" : "margin-bottom: 15px;"
36       }
37      ]
38     }
39    ]
40   }
41  ]
42 }