5 "path" : "/home/alan/gitlive/Pman.BAdmin/Pman.Tab.bjs",
9 "7b7bc2512ee1fedcd76bdc68926d4f7b" : "Administrator",
10 "0323de4f66a1700e2173e9bcdce02715" : "Logout",
11 "8f1e77e0d2be21da93cd4d9a939148f7" : "Change Password",
12 "617114bd6ef10884239510062dffa933" : "Your password has been changed",
13 "24efa7ee4511563b16144f39706d594f" : "Notice"
18 "render" : "function (_self)\n{\n\n}"
21 "$ el" : "document.body",
22 "$ xns" : "Roo.bootstrap.layout",
23 "bool is_root" : true,
26 "String tabPosition" : "top",
28 "string cls" : "pman-admin-center",
29 "$ xns" : "Roo.bootstrap.layout",
30 "Boolean alwaysShowTabs" : true,
35 "Boolean hideTabs" : true,
37 "$ xns" : "Roo.bootstrap.layout",
39 "String overflow" : "visible"
42 "Boolean fitContainer" : true,
44 "$ xns" : "Roo.bootstrap.panel",
45 "String region" : "north",
48 "String position" : "fixed-top",
49 "String cls" : "headroom animated slideDown no-srButton pman-admin-header",
50 "Boolean srButton" : true,
51 "bool autohide" : true,
52 "xtype" : "NavHeaderbar",
53 "Boolean inverse" : false,
54 "Boolean desktopCenter" : false,
55 "$ String brand" : "'<img cls=\"header-logo\" src=\"' + Roo.BLANK_IMAGE_URL + '\">'",
56 "$ xns" : "Roo.bootstrap",
59 "String type" : "nav",
61 "String align" : "right",
62 "$ xns" : "Roo.bootstrap",
66 "render" : "function (_self)\n{\n _this.user_box = this;\n \n this.el.setVisibilityMode(Roo.Element.DISPLAY);\n \n this.el.show();\n}"
68 "Boolean preventDefault" : true,
69 "| function updateBadge" : "function() { }",
71 "$ html" : "Pman.Login.authUser.name + '<span style=\"margin-left: 5px;\" class=\"badge badge-primary\"></span>'",
72 "$ xns" : "Roo.bootstrap",
73 "String icon" : "fa fa-user",
77 "show" : "function (_self)\n{\n var width = Roo.lib.Dom.getViewWidth();\n \n var xy = this.el.getXY();\n this.el.setStyle('position', 'absolute');\n \n if(width < 480){\n xy[0] = 0;\n this.el.setXY(xy);\n this.el.setStyle('width', width + 'px');\n }\n}"
79 "Boolean allowDomMove" : false,
80 "String cls" : "user-menu",
82 "$ xns" : "Roo.bootstrap",
83 "bool hideTrigger" : true,
87 "String cls" : "user-body",
88 "Boolean preventDefault" : true,
90 "$ xns" : "Roo.bootstrap",
91 "Boolean isContainer" : true,
95 "$ xns" : "Roo.bootstrap",
100 "$ xns" : "Roo.bootstrap",
104 "$ xns" : "Roo.bootstrap",
108 "render" : "function (_self)\n{\n this.el.dom.innerHTML = '<b>' + Pman.Login.authUser.name + '</b>';\n \n}"
111 "String cls" : "text-primary",
113 "$ xns" : "Roo.bootstrap"
117 "render" : "function (_self)\n{\n \n this.el.dom.innerHTML = Pman.Login.authUser.email;\n \n}"
121 "$ xns" : "Roo.bootstrap",
122 "String style" : "color:#777;"
127 "$ xns" : "Roo.bootstrap",
131 "render" : "function (_self)\n{\n _this.super_admin_btn = this;\n \n}",
132 "click" : "function (_self, e)\n{\n if(window.location.href.indexOf('_super_admin=1') * 1 != -1) {\n window.open(baseURL,'_self');\n return;\n }\n \n window.open(baseURL + '?_super_admin=1','_self');\n}"
134 "String weight" : "link",
136 "$ xns" : "Roo.bootstrap",
137 "String html" : "Administrator",
138 "String style" : "padding: 0px;text-decoration: none; color:#777;"
152 "childrenrendered" : "function (_self)\n{\n _this.super_admin_btn.hide();\n\n if(Pman.Login.authUser.groups.indexOf('Administrators') * 1 != -1) {\n _this.super_admin_btn.show();\n }\n}"
154 "String cls" : "user-footer",
155 "Boolean preventDefault" : true,
156 "xtype" : "MenuItem",
157 "$ xns" : "Roo.bootstrap",
158 "Boolean isContainer" : true,
162 "$ xns" : "Roo.bootstrap",
168 "$ xns" : "Roo.bootstrap",
173 "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}"
176 "string _change_passwd_success_body" : "Your password has been changed",
177 "$ xns" : "Roo.bootstrap",
178 "String html" : "Change Password",
179 "String style" : "text-transform:none;",
180 "string _change_passwd_success_title" : "Notice"
188 "$ xns" : "Roo.bootstrap",
189 "String style" : "text-align: right;",
194 "click" : "function (e)\n{\n window.onbeforeunload = false;\n \n \n Roo.Ajax.request({\n url : baseURL + '/Login',\n method: 'POST',\n params : { \n logout : 1\n },\n success : function()\n {\n location.href = baseURL;\n }\n });\n\n}"
197 "$ xns" : "Roo.bootstrap",
198 "String html" : "Logout",
199 "String style" : "text-transform:none;"