diff --git a/src/main/ui/manage.html b/src/main/ui/manage.html index 5dcc47df1..aee6240c0 100644 --- a/src/main/ui/manage.html +++ b/src/main/ui/manage.html @@ -122,7 +122,7 @@ margin-bottom: 10%;"/>
+ ng-class="currentUser.org?(currentUser.org.banner_class||'fxplus'):'royalpay'" ui-view> diff --git a/src/main/ui/manage_bak.html b/src/main/ui/manage_bak.html index 4185ec394..1aa66dcf6 100644 --- a/src/main/ui/manage_bak.html +++ b/src/main/ui/manage_bak.html @@ -221,7 +221,7 @@ margin-bottom: 10%;"/> - + -
-
--> +
- + diff --git a/src/main/ui/static/boot/manager-boot.js b/src/main/ui/static/boot/manager-boot.js index 97f099690..a29a36dcb 100644 --- a/src/main/ui/static/boot/manager-boot.js +++ b/src/main/ui/static/boot/manager-boot.js @@ -76,8 +76,8 @@ require(['angular', 'jquery'], function (angular, $) { }); function boot(user) { - var paths = ['static/boot/managerMainApp', 'static/analysis/org/analysis-org', 'static/analysis/report/analysis-report', 'static/analysis/monitoring/analysis-monitoring', 'static/analysis/bd/analysis-bd']; - var moduleNames = ['managerMainApp', 'analysisTransaction', 'analysisBD', 'analysisOrg', 'analysisMonitoring', 'analysisReport']; + var paths = ['static/boot/managerMainApp', 'static/menu/managerMenu','static/analysis/org/analysis-org', 'static/analysis/report/analysis-report', 'static/analysis/monitoring/analysis-monitoring', 'static/analysis/bd/analysis-bd']; + var moduleNames = ['managerMainApp', 'listMenuApp','analysisTransaction', 'analysisBD', 'analysisOrg', 'analysisMonitoring', 'analysisReport']; window.currentUser = user; angular.forEach(user.modules, function (mod) { paths.push(mod.js_path); diff --git a/src/main/ui/static/menu/managerMenu.js b/src/main/ui/static/menu/managerMenu.js new file mode 100644 index 000000000..33b9d82e7 --- /dev/null +++ b/src/main/ui/static/menu/managerMenu.js @@ -0,0 +1,17 @@ +define(['angular', 'uiRouter', 'uiBootstrap'], function (angular) { + 'use strict'; + var app = angular.module('listMenuApp', ['ui.router', 'ui.bootstrap']); + app.config(['$stateProvider', function ($stateProvider) { + $stateProvider.state('listMenu', { + url: '/menu?role', + templateUrl: '/manage_menu.html', + controller: 'listMenuCtrl' + }) + }]); + app.controller('listMenuCtrl', ['$scope', '$http', '$filter','$uibModal', 'commonDialog','stateParams', function ($scope, $http,$filter, $uibModal, commonDialog,$stateParams) { + console.log("dadadadada + " + $stateParams.role); + + + }]); + return app; +});