Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
publish: Merge pull request #24 from umpirsky/fix/popup-on-mobile
generated from commit 3d044ad
- Loading branch information
Showing
3 changed files
with
3 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1 @@ | ||
<div class="section-heading"> <h1>{{ restaurant.name }}</h1> <div class="divider"></div> <img ng-src="{{ restaurant.logo }}" class="img-centered restaurant-logo" alt="{{ restaurant.name }}"> </div> <div class="row"> <div class="col-md-3 col-sm-3 col-xs-6"> <div class="media"> <a class="pull-left" href="tel:{{ restaurant.phone }}"> <i class="fa fa-phone fa-2x"></i> </a> <div class="media-body"> <h4 class="media-heading">{{ restaurant.phone }}</h4> </div> </div> </div> <div class="col-md-3 col-sm-3 col-xs-6" ng-class="restaurant.delivery ? '' : 'opacity-75'"> <div class="media"> <a ng-if="restaurant.delivery !== undefined" class="pull-left"> <i ng-if="restaurant.delivery" class="fa fa-check fa-2x"></i> <i ng-if="!restaurant.delivery" class="fa fa-close fa-2x"></i> </a> <div class="media-body"> <h4 class="media-heading">Dostava</h4> </div> </div> </div> <div class="col-md-3 col-sm-3 col-xs-6"> <div class="media"> <a class="pull-left" target="_blank" rel="external" href="http://maps.google.com/?q={{ restaurant.address }}, Srbija"> <i class="fa fa-map-marker fa-2x"></i> </a> <div class="media-body"> <h4 class="media-heading">{{ restaurant.address }}</h4> </div> </div> </div> <div class="col-md-3 col-sm-3 col-xs-6"> <div class="media"> <a class="pull-left" target="_blank" rel="external" href="{{ restaurant.url}}"> <i class="fa fa-{{ restaurant.url | urlIcon }} fa-2x"></i> </a> <div class="media-body"> <h4 class="media-heading">{{ restaurant.url | urlText }}</h4> </div> </div> </div> </div> <slick init-onload="true" data="restaurant.images" slides-to-show="4" slides-to-scroll="1" class="slider filtering" responsive="[{ | ||
breakpoint: 1024, | ||
settings: { | ||
slidesToShow: 3, | ||
slidesToScroll: 1 | ||
} | ||
}, { | ||
breakpoint: 600, | ||
settings: { | ||
slidesToShow: 2, | ||
slidesToScroll: 1 | ||
} | ||
}, { | ||
breakpoint: 480, | ||
settings: { | ||
slidesToShow: 1, | ||
slidesToScroll: 1 | ||
} | ||
}]"> <div ng-repeat="image in restaurant.images"> <a href="javascript:;" ng-click="zoom($index)"> <img ng-src="{{ image | thumbnail:200 }}" class="img-responsive" alt="{{ restaurant.name }}"> </a> </div> </slick> | ||
<div class="section-heading"> <h1>{{ restaurant.name }}</h1> <div class="divider"></div> <img ng-src="{{ restaurant.logo }}" class="img-centered restaurant-logo" alt="{{ restaurant.name }}"> </div> <div class="row"> <div class="col-md-3 col-sm-3 col-xs-6"> <div class="media"> <a class="pull-left" href="tel:{{ restaurant.phone }}"> <i class="fa fa-phone fa-2x"></i> </a> <div class="media-body"> <h4 class="media-heading">{{ restaurant.phone }}</h4> </div> </div> </div> <div class="col-md-3 col-sm-3 col-xs-6" ng-class="restaurant.delivery ? '' : 'opacity-75'"> <div class="media"> <a ng-if="restaurant.delivery !== undefined" class="pull-left"> <i ng-if="restaurant.delivery" class="fa fa-check fa-2x"></i> <i ng-if="!restaurant.delivery" class="fa fa-close fa-2x"></i> </a> <div class="media-body"> <h4 class="media-heading">Dostava</h4> </div> </div> </div> <div class="col-md-3 col-sm-3 col-xs-6"> <div class="media"> <a class="pull-left" target="_blank" rel="external" href="http://maps.google.com/?q={{ restaurant.address }}, Srbija"> <i class="fa fa-map-marker fa-2x"></i> </a> <div class="media-body"> <h4 class="media-heading">{{ restaurant.address }}</h4> </div> </div> </div> <div class="col-md-3 col-sm-3 col-xs-6"> <div class="media"> <a class="pull-left" target="_blank" rel="external" href="{{ restaurant.url}}"> <i class="fa fa-{{ restaurant.url | urlIcon }} fa-2x"></i> </a> <div class="media-body"> <h4 class="media-heading">{{ restaurant.url | urlText }}</h4> </div> </div> </div> </div> <slick init-onload="true" data="restaurant.images" slides-to-show="4" slides-to-scroll="1" class="slider filtering" responsive="breakpoints"> <div ng-repeat="image in restaurant.images"> <a data-index="{{ $index }}" href="javascript:;"> <img ng-src="{{ image | thumbnail:200 }}" class="img-responsive" alt="{{ restaurant.name }}"> </a> </div> </slick> |