Skip to content

Commit

Permalink
Blade Template
Browse files Browse the repository at this point in the history
  • Loading branch information
raylight75 committed Mar 3, 2016
1 parent 434b965 commit def535a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions public/js/productCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ myApp.controller('productCtrl', function ($scope, $http) {
$scope.latest = 6;
//console.log($scope.items);
//$scope.items = response.data;//for toArrayFilter
/*var pagesShown = 1;
var pagesShown = 1;
var pageSize = 3;
$scope.paginationLimit = function(data) {
return pageSize * pagesShown;
Expand All @@ -21,7 +21,7 @@ myApp.controller('productCtrl', function ($scope, $http) {
};
$scope.loadMore = function() {
pagesShown = pagesShown + 1;
};*/
};
});
}
);
15 changes: 8 additions & 7 deletions resources/views/frontend/livesearch.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
<h2><?= _('Featured products')?></h2>
<h3 >Type a letter:</h3>
<p><input type="text" class="form-control" ng-model="products"></p>

<!-- BANNER -->
<div class="col-lg-3 col-md-3 col-xs-6 col-ss-12">
<a class="banner type3 margbot40" href="javascript:void(0);">
<img src="{{ url('images/tovar') }}/banner3.jpg" alt=""/></a>
</div>
<!-- //BANNER -->

{{-- PAGINATION <div dir-paginate="row in items | filter:products | orderBy:orderProp | limitTo:latest | itemsPerPage:3"--}}
<div ng-repeat="row in items | filter:products | orderBy:orderProp | limitTo:latest"
{{-- | toArray : false --}}
Expand Down Expand Up @@ -58,13 +66,6 @@ class="col-lg-3 col-md-3 col-sm-4 col-xs-6 col-ss-12 padbot40">

<div class="respond_clear_768"></div>

<!-- BANNER -->
<div class="col-lg-3 col-md-3 col-xs-6 col-ss-12">
<a class="banner type3 margbot40" href="javascript:void(0);">
<img src="{{ url('images/tovar') }}/banner3.jpg" alt=""/></a>
</div>
<!-- //BANNER -->

<!-- BANNER -->
<div class="col-lg-3 col-md-3 col-xs-6 col-ss-12">
<a class="banner type1 margbot30" href="javascript:void(0);">
Expand Down

0 comments on commit def535a

Please sign in to comment.