fix something

master
luoyang 6 years ago
parent 419758b21f
commit 53f60669a3

@ -136,12 +136,16 @@ margin-bottom: 10%;"/>
<p style="color: #666">To Be The Best QRCode Payment Service Provider!</p>
</div>
</div>
<header ng-if="headerDisplay" class="main-header">
<div ng-if="currentUser!=null" ng-cloak
ng-class="currentUser.org?(currentUser.org.banner_class||'fxplus'):'royalpay'">
<header ng-if="headerDisplay" class="main-header">
<nav style="margin-left: 0px" class="navbar navbar-static-top navbar-static-top-yedian" role="navigation">
<!-- Logo -->
<a href="#" class="logo logo-yedian shine" ng-if="!currentUser.org">
<a href="#" onclick="location.reload()" class="logo logo-yedian shine" ng-if="!currentUser.org">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><img src="static/images/r_white_logo.svg"
style="max-height: 35px;margin-left: 15%;"></span>
@ -151,7 +155,7 @@ margin-bottom: 10%;"/>
<!--<b>RoyalPay</b>-->
</span>
</a>
<a href="#" class="logo logo-yedian shine" ng-if="currentUser.org">
<a href="#" onclick="location.reload()" class="logo logo-yedian shine" ng-if="currentUser.org">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><img ng-src="{{currentUser.org.logo}}"
style="max-height: 35px;margin-bottom: 8px;margin-right: 5px;"></span>
@ -239,20 +243,18 @@ margin-bottom: 10%;"/>
</ul>
</div>
</nav>
</header>
<div ng-if="currentUser!=null" ng-cloak
ng-class="currentUser.org?(currentUser.org.banner_class||'fxplus'):'royalpay'" ui-view>
<div class="backgroud">
<div class="total_logo">
</header>
<div style="min-height: 890px" ui-view>
<div class="backgroud">
<div class="total_logo">
<a><img src="/static/images/manage_total_logo.png"> </a>
<div class="easypay">
<b>Easy BusinessEasy Payment!</b>
</div>
</div>
</div>
<div style="margin: 0 auto;display: flex;padding-top: 40px;padding-bottom:0.5%;width: 60%;flex-wrap:wrap">
<div style="margin: 0 auto;display: flex;padding-top: 40px;padding-bottom:0.5%;width: 60%;flex-wrap:wrap">
<div class="box-items" ng-if="'10'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Compliance'})" ui-sref-opts="{reload:true}">
<div class="boxs">
@ -263,7 +265,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'10000000000'|withRole">
<a ui-sref="listMenu({role:'RiskManager'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'RiskManager'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_2.png">
</div>
@ -272,7 +274,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'100000'|withRole">
<a ui-sref="listMenu({role:'AccountManager'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'AccountManager'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_3.png">
</div>
@ -281,7 +283,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'1000'|withRole">
<a ui-sref="listMenu({role:'Accountant'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Accountant'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_4.png">
</div>
@ -290,7 +292,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'100'|withRole">
<a ui-sref="listMenu({role:'BDUser'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'BDUser'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_5.png">
</div>
@ -299,7 +301,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'10000'|withRole">
<a ui-sref="listMenu({role:'Service'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Service'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_6.png">
</div>
@ -308,7 +310,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'1'|withRole">
<a ui-sref="listMenu({role:'Administrator'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Administrator'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_7.png">
</div>
@ -317,7 +319,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'10000000'|withRole">
<a ui-sref="listMenu({role:'SiteManager'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'SiteManager'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_8.png">
</div>
@ -326,7 +328,7 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'100000000'|withRole">
<a ui-sref="listMenu({role:'Developer'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Developer'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_9.png">
</div>
@ -335,21 +337,23 @@ margin-bottom: 10%;"/>
</div>
<div class="box-items" ng-if="'1000000'|withRole">
<a ui-sref="listMenu({role:'Director'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Director'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_10.png">
</div>
<p class="box-font">Director</p>
</a>
</div>
</div>
</div>
<div style="text-align: center">
<footer>
<strong>Copyright © 2015-2017 <a href="http://www.royalpay.com.au">RoyalPay</a>.</strong> All rights
reserved.
</footer>
</div>
</div>
</div>
</div>
<footer ng-if="copyright" class="main-footer" style="margin-left: 0px">
<div class="pull-right hidden-xs">
<b>Easy BusinessEasy Pay</b>
@ -357,6 +361,7 @@ margin-bottom: 10%;"/>
<strong>Copyright © 2015-2017 <a href="http://www.royalpay.com.au">RoyalPay</a>.</strong> All rights
reserved.
</footer>
</div>
</div>
</body>
</html>

@ -17,8 +17,14 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
}]);
app.controller('managerIndexCtrl', ['$scope', '$rootScope', '$http', '$log', '$timeout', '$interval', '$uibModal', '$filter', 'myLoginLogView', 'commonDialog',
function ($scope, $rootScope, $http, $log, $timeout, $interval, $uibModal, $filter, myLoginLogView, commonDialog) {
if (window.location.hash == "" || window.location.hash == "#/") {
$scope.headerDisplay = false;
$scope.copyright = false;
}else{
$scope.headerDisplay = true;
$scope.copyright = true;
}
$scope.headerShow = function () {
$scope.headerDisplay = true;

Loading…
Cancel
Save