Pman.Dialog.PersonEditor.bjs
[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   "7cfd883d5d55fccfcfb13b3fcf29e3a6" : "Contact Name",
12   "bcc254b55c4a1babdf1dcb82c207506b" : "Phone",
13   "8a25a3ae30ab6e8ceb5b8c4009a3336f" : "Role / Position",
14   "315fce99b77b7f392bf68d5eb14f88c7" : "Password (type again to confirm)",
15   "ea4788705e6873b424c65e91c2846b19" : "Cancel",
16   "ae3bb2a1ac61750150b606298091d38a" : "New Password",
17   "11dcfc58d8c9aed80d13d85369b854db" : "Person Editor",
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" : "Contact Name",
54            "String labelAlign" : "top",
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 / Position",
64            "$ xns" : "Roo.bootstrap"
65           },
66           {
67            "listeners" : {
68             "render" : "function (_self)\n{\n    _this.phone = self;\n}"
69            },
70            "String name" : "phone",
71            "xtype" : "Input",
72            "string fieldLabel" : "Phone",
73            "$ xns" : "Roo.bootstrap"
74           },
75           {
76            "listeners" : {
77             "render" : "function (_self)\n{\n    _this.fax = self;\n}"
78            },
79            "String name" : "fax",
80            "xtype" : "Input",
81            "string fieldLabel" : "Fax",
82            "$ xns" : "Roo.bootstrap"
83           },
84           {
85            "listeners" : {
86             "render" : "function (_self)\n{\n    _this.email = self;\n}"
87            },
88            "String name" : "email",
89            "xtype" : "Input",
90            "string fieldLabel" : "Email",
91            "$ xns" : "Roo.bootstrap"
92           },
93           {
94            "String name" : "passwd1",
95            "xtype" : "Input",
96            "string fieldLabel" : "New Password",
97            "String inputType" : "password",
98            "$ xns" : "Roo.bootstrap"
99           },
100           {
101            "String name" : "passwd2",
102            "xtype" : "Input",
103            "string fieldLabel" : "Password (type again to confirm)",
104            "String inputType" : "password",
105            "$ xns" : "Roo.bootstrap"
106           },
107           {
108            "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",
109            "String name" : "secure_password",
110            "xtype" : "Input",
111            "string fieldLabel" : "Secure passwords",
112            "String labelAlign" : "top",
113            "String inputType" : "checkbox",
114            "$ xns" : "Roo.bootstrap",
115            "bool checked" : true
116           }
117          ]
118         }
119        ]
120       }
121      ]
122     },
123     {
124      "listeners" : {
125       "click" : "function (_self, e)\n{\n    _this.dialog.hide();\n}"
126      },
127      "String weight" : "primary",
128      "xtype" : "Button",
129      "$ xns" : "Roo.bootstrap",
130      "String style" : "float: right; margin: 10px; width: 70px;",
131      "String html" : "Cancel",
132      "* prop" : "buttons[]"
133     },
134     {
135      "String weight" : "primary",
136      "xtype" : "Button",
137      "$ xns" : "Roo.bootstrap",
138      "String style" : "float: right; margin: 10px; width: 70px;",
139      "String html" : "Save",
140      "* prop" : "buttons[]"
141     }
142    ]
143   }
144  ]
145 }