From ef51a5f71f0c951a6540af01cf9a030252794d57 Mon Sep 17 00:00:00 2001 From: amrita.vishnoi Date: Fri, 12 Aug 2016 13:51:11 +0530 Subject: [PATCH] Refs: #6614 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 188 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html | 26 +++++++++++++------------- 2 files changed, 201 insertions(+), 13 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index a6d2dd5..b384d2b 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -5404,6 +5404,194 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo // $timeout(function () { $scope.HighlightBodyByTermList(systemMatchedTermList) }, 100); //} + + var viewtarget_highlightbody = angular.element(event.currentTarget); + var title_highlightbody = viewtarget_highlightbody.attr('title'); + + if (title_highlightbody == "Cardiovascular") { + $scope.CurrentStructure = ""; + $scope.Cardiovascular = "active"; + $scope.Digestive = ""; + $scope.Endocrine = ""; + $scope.Immune = ""; + $scope.Integumentary = ""; + $scope.Lymphatic = ""; + $scope.Muscular = ""; + $scope.Nervous = ""; + $scope.Reproductive = ""; + $scope.Respiratory = ""; + $scope.Skeletal = ""; + $scope.Urinary = ""; + } + + if (title_highlightbody == "Digestive") { + $scope.CurrentStructure = ""; + $scope.Cardiovascular = ""; + $scope.Digestive = "active"; + $scope.Endocrine = ""; + $scope.Immune = ""; + $scope.Integumentary = ""; + $scope.Lymphatic = ""; + $scope.Muscular = ""; + $scope.Nervous = ""; + $scope.Reproductive = ""; + $scope.Respiratory = ""; + $scope.Skeletal = ""; + $scope.Urinary = ""; + } + + if (title_highlightbody == "Endocrine") { + $scope.CurrentStructure = ""; + $scope.Cardiovascular = ""; + $scope.Digestive = ""; + $scope.Endocrine = "active"; + $scope.Immune = ""; + $scope.Integumentary = ""; + $scope.Lymphatic = ""; + $scope.Muscular = ""; + $scope.Nervous = ""; + $scope.Reproductive = ""; + $scope.Respiratory = ""; + $scope.Skeletal = ""; + $scope.Urinary = ""; + } + if (title_highlightbody == "Immune") { + + $scope.CurrentStructure = ""; + $scope.Cardiovascular = ""; + $scope.Digestive = ""; + $scope.Endocrine = ""; + $scope.Immune = "active"; + $scope.Integumentary = ""; + $scope.Lymphatic = ""; + $scope.Muscular = ""; + $scope.Nervous = ""; + $scope.Reproductive = ""; + $scope.Respiratory = ""; + $scope.Skeletal = ""; + $scope.Urinary = ""; + } + if (title_highlightbody == "Integumentary") { + $scope.CurrentStructure = ""; + $scope.Cardiovascular = ""; + $scope.Digestive = ""; + $scope.Endocrine = ""; + $scope.Immune = ""; + $scope.Integumentary = "active"; + $scope.Lymphatic = ""; + $scope.Muscular = ""; + $scope.Nervous = ""; + $scope.Reproductive = ""; + $scope.Respiratory = ""; + $scope.Skeletal = ""; + $scope.Urinary = ""; + } + if (title_highlightbody == "Lymphatic") { + $scope.CurrentStructure = ""; + $scope.Cardiovascular = ""; + $scope.Digestive = ""; + $scope.Endocrine = ""; + $scope.Immune = ""; + $scope.Integumentary = ""; + $scope.Lymphatic = "active"; + $scope.Muscular = ""; + $scope.Nervous = ""; + $scope.Reproductive = ""; + $scope.Respiratory = ""; + $scope.Skeletal = ""; + $scope.Urinary = ""; + } + if (title_highlightbody == "Muscular") { + $scope.CurrentStructure = ""; + $scope.Cardiovascular = ""; + $scope.Digestive = ""; + $scope.Endocrine = ""; + $scope.Immune = ""; + $scope.Integumentary = ""; + $scope.Lymphatic = ""; + $scope.Muscular = "active"; + $scope.Nervous = ""; + $scope.Reproductive = ""; + $scope.Respiratory = ""; + $scope.Skeletal = ""; + $scope.Urinary = ""; + } + if (title_highlightbody == "Nervous") { + $scope.CurrentStructure = ""; + $scope.Cardiovascular = ""; + $scope.Digestive = ""; + $scope.Endocrine = ""; + $scope.Immune = ""; + $scope.Integumentary = ""; + $scope.Lymphatic = ""; + $scope.Muscular = ""; + $scope.Nervous = "active"; + $scope.Reproductive = ""; + $scope.Respiratory = ""; + $scope.Skeletal = ""; + $scope.Urinary = ""; + } + if (title_highlightbody == "Reproductive") { + $scope.CurrentStructure = ""; + $scope.Cardiovascular = ""; + $scope.Digestive = ""; + $scope.Endocrine = ""; + $scope.Immune = ""; + $scope.Integumentary = ""; + $scope.Lymphatic = ""; + $scope.Muscular = ""; + $scope.Nervous = ""; + $scope.Reproductive = "active"; + $scope.Respiratory = ""; + $scope.Skeletal = ""; + $scope.Urinary = ""; + } + if (title_highlightbody == "Respiratory") { + $scope.CurrentStructure = ""; + $scope.Cardiovascular = ""; + $scope.Digestive = ""; + $scope.Endocrine = ""; + $scope.Immune = ""; + $scope.Integumentary = ""; + $scope.Lymphatic = ""; + $scope.Muscular = ""; + $scope.Nervous = ""; + $scope.Reproductive = ""; + $scope.Respiratory = "active"; + $scope.Skeletal = ""; + $scope.Urinary = ""; + } + if (title_highlightbody == "Skeletal") { + $scope.CurrentStructure = ""; + $scope.Cardiovascular = ""; + $scope.Digestive = ""; + $scope.Endocrine = ""; + $scope.Immune = ""; + $scope.Integumentary = ""; + $scope.Lymphatic = ""; + $scope.Muscular = ""; + $scope.Nervous = ""; + $scope.Reproductive = ""; + $scope.Respiratory = ""; + $scope.Skeletal = "active"; + $scope.Urinary = ""; + } + if (title_highlightbody == "Urinary") { + $scope.CurrentStructure = ""; + $scope.Cardiovascular = ""; + $scope.Digestive = ""; + $scope.Endocrine = ""; + $scope.Immune = ""; + $scope.Integumentary = ""; + $scope.Lymphatic = ""; + $scope.Muscular = ""; + $scope.Nervous = ""; + $scope.Reproductive = ""; + $scope.Respiratory = ""; + $scope.Skeletal = ""; + $scope.Urinary = "active"; + } + } $scope.ShowSearch = function () { diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html b/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html index d01699c..a5a648c 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html @@ -125,20 +125,20 @@
Highlight Options
-- libgit2 0.21.4