Add search result page
This commit is contained in:
parent
aa083e741e
commit
3ae3d5d6d0
|
|
@ -31,22 +31,45 @@ function onStart(){
|
|||
<h4 class="crumb_title">
|
||||
Результат поиска
|
||||
</h4>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="rest page">
|
||||
<section class="result page">
|
||||
<div class="auto_container">
|
||||
<div class="rest_wrap">
|
||||
<div class="result_wrap">
|
||||
<form action="{{ 'search'|page }}" method="GET" class="menu_search">
|
||||
<h1 class="menu_search-title">
|
||||
Результат поиска
|
||||
</h1>
|
||||
|
||||
{% if shops|length == 0 %}
|
||||
<h1 class="menu_search-title">
|
||||
Ничего не найдено
|
||||
</h1>
|
||||
|
||||
<p class="menu_search-txt">
|
||||
К сожалению, по вашему запросу ничего не найдено. Попробуйте воспользоваться поиском еще раз
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<div class="menu_search-input">
|
||||
<input type="text" name="q" placeholder="Что будем искать?">
|
||||
</div>
|
||||
|
||||
<button class="menu_search-btn" type="submit">
|
||||
НАЙТИ
|
||||
</button>
|
||||
|
||||
|
||||
</form>
|
||||
<div class="rest_box">
|
||||
<div class="rest_block tabItem active" id="rest-all">
|
||||
{% for shop in shops%}
|
||||
{% partial 'home/shop_item' shop=shop %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% for shop in shops%}
|
||||
{% partial 'home/shop_item' shop=shop %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -54,12 +54,9 @@ function onStart(){
|
|||
<li>
|
||||
{% if user %}
|
||||
<a href="{{ 'profile'|page}}">
|
||||
|
||||
|
||||
Профиль
|
||||
</a>
|
||||
<!-- <a href="#" data-request="onLogout" data-request-data="redirect: '/'"
|
||||
class="mobile_profile-link" >Выйти</a> -->
|
||||
|
||||
{% else %}
|
||||
<a href="#" class="modBtn" data-tab="#login">
|
||||
<span>
|
||||
|
|
@ -111,7 +108,7 @@ function onStart(){
|
|||
НАЙТИ
|
||||
</button>
|
||||
</form>
|
||||
|
||||
|
||||
<div class="menu_box">
|
||||
{% for item in category_settings %}
|
||||
<div class="menu_col">
|
||||
|
|
@ -127,7 +124,7 @@ function onStart(){
|
|||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
@ -239,4 +236,4 @@ function onStart(){
|
|||
</div>
|
||||
|
||||
</section>
|
||||
<!-- Menu end ========================= -->
|
||||
<!-- Menu end ========================= -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue