diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index 6f16da1..357a0eb 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -312,12 +312,14 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou var bodySystemListObj = document.getElementById("bodySystemList").getElementsByTagName("a"); var bodySystemListlength = bodySystemListObj.length; for (var i = 0; i < bodySystemListlength; i++) { + //var boldTag = lis[i]; for (var j = 0; j < $rootScope.bodySystemNames.length; j++) { if ((bodySystemListObj[i].innerHTML) == ($rootScope.bodySystemNames[j])) { - $("#" + i).parent().removeClass("disabled"); - + $("#" + i).parent().removeClass("disabledSelectedSystem"); + } + } } @@ -592,12 +594,22 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou $scope.showSelectedSystemPins = function (event) { + + var bodySystemListObj = document.getElementById("bodySystemList").getElementsByTagName("a"); + var bodySystemListlength = bodySystemListObj.length; + for (var i = 0; i < bodySystemListlength; i++) + { + + $("#" + i).parent().removeClass("activeAASystemSelect"); + } + $("#" + event.currentTarget.id).parent().addClass("activeAASystemSelect"); + $rootScope.isLoading = true; $('#spinner').css('visibility', 'visible'); $scope.removeSpeechBubble(); if (event.currentTarget.id == "0") { - + $scope.selectedSystemName = null; if ($scope.isHidePinBtnClicked) { @@ -609,7 +621,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou } } else { - + $scope.selectedSystemName = event.currentTarget.title; // get termText info var promise = ModuleService.getTermTextDataForPin($scope.moduleName) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/aa/atlas-anatomy-detail.html b/400-SOURCECODE/AIAHTML5.Web/app/views/aa/atlas-anatomy-detail.html index 6990188..e72eb68 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/aa/atlas-anatomy-detail.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/aa/atlas-anatomy-detail.html @@ -80,18 +80,18 @@
diff --git a/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css b/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css index 615c8da..51bfce0 100644 --- a/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css +++ b/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css @@ -1047,4 +1047,25 @@ background-size:cover; { background: #8C8C8C!important; border: 1px solid #a2a2a2; - } \ No newline at end of file + } + +.activeAASystemSelect{ + background-color:#0095DA; + color:#ffffff; +} + +.activeAASystemSelect a +{ +color:#ffffff !important; +} + +.disabledSelectedSystem a, .disabledSelectedSystem > a:hover, .dropdown-menu > .disabledSelectedSystem > a:focus + { + + text-decoration: none; + background-color: transparent !important; + background-image: none; + cursor: not-allowed; + color: #878787 !important; + pointer-events:none; +} \ No newline at end of file