Commit d5b85e0c249439764be01ebcecf38d0d99920baa

Authored by Amrita Vishnoi
1 parent b8cbcf15

All images are of different size so created a class to make all of them in same size.

400-SOURCECODE/AIAHTML5.Web/app/controllers/TinyViewListController.js
... ... @@ -33,9 +33,9 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, Module
33 33 angular.forEach($scope.data, function (value, key) {
34 34 $scope.imagePath = "~/../content/images/aa/thumbnails/" + value._TinyImageName;
35 35  
36   - var $el = $('<div id="' + value._Id + '" class="col-sm-3 col-md-2" title = "' + value._Title + '" data-ng-click="openView($event)">'
  36 + var $el = $('<div id="' + value._Id + '" class="col-sm-3 col-md-3" title = "' + value._Title + '" data-ng-click="openView($event)">'
37 37 + '<div class="thumbnail" >'
38   - + '<img id="' + value._Title + '"ng-src="' + $scope.imagePath + '" alt="" title="" >'
  38 + + '<img class="abc" id="' + value._Title + '"ng-src="' + $scope.imagePath + '" alt="" title="" >'
39 39 + '<div class="caption"><p>' + value._Title + '</p></div></a></div></div>').appendTo('#grid-view');
40 40  
41 41  
... ...
400-SOURCECODE/AIAHTML5.Web/content/css/main.css
... ... @@ -698,3 +698,7 @@ textarea {
698 698 .ciView {
699 699 }
700 700  
  701 +.parent {
  702 + width: 100px;
  703 +}
  704 +
... ...
400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css
... ... @@ -863,4 +863,16 @@ cursor:pointer;
863 863 .annotationtoolbartab
864 864 {
865 865 background:#626c34 !important;
  866 +}
  867 +.tinyImg {
  868 + width: 173px;
  869 + height: 216px !important;
  870 +}
  871 +
  872 +.abc {
  873 + display: block;
  874 + max-width:230px;
  875 + max-height:95px;
  876 + width: auto;
  877 + height: auto;
866 878 }
867 879 \ No newline at end of file
... ...