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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -43330,6 +43806,7 @@
+
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
index 77892b4..32b96df 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -170,6 +170,9 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
$('#MainImage').remove();
}
$rootScope.currentActiveModuleTitle = Modules[0].Name;
+
+ alert('mod name: ' + Modules[0].Name)
+
$("#bodyViewList").empty();
//for default load
if ($event == null || $event == undefined) {
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/LinkController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/LinkController.js
index 3f29507..ebd111e 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/LinkController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/LinkController.js
@@ -1,47 +1,47 @@
-'use strict';
-
-AIA.controller("LinkController", ["$scope", "$rootScope","$log", "pages", "$routeParams",
-function ($scope, $rootScope, log, pages, $routeParams) {
-
- //$rootScope.currentActiveModuleTitle = Modules[10].Name;
- //$rootScope.currentActiveModuleTitle = $routeParams.modname;
- $scope.links = [
- new link("encyclopedia", "Encyclopedia", 'http://aia5.adam.com/content.aspx?productId=117', "100%", "750px"),
- new link("IP-10", "IP 10", "http://182.19.10.91:92/IPWeb10/index.aspx", "100%", "750px"),
- new link("indepth-reports", "InDepth Reports", "http://aia5.adam.com/content.aspx?productId=10", "100%", "4000px"),
- new link("complementary-and-alternate-medicine", "Complementary and Alternative Medicine", "http://182.19.10.91:92/CAMHome.aspx", "100%", "750px"),
- new link("bodyguide", "Body Guide", "http://aia5.adam.com/content.aspx?productId=25", "100%", "1050px"),
- new link("symptom-navigator", "Symptom Navigator", "http://aia5.adam.com/content.aspx?productId=44", "100%", "1000px"),
- new link("wellness-tools", "The Wellness Tools", "http://aia5.adam.com/content.aspx?productId=20", "100%", "1500px")
- ];
-
- $scope.$on('$viewContentLoaded', function (event) {
- // code that will be executed ...
- // every time this view is loaded
-
- for (var i = 0; i < $scope.links.length; i++) {
- if ($scope.links[i].modname == $routeParams.modname) {
- $rootScope.currentActiveModuleTitle = $scope.links[i].title;
- $scope.objdata = $scope.links[i].objurl;
- $scope.myObj = $scope.links[i].objstyle;
- }
- }
- });
-
- $scope.showme = false;
- $scope.IsVisible = function () {
- $scope.scroll();
-
- }
-
- $scope.scroll = function () {
- // $window.scrollTo(0, 0);
- $("html,body").scrollTop(0);
- //alert("scroll");
- }
-}]
-
-
-);
-
-
+'use strict';
+
+AIA.controller("LinkController", ["$scope", "$rootScope","$log", "pages", "$routeParams",
+function ($scope, $rootScope, log, pages, $routeParams) {
+
+ //$rootScope.currentActiveModuleTitle = Modules[10].Name;
+ //$rootScope.currentActiveModuleTitle = $routeParams.modname;
+ $scope.links = [
+ new link("encyclopedia", "Encyclopedia", 'http://aia5.adam.com/content.aspx?productId=117', "100%", "750px"),
+ new link("IP-10", "IP 10", "http://182.19.10.91:92/IPWeb10/index.aspx", "100%", "750px"),
+ new link("indepth-reports", "InDepth Reports", "http://aia5.adam.com/content.aspx?productId=10", "100%", "4000px"),
+ new link("complementary-and-alternate-medicine", "Complementary and Alternative Medicine", "http://182.19.10.91:92/CAMHome.aspx", "100%", "750px"),
+ new link("bodyguide", "Body Guide", "http://aia5.adam.com/content.aspx?productId=25", "100%", "1050px"),
+ new link("symptom-navigator", "Symptom Navigator", "http://aia5.adam.com/content.aspx?productId=44", "100%", "1000px"),
+ new link("wellness-tools", "The Wellness Tools", "http://aia5.adam.com/content.aspx?productId=20", "100%", "1500px")
+ ];
+
+ $scope.$on('$viewContentLoaded', function (event) {
+ // code that will be executed ...
+ // every time this view is loaded
+
+ for (var i = 0; i < $scope.links.length; i++) {
+ if ($scope.links[i].modname == $routeParams.modname) {
+ $rootScope.currentActiveModuleTitle = $scope.links[i].title;
+ $scope.objdata = $scope.links[i].objurl;
+ $scope.myObj = $scope.links[i].objstyle;
+ }
+ }
+ });
+
+ $scope.showme = false;
+ $scope.IsVisible = function () {
+ $scope.scroll();
+
+ }
+
+ $scope.scroll = function () {
+ // $window.scrollTo(0, 0);
+ $("html,body").scrollTop(0);
+ //alert("scroll");
+ }
+}]
+
+
+);
+
+
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TinyViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TinyViewListController.js
new file mode 100644
index 0000000..54e365c
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TinyViewListController.js
@@ -0,0 +1,76 @@
+'use strict';
+
+AIA.controller("TinyViewListController", ["$scope", "$rootScope", "$compile", "$http", "$log", "$location", "$timeout", "Modules", "$routeParams", "DataService",
+function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, Modules, $routeParam, DataService)
+{
+ var ATLAS_ANATOMY = 'Atlas Anatomy';
+ var CLINICAL_ILLUSTRATION ='Clinical Illustrations';
+ var CLINICAL_ANIMATION='Clinical Animations';
+
+ $scope.loadForModuleById = function (moduleId) {
+
+ var moduleName = Modules[moduleId].Name;
+
+ $scope.loadDataForModule(moduleName);
+ }
+
+ $scope.loadDataForModule = function(moduleName)
+ {
+ if(moduleName==ATLAS_ANATOMY)
+ {
+ var promise = DataService.getJson('~/../content/data/json/aa/aa_dat_contentlist.json')
+ promise.then(
+ function (result) {
+ $scope.AtlasAnatomyData = result;
+
+ $scope.data = new jinqJs()
+ .from($scope.AtlasAnatomyData.root.Item)
+ .orderBy([{ field: '_Title', sort: 'asc' }])
+ .select();
+
+ //console.log($scope.selectedCIListViewData);
+ //$('#grid-view').empty();
+ angular.forEach($scope.data, function (value, key) {
+ $scope.imagePath = "~/../content/images/aa/thumbnails/" + value._TinyImageName;
+
+ var $el = $('
'
+ + '
'
+ + '
![]()
'
+ + '
').appendTo('#grid-view');
+
+
+ $compile($el)($scope);
+
+ //$(".sidebar").mCustomScrollbar({
+ // autoHideScrollbar: true,
+ // //theme:"rounded"
+ //});
+
+
+ });
+
+ $scope.scroll();
+
+ },
+ function (error) {
+ // handle errors here
+ console.log(' $scope.IllustrationData = ' + error.statusText);
+ }
+ );
+ }
+ else if(moduleName==CLINICAL_ANIMATION)
+ {
+
+ }
+ else if(moduleName == CLINICAL_ILLUSTRATION)
+ {
+
+ }
+ }
+
+ $scope.scroll = function () {
+ $("html,body").scrollTop(0);
+ }
+
+
+}]);
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/main/AIA.js b/400-SOURCECODE/AIAHTML5.Web/app/main/AIA.js
index 425e466..4ba0b41 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/main/AIA.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/main/AIA.js
@@ -24,6 +24,13 @@ AIA.constant('pages', [
pageUrl: 'app/views/da/da-body-view.html',
pageController: 'DAController'
},
+ {
+ name: 'Tiny View List',
+ pageSlug: 'tiny-view-list',
+ pageUrl: 'app/views/tiny-view.html',
+ pageController: 'TinyViewListController'
+
+ },
{ // id:3,
name: 'Clinical Illustrations',
pageSlug: 'clinical-illustrations',
@@ -183,6 +190,7 @@ AIA.constant('DA', [
]);
+
AIA.constant('Modules', [
{
Id: 1,
@@ -256,6 +264,7 @@ AIA.constant('Modules', [
},
]);
+
AIA.constant('BodyViewws', [
{
Id: 1,
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/tiny-view.html b/400-SOURCECODE/AIAHTML5.Web/app/views/tiny-view.html
new file mode 100644
index 0000000..b180e7d
--- /dev/null
+++ b/400-SOURCECODE/AIAHTML5.Web/app/views/tiny-view.html
@@ -0,0 +1,165 @@
+
+
+
+
+
+
+
Display Image By
+
+
+
Body Region
+
+
+
+
+
+
Body System
+
+
+
+
+
+
View Orientation
+
+
+
+
+
+
Image Type
+
+
+
+
+
+
Medical Speciality
+
+
+
+
+
+
Search
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Title |
+ Region |
+ System |
+ View |
+ Type |
+ Specialty |
+
+
+
+
+
+ {{item._Title}}
+ |
+
+ {{item._BodyRegion}}
+ |
+
+ {{item._BodySystem}}
+ |
+
+ {{item._ViewOrientation}}
+ |
+
+ {{item._ImageType}}
+ |
+
+ {{item._MedicalSpecialty}}
+ |
+
+
+
+
+
+ {{item._Title}}
+ |
+
+ {{item._BodyRegion}}
+ |
+
+ {{item._BodySystem}}
+ |
+
+ {{item._ViewOrientation}}
+ |
+
+ {{item._ImageType}}
+ |
+
+ {{item._MedicalSpecialty}}
+ |
+
+
+ No illustration found for the selected search criteria! |
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html b/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html
index 5619133..119a6b5 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html
+++ b/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html
@@ -26,7 +26,7 @@