PHP8
[Pman.BAdmin] / Pman.Tab.bjs
index 4038e67..9d97907 100644 (file)
@@ -2,7 +2,7 @@
  "name" : "Pman.Tab",
  "parent" : "",
  "title" : "",
- "path" : "/home/john/gitlive/web.coba/Pman/BAdmin/Pman.Tab.bjs",
+ "path" : "/home/alan/gitlive/Pman.BAdmin/Pman.Tab.bjs",
  "permname" : "",
  "modOrder" : "001",
  "strings" : {
@@ -25,6 +25,7 @@
     {
      "String tabPosition" : "top",
      "xtype" : "Region",
+     "string cls" : "pman-admin-center",
      "$ xns" : "Roo.bootstrap.layout",
      "Boolean alwaysShowTabs" : true,
      "* prop" : "center"
@@ -45,7 +46,7 @@
      "items" : [
       {
        "String position" : "fixed-top",
-       "String cls" : "headroom animated slideDown  no-srButton admin-header",
+       "String cls" : "headroom animated slideDown  no-srButton pman-admin-header",
        "Boolean srButton" : true,
        "bool autohide" : true,
        "xtype" : "NavHeaderbar",
        "Boolean desktopCenter" : false,
        "$ String brand" : "'<img   cls=\"header-logo\" src=\"' +    Roo.BLANK_IMAGE_URL + '\">'",
        "$ xns" : "Roo.bootstrap",
-       "String style" : "padding-bottom:0px;",
        "items" : [
         {
          "String type" : "nav",
          "xtype" : "NavGroup",
          "String align" : "right",
          "$ xns" : "Roo.bootstrap",
-         "String style" : "margin-top:0px;margin-bottom:0px;margin-right:22px;",
          "items" : [
           {
            "listeners" : {
@@ -81,6 +80,7 @@
              "String cls" : "user-menu",
              "xtype" : "Menu",
              "$ xns" : "Roo.bootstrap",
+             "bool hideTrigger" : true,
              "* prop" : "menu",
              "items" : [
               {
                    "items" : [
                     {
                      "listeners" : {
-                      "click" : "function (e)\n{\n\n    var _self = this;\n    \n    Pman.Dialog.BAdminPassword.show({ id : Pman.Login.authUser.id }, function(res) {\n        Roo.bootstrap.MessageBox.alert(_self._change_passwd_success_title, _self._change_passwd_success_body);\n    });\n    \n}"
+                      "click" : "function (e)\n{\n    var _self = this;\n    \n    Pman.Dialog.BAdminPassword.show(\n        {},\n        function(res) {\n            Roo.bootstrap.MessageBox.alert(_self._change_passwd_success_title, _self._change_passwd_success_body);\n        }\n    );\n    \n}"
                      },
                      "xtype" : "Button",
                      "string _change_passwd_success_body" : "Your password has been changed",