Ui fixes from admin panel
This commit is contained in:
parent
21b81a3784
commit
e717e96a1e
|
|
@ -136,11 +136,11 @@ function onStart(){
|
|||
|
||||
<div class="post_slider">
|
||||
{% for shop in others %}
|
||||
<a href="{{ url('/') }}/shop/{{shop.id}}" class="rest_item wow fadeInRight" data-wow-duration=".3s"
|
||||
<div class="rest_item wow fadeInRight" data-wow-duration=".3s"
|
||||
data-wow-delay=".1s">
|
||||
<div class="rest_item-photo">
|
||||
<a href="{{ url('/') }}/shop/{{shop.id}}" class="rest_item-photo">
|
||||
<img src="{{shop.badge.path}}" alt="restaurant-photo" />
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<div class="rest_item-info">
|
||||
<h5 class="rest_item-title">{{shop.name}}</h5>
|
||||
|
|
@ -169,7 +169,7 @@ function onStart(){
|
|||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
==
|
||||
<!-- Shops ============================ -->
|
||||
<section class="shops">
|
||||
<div class="auto_container">
|
||||
<div class="shops_wrap">
|
||||
|
|
@ -19,7 +20,7 @@
|
|||
|
||||
<div class="shops_block tabItem active" id="all">
|
||||
{% for sale in sales_all %}
|
||||
<a href="{{ url('/') }}/sale/{{sale.id}}" class="shops_item">
|
||||
<a href="{{ url('/') }}/sale/{{sale.id}}" class="shops_item wow fadeInUp" data-wow-duration=".3s" data-wow-delay=".1s">
|
||||
<div class="shops_item-photo">
|
||||
<img src="{{sale.images.first.path}}" alt="shop-photo">
|
||||
</div>
|
||||
|
|
@ -76,7 +77,7 @@
|
|||
НОВОСТИ
|
||||
</h6>
|
||||
|
||||
{% if sale.shop%}
|
||||
{% if sale.shop%}
|
||||
<div class="shops_item-info">
|
||||
<h5 class="shops_item-name">
|
||||
{{ sale.shop.name}}
|
||||
|
|
@ -92,7 +93,7 @@
|
|||
{% endif %}
|
||||
|
||||
<div class="shops_item-content">
|
||||
{% if sale.start_date and sale.end_date%}
|
||||
{% if sale.start_date and sale.end_date%}
|
||||
<p>
|
||||
<span>
|
||||
<img src="{{ 'assets/images/svg/clock.svg'|theme }}" alt="clock-icon">
|
||||
|
|
@ -120,7 +121,7 @@
|
|||
СКИДКИ
|
||||
</h6>
|
||||
|
||||
{% if sale.shop%}
|
||||
{% if sale.shop%}
|
||||
<div class="shops_item-info">
|
||||
<h5 class="shops_item-name">
|
||||
{{ sale.shop.name}}
|
||||
|
|
@ -196,7 +197,7 @@
|
|||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<!-- Shops end ========================= -->
|
||||
|
|
@ -1,30 +1,35 @@
|
|||
==
|
||||
<!-- Restaurant ========================= -->
|
||||
<section class="rest">
|
||||
<div class="auto_container">
|
||||
<div class="rest_wrap">
|
||||
<div class="rest_tabs">
|
||||
<h4 class="rest_tabs-link active tabBtn" data-tab="#rest-all">
|
||||
<h4 class="rest_tabs-link active tabLink" data-tab="#rest-all">
|
||||
ВСЕ
|
||||
</h4>
|
||||
{% for category in shop_categories %}
|
||||
<h4 class="rest_tabs-link tabBtn"
|
||||
data-tab="#cat-{{category.id}}">
|
||||
{{category.name}}
|
||||
</h4>
|
||||
<h4 class="rest_tabs-link tabLink"
|
||||
data-tab="#category-{{category.id}}">
|
||||
{{category.name}}
|
||||
</h4>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div class="rest_block tabItem active" id="rest-all">
|
||||
<div class="rest_block tabInfo active" id="rest-all">
|
||||
{% for shop in shop_all%}
|
||||
{% partial 'home/shop_item' shop=shop %}
|
||||
{% endfor%}
|
||||
</div>
|
||||
|
||||
{% for category in shop_categories %}
|
||||
<div class="rest_block tabItem" id="cat-{{category.id}}">
|
||||
<div class="rest_block tabInfo" id="category-{{category.id}}">
|
||||
{% for shop in category.getShops() %}
|
||||
{% partial 'home/shop_item' shop=shop %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Restaurant end ===================== -->
|
||||
Loading…
Reference in New Issue