Commit 24bbf68fad2881ca2339f604504858e55370ab4c

Authored by Amit Kumar
1 parent 33a30137

test

400-SOURCECODE/AIAHTML5.Web/Web.config
... ... @@ -40,7 +40,7 @@
40 40 <!--<clientCache cacheControlMode="DisableCache" />-->
41 41 <remove fileExtension=".woff" />
42 42 <mimeMap fileExtension=".woff" mimeType="application/font-woff" />
43   - <mimeMap fileExtension=".json" mimeType="application/json" />
  43 + <!--<mimeMap fileExtension=".json" mimeType="application/json" />-->
44 44 <mimeMap fileExtension=".mp3" mimeType="audio/mpeg" />
45 45 <mimeMap fileExtension=".vtt" mimeType="text/vtt"/>
46 46 <!--<mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />-->
... ...
400-SOURCECODE/AIAHTML5.Web/app/controllers/LabExercController.js
... ... @@ -81,7 +81,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location
81 81 $scope.LabExerciseModules = null;
82 82 $scope.LabExerciseBoxes = null;
83 83 //alert($scope.LabExerciseName)
84   - var labExerciseModulePath = '~/../content/data/json/le/' + $scope.LabExerciseName + '.json';
  84 + var labExerciseModulePath = 'content/data/json/le/' + $scope.LabExerciseName + '.json';
85 85  
86 86 DataService.getAnotherJson(labExerciseModulePath).then(
87 87 function (result) {
... ... @@ -107,6 +107,7 @@ function ($scope, $rootScope, pages, log, $http, DataService, $filter, $location
107 107 $scope.Title = result.LabExercise[index].Questions[index1].Title;
108 108 }
109 109 else {
  110 + alert(result.LabExercise[index].Questions[index1].ImagePath);
110 111 $("#imgblock").css("display", "block");
111 112 $scope.IsVisible = true;
112 113 $("#textblock").css("display", "none");
... ...
400-SOURCECODE/AIAHTML5.Web/app/views/LabExerc/lab-exercises-detail.html
... ... @@ -40,7 +40,7 @@
40 40 <div class="col-sm-9">
41 41 <div style="position: relative; margin-left: 85px;" id="imgdiv">
42 42 <div id="imgblock">
43   - <img id="droppable" ng-src="content/images/LE/{{Imagepath}}" alt="" ng-click="onClick()" imageonload />
  43 + <img id="droppable" ng-src="content/images/le/{{Imagepath}}" alt="" ng-click="onClick()" imageonload />
44 44 </div>
45 45  
46 46 <div ng-show="IsVisible" ng-repeat="optionbox in LabExerciseModules.OptionBox" droppable="true" class="droppable ui-droppable options" id="blockbox-{{optionbox.BoxName}}" ng-style="{'top':{{optionbox.topcoord}}, 'left':{{optionbox.leftcoord}},'position': 'absolute', 'width': '155px', 'height':'30px', 'border':'0px solid #333', 'background': '#E8E8E8' }">{{optionbox.Answervalue}}</div>
... ...
400-SOURCECODE/AIAHTML5.Web/index.html
... ... @@ -2,8 +2,8 @@
2 2 <html lang="en" ng-cloak ng-app="AIA">
3 3 <head>
4 4 <!--<base href="/AIAHTML5/" />-->
5   - <base href="/AIA/" />
6   - <!--<base href="/" />-->
  5 + <!--<base href="/AIA/" />-->
  6 + <base href="/" />
7 7 <meta charset="utf-8">
8 8 <meta http-equiv="X-UA-Compatible" content="IE=edge">
9 9 <!--<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">-->
... ...