Pman.Dialog.VerifyAccess.bjs
authoredward <edward@roojs.com>
Thu, 15 Feb 2018 03:55:07 +0000 (11:55 +0800)
committeredward <edward@roojs.com>
Thu, 15 Feb 2018 03:55:07 +0000 (11:55 +0800)
Pman.Dialog.VerifyAccess.js

Pman.Dialog.VerifyAccess.bjs
Pman.Dialog.VerifyAccess.js

index f6a5edc..81bbf28 100644 (file)
            "string fieldLabel" : "User Agent",
            "Number rows" : 3,
            "$ xns" : "Roo.bootstrap"
-          }
-         ]
-        }
-       ]
-      },
-      {
-       "xtype" : "Row",
-       "$ xns" : "Roo.bootstrap",
-       "items" : [
-        {
-         "xtype" : "Column",
-         "Number xs" : 8,
-         "$ xns" : "Roo.bootstrap",
-         "items" : [
-          {
-           "String name" : "id",
-           "xtype" : "Input",
-           "String inputType" : "hidden",
-           "$ xns" : "Roo.bootstrap"
           },
           {
-           "String name" : "authorized_key",
-           "xtype" : "Input",
-           "String inputType" : "hidden",
-           "$ xns" : "Roo.bootstrap"
+           "listeners" : {
+            "render" : "function (_self)\n{\n    _this.row_pwd_label = _self;\n}"
+           },
+           "xtype" : "Row",
+           "$ xns" : "Roo.bootstrap",
+           "items" : [
+            {
+             "xtype" : "Column",
+             "Number xs" : 12,
+             "$ xns" : "Roo.bootstrap",
+             "items" : [
+              {
+               "String name" : "user_agent",
+               "Boolean readOnly" : true,
+               "xtype" : "TextArea",
+               "string fieldLabel" : "User Agent",
+               "Number rows" : 3,
+               "$ xns" : "Roo.bootstrap"
+              }
+             ]
+            }
+           ]
           }
          ]
         }
        "items" : [
         {
          "xtype" : "Column",
-         "Number xs" : 8,
+         "Number xs" : 12,
          "$ xns" : "Roo.bootstrap",
          "items" : [
           {
index 7d62599..53fb50f 100644 (file)
@@ -263,35 +263,36 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
             rows : 3,
             xns : Roo.bootstrap,
             '|xns' : 'Roo.bootstrap'
-           }
-          ]
-         }
-        ]
-       },
-       {
-        xtype : 'Row',
-        xns : Roo.bootstrap,
-        '|xns' : 'Roo.bootstrap',
-        items  : [
-         {
-          xtype : 'Column',
-          xs : 8,
-          xns : Roo.bootstrap,
-          '|xns' : 'Roo.bootstrap',
-          items  : [
-           {
-            xtype : 'Input',
-            inputType : 'hidden',
-            name : 'id',
-            xns : Roo.bootstrap,
-            '|xns' : 'Roo.bootstrap'
            },
            {
-            xtype : 'Input',
-            inputType : 'hidden',
-            name : 'authorized_key',
+            xtype : 'Row',
+            listeners : {
+             render : function (_self)
+              {
+                  _this.row_pwd_label = _self;
+              }
+            },
             xns : Roo.bootstrap,
-            '|xns' : 'Roo.bootstrap'
+            '|xns' : 'Roo.bootstrap',
+            items  : [
+             {
+              xtype : 'Column',
+              xs : 12,
+              xns : Roo.bootstrap,
+              '|xns' : 'Roo.bootstrap',
+              items  : [
+               {
+                xtype : 'TextArea',
+                fieldLabel : _this._strings['dfb790522fdea3859af206d32916fe77'] /* User Agent */,
+                name : 'user_agent',
+                readOnly : true,
+                rows : 3,
+                xns : Roo.bootstrap,
+                '|xns' : 'Roo.bootstrap'
+               }
+              ]
+             }
+            ]
            }
           ]
          }
@@ -304,7 +305,7 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
         items  : [
          {
           xtype : 'Column',
-          xs : 8,
+          xs : 12,
           xns : Roo.bootstrap,
           '|xns' : 'Roo.bootstrap',
           items  : [