PHP8
[Pman.BAdmin] / Pman.Dialog.PersonEditor.bjs
index 69eb5bb..4f93d0c 100644 (file)
@@ -6,7 +6,17 @@
  "permname" : "",
  "modOrder" : "001",
  "strings" : {
-  "11dcfc58d8c9aed80d13d85369b854db" : "Person Editor"
+  "ce8ae9da5b7cd6c3df2929543a9af92d" : "Email",
+  "abb1d799e06329cb0c38276ea918300b" : "Secure passwords",
+  "bcc254b55c4a1babdf1dcb82c207506b" : "Phone",
+  "dc647eb65e6711e155375218212b3964" : "Password",
+  "ea4788705e6873b424c65e91c2846b19" : "Cancel",
+  "bbbabdbe1b262f75d99d62880b953be1" : "Role",
+  "11dcfc58d8c9aed80d13d85369b854db" : "Person Editor",
+  "49ee3087348e8d44e1feda1917443987" : "Name",
+  "1f9a645ca5ecbde5f93612791b54218f" : "Password (Retype)",
+  "c9cc8cce247e49bae79f15173ce97354" : "Save",
+  "9810aa2b9f44401be4bf73188ef2b67d" : "Fax"
  },
  "items" : [
   {
    "String title" : "Person Editor",
    "items" : [
     {
+     "listeners" : {
+      "render" : "function (_self)\n{\n    _this.form = _self;\n}"
+     },
      "xtype" : "Form",
-     "$ xns" : "Roo.bootstrap"
+     "$ xns" : "Roo.bootstrap",
+     "items" : [
+      {
+       "String cls" : "col-md-12",
+       "xtype" : "Row",
+       "$ xns" : "Roo.bootstrap",
+       "items" : [
+        {
+         "String cls" : "col-md-12",
+         "xtype" : "Container",
+         "$ xns" : "Roo.bootstrap",
+         "items" : [
+          {
+           "listeners" : {
+            "render" : "function (_self)\n{\n    _this.userNmae = self;\n}"
+           },
+           "String name" : "name",
+           "xtype" : "Input",
+           "string fieldLabel" : "Name",
+           "String labelAlign" : "left",
+           "$ xns" : "Roo.bootstrap"
+          },
+          {
+           "listeners" : {
+            "render" : "function (_self)\n{\n    _this.role = self;\n}"
+           },
+           "String name" : "role",
+           "xtype" : "Input",
+           "string fieldLabel" : "Role",
+           "String labelAlign" : "left",
+           "$ xns" : "Roo.bootstrap"
+          },
+          {
+           "listeners" : {
+            "render" : "function (_self)\n{\n    _this.phone = self;\n}"
+           },
+           "String name" : "phone",
+           "xtype" : "Input",
+           "string fieldLabel" : "Phone",
+           "String labelAlign" : "left",
+           "$ xns" : "Roo.bootstrap"
+          },
+          {
+           "listeners" : {
+            "render" : "function (_self)\n{\n    _this.fax = self;\n}"
+           },
+           "String name" : "fax",
+           "xtype" : "Input",
+           "string fieldLabel" : "Fax",
+           "String labelAlign" : "left",
+           "$ xns" : "Roo.bootstrap"
+          },
+          {
+           "listeners" : {
+            "render" : "function (_self)\n{\n    _this.email = self;\n}"
+           },
+           "String name" : "email",
+           "xtype" : "Input",
+           "string fieldLabel" : "Email",
+           "String labelAlign" : "left",
+           "$ xns" : "Roo.bootstrap"
+          },
+          {
+           "String name" : "passwd1",
+           "xtype" : "Input",
+           "string fieldLabel" : "Password",
+           "String labelAlign" : "left",
+           "String inputType" : "password",
+           "$ xns" : "Roo.bootstrap"
+          },
+          {
+           "String name" : "passwd2",
+           "xtype" : "Input",
+           "string fieldLabel" : "Password (Retype)",
+           "String labelAlign" : "left",
+           "String inputType" : "password",
+           "$ xns" : "Roo.bootstrap"
+          }
+         ]
+        }
+       ]
+      },
+      {
+       "String cls" : "col-md-12",
+       "xtype" : "Row",
+       "$ xns" : "Roo.bootstrap",
+       "items" : [
+        {
+         "String cls" : "col-md-12",
+         "xtype" : "Container",
+         "$ xns" : "Roo.bootstrap",
+         "items" : [
+          {
+           "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",
+           "String name" : "secure_password",
+           "xtype" : "Input",
+           "string fieldLabel" : "Secure passwords",
+           "String labelAlign" : "left",
+           "String inputType" : "checkbox",
+           "String align" : "left",
+           "$ xns" : "Roo.bootstrap",
+           "bool checked" : true
+          }
+         ]
+        }
+       ]
+      }
+     ]
+    },
+    {
+     "xtype" : "Row",
+     "$ xns" : "Roo.bootstrap",
+     "items" : [
+      {
+       "xtype" : "Column",
+       "$ xns" : "Roo.bootstrap"
+      }
+     ]
+    },
+    {
+     "listeners" : {
+      "click" : "function (_self, e)\n{\n    _this.dialog.hide();\n}"
+     },
+     "String weight" : "primary",
+     "xtype" : "Button",
+     "$ xns" : "Roo.bootstrap",
+     "String style" : "float: right; margin: 10px; width: 70px;",
+     "String html" : "Cancel",
+     "* prop" : "buttons[]"
     },
     {
+     "String weight" : "primary",
      "xtype" : "Button",
      "$ xns" : "Roo.bootstrap",
-     "$ prop" : "button[]",
-     "* prop" : ""
+     "String style" : "float: right; margin: 10px; width: 70px;",
+     "String html" : "Save",
+     "* prop" : "buttons[]"
     }
    ]
   }