PHP8
[Pman.BAdmin] / Pman.Dialog.PersonEditor.bjs
1 {
2  "name" : "Pman.Dialog.PersonEditor",
3  "parent" : "",
4  "title" : "",
5  "path" : "/home/khlau/gitlive/Pman.BAdmin/Pman.Dialog.PersonEditor.bjs",
6  "permname" : "",
7  "modOrder" : "001",
8  "strings" : {
9   "ce8ae9da5b7cd6c3df2929543a9af92d" : "Email",
10   "abb1d799e06329cb0c38276ea918300b" : "Secure passwords",
11   "bcc254b55c4a1babdf1dcb82c207506b" : "Phone",
12   "dc647eb65e6711e155375218212b3964" : "Password",
13   "ea4788705e6873b424c65e91c2846b19" : "Cancel",
14   "bbbabdbe1b262f75d99d62880b953be1" : "Role",
15   "11dcfc58d8c9aed80d13d85369b854db" : "Person Editor",
16   "49ee3087348e8d44e1feda1917443987" : "Name",
17   "1f9a645ca5ecbde5f93612791b54218f" : "Password (Retype)",
18   "c9cc8cce247e49bae79f15173ce97354" : "Save",
19   "9810aa2b9f44401be4bf73188ef2b67d" : "Fax"
20  },
21  "items" : [
22   {
23    "listeners" : {
24     "render" : "function (_self)\n{\n    _this.modal = _self;\n}"
25    },
26    "xtype" : "Modal",
27    "$ xns" : "Roo.bootstrap",
28    "String title" : "Person Editor",
29    "items" : [
30     {
31      "listeners" : {
32       "render" : "function (_self)\n{\n    _this.form = _self;\n}"
33      },
34      "xtype" : "Form",
35      "$ xns" : "Roo.bootstrap",
36      "items" : [
37       {
38        "String cls" : "col-md-12",
39        "xtype" : "Row",
40        "$ xns" : "Roo.bootstrap",
41        "items" : [
42         {
43          "String cls" : "col-md-12",
44          "xtype" : "Container",
45          "$ xns" : "Roo.bootstrap",
46          "items" : [
47           {
48            "listeners" : {
49             "render" : "function (_self)\n{\n    _this.userNmae = self;\n}"
50            },
51            "String name" : "name",
52            "xtype" : "Input",
53            "string fieldLabel" : "Name",
54            "String labelAlign" : "left",
55            "$ xns" : "Roo.bootstrap"
56           },
57           {
58            "listeners" : {
59             "render" : "function (_self)\n{\n    _this.role = self;\n}"
60            },
61            "String name" : "role",
62            "xtype" : "Input",
63            "string fieldLabel" : "Role",
64            "String labelAlign" : "left",
65            "$ xns" : "Roo.bootstrap"
66           },
67           {
68            "listeners" : {
69             "render" : "function (_self)\n{\n    _this.phone = self;\n}"
70            },
71            "String name" : "phone",
72            "xtype" : "Input",
73            "string fieldLabel" : "Phone",
74            "String labelAlign" : "left",
75            "$ xns" : "Roo.bootstrap"
76           },
77           {
78            "listeners" : {
79             "render" : "function (_self)\n{\n    _this.fax = self;\n}"
80            },
81            "String name" : "fax",
82            "xtype" : "Input",
83            "string fieldLabel" : "Fax",
84            "String labelAlign" : "left",
85            "$ xns" : "Roo.bootstrap"
86           },
87           {
88            "listeners" : {
89             "render" : "function (_self)\n{\n    _this.email = self;\n}"
90            },
91            "String name" : "email",
92            "xtype" : "Input",
93            "string fieldLabel" : "Email",
94            "String labelAlign" : "left",
95            "$ xns" : "Roo.bootstrap"
96           },
97           {
98            "String name" : "passwd1",
99            "xtype" : "Input",
100            "string fieldLabel" : "Password",
101            "String labelAlign" : "left",
102            "String inputType" : "password",
103            "$ xns" : "Roo.bootstrap"
104           },
105           {
106            "String name" : "passwd2",
107            "xtype" : "Input",
108            "string fieldLabel" : "Password (Retype)",
109            "String labelAlign" : "left",
110            "String inputType" : "password",
111            "$ xns" : "Roo.bootstrap"
112           }
113          ]
114         }
115        ]
116       },
117       {
118        "String cls" : "col-md-12",
119        "xtype" : "Row",
120        "$ xns" : "Roo.bootstrap",
121        "items" : [
122         {
123          "String cls" : "col-md-12",
124          "xtype" : "Container",
125          "$ xns" : "Roo.bootstrap",
126          "items" : [
127           {
128            "Object listeners" : "{\n                    check : function (_self, checked) {\n                        this.form.findField('passwd1').insecure = false;\n\n                        if(!checked){\n                            this.form.findField('passwd1').insecure = true;\n                        }\n                    }\n                }\n",
129            "String name" : "secure_password",
130            "xtype" : "Input",
131            "string fieldLabel" : "Secure passwords",
132            "String labelAlign" : "left",
133            "String inputType" : "checkbox",
134            "String align" : "left",
135            "$ xns" : "Roo.bootstrap",
136            "bool checked" : true
137           }
138          ]
139         }
140        ]
141       }
142      ]
143     },
144     {
145      "xtype" : "Row",
146      "$ xns" : "Roo.bootstrap",
147      "items" : [
148       {
149        "xtype" : "Column",
150        "$ xns" : "Roo.bootstrap"
151       }
152      ]
153     },
154     {
155      "listeners" : {
156       "click" : "function (_self, e)\n{\n    _this.dialog.hide();\n}"
157      },
158      "String weight" : "primary",
159      "xtype" : "Button",
160      "$ xns" : "Roo.bootstrap",
161      "String style" : "float: right; margin: 10px; width: 70px;",
162      "String html" : "Cancel",
163      "* prop" : "buttons[]"
164     },
165     {
166      "String weight" : "primary",
167      "xtype" : "Button",
168      "$ xns" : "Roo.bootstrap",
169      "String style" : "float: right; margin: 10px; width: 70px;",
170      "String html" : "Save",
171      "* prop" : "buttons[]"
172     }
173    ]
174   }
175  ]
176 }