diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CIController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CIController.js
index 193be77..b8d6bff 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CIController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CIController.js
@@ -158,7 +158,8 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout
};
$scope.loadAllCI = function () {
-
+ $('#ciSpinner').css('visibility', 'visible');
+ $('#ciSpinner').css('zIndex', '20000');
var promise = DataService.getJson('~/../content/data/json/ci/ci_dat_contentlist.json')
promise.then(
function (result) {
@@ -170,32 +171,41 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout
.select();
// console.log($scope.selectedCIListViewData);
- $('#grid-view').empty();
- angular.forEach($scope.selectedCIListViewData, function (value, key) {
- $scope.imagePath = "~/../content/images/ci/thumbnails/" + value._ThumbnailImage;
+
- var $el = $('
'
+
+ $('#grid-view').empty();
+ var $e1 = $('
'
+ '
'
- + '
![]()
'
- + '
').appendTo('#grid-view');
+ + '
'//alt="{{value._Title}}" >'
+ + '
').appendTo('#grid-view');
+ $compile($e1)($scope);
+ //angular.forEach($scope.selectedCIListViewData, function (value, key) {
+ // $scope.imagePath = "~/../content/images/ci/thumbnails/" + value._ThumbnailImage;
+ // var $el = $(''
+ // + '
'
+ // + '
![]()
'
+ // + '
').appendTo('#grid-view');
- $compile($el)($scope);
- $(".sidebar").mCustomScrollbar({
- autoHideScrollbar: true,
- //theme:"rounded"
- });
+ // $compile($el)($scope);
- });
+ // $(".sidebar").mCustomScrollbar({
+ // autoHideScrollbar: true,
+ // //theme:"rounded"
+ // });
+ //});
+
+ $timeout(function () { $('#ciSpinner').css('visibility', 'hidden'); }, 300);
},
function (error) {
// handle errors here
console.log(' $scope.IllustrationData = ' + error.statusText);
}
);
-
+
}
$scope.IsVisible = function () {
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/ci/ci-view.html b/400-SOURCECODE/AIAHTML5.Web/app/views/ci/ci-view.html
index fb50db5..86c3b6a 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/views/ci/ci-view.html
+++ b/400-SOURCECODE/AIAHTML5.Web/app/views/ci/ci-view.html
@@ -180,6 +180,9 @@
+
+

+