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   "bcc254b55c4a1babdf1dcb82c207506b" : "Phone",
12   "8a25a3ae30ab6e8ceb5b8c4009a3336f" : "Role / Position",
13   "5067d67ab0b0ab1e1099d1de30eccd82" : "Contac Name",
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      "xtype" : "Form",
32      "$ xns" : "Roo.bootstrap",
33      "items" : [
34       {
35        "String cls" : "col-md-12",
36        "xtype" : "Row",
37        "$ xns" : "Roo.bootstrap",
38        "items" : [
39         {
40          "String cls" : "col-sm-12",
41          "xtype" : "Container",
42          "$ xns" : "Roo.bootstrap",
43          "items" : [
44           {
45            "listeners" : {
46             "render" : "function (_self)\n{\n    _this.userNmae = self;\n}"
47            },
48            "String name" : "name",
49            "xtype" : "Input",
50            "string fieldLabel" : "Contac Name",
51            "$ xns" : "Roo.bootstrap"
52           },
53           {
54            "listeners" : {
55             "render" : "function (_self)\n{\n    _this.role = self;\n}"
56            },
57            "String name" : "role",
58            "xtype" : "Input",
59            "string fieldLabel" : "Role / Position",
60            "$ xns" : "Roo.bootstrap"
61           },
62           {
63            "listeners" : {
64             "render" : "function (_self)\n{\n    _this.phone = self;\n}"
65            },
66            "String name" : "phone",
67            "xtype" : "Input",
68            "string fieldLabel" : "Phone",
69            "$ xns" : "Roo.bootstrap"
70           },
71           {
72            "listeners" : {
73             "render" : "function (_self)\n{\n    _this.fax = self;\n}"
74            },
75            "String name" : "fax",
76            "xtype" : "Input",
77            "string fieldLabel" : "Fax",
78            "$ xns" : "Roo.bootstrap"
79           },
80           {
81            "listeners" : {
82             "render" : "function (_self)\n{\n    _this.email = self;\n}"
83            },
84            "String name" : "email",
85            "xtype" : "Input",
86            "string fieldLabel" : "Email",
87            "$ xns" : "Roo.bootstrap"
88           },
89           {
90            "String name" : "passwd1",
91            "xtype" : "Input",
92            "string fieldLabel" : "New Password",
93            "String inputType" : "password",
94            "$ xns" : "Roo.bootstrap"
95           },
96           {
97            "String name" : "passwd2",
98            "xtype" : "Input",
99            "string fieldLabel" : "Password (type again to confirm)",
100            "String inputType" : "password",
101            "$ xns" : "Roo.bootstrap"
102           },
103           {
104            "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",
105            "String name" : "secure_password",
106            "xtype" : "Input",
107            "string fieldLabel" : "Secure passwords",
108            "String labelAlign" : "left",
109            "String inputType" : "checkbox",
110            "String align" : "center",
111            "$ xns" : "Roo.bootstrap",
112            "bool checked" : true,
113            "String style" : "text-align: left;"
114           }
115          ]
116         }
117        ]
118       }
119      ]
120     },
121     {
122      "listeners" : {
123       "click" : "function (_self, e)\n{\n    _this.dialog.hide();\n}"
124      },
125      "String weight" : "primary",
126      "xtype" : "Button",
127      "$ xns" : "Roo.bootstrap",
128      "String style" : "float: right; margin: 10px; width: 70px;",
129      "String html" : "Cancel",
130      "* prop" : "buttons[]"
131     },
132     {
133      "String weight" : "primary",
134      "xtype" : "Button",
135      "$ xns" : "Roo.bootstrap",
136      "String style" : "float: right; margin: 10px; width: 70px;",
137      "String html" : "Save",
138      "* prop" : "buttons[]"
139     }
140    ]
141   }
142  ]
143 }