gurl_o/themes/gurlushyk/partials/header.htm

257 lines
12 KiB
HTML
Raw Normal View History

2023-07-23 05:57:06 +00:00
[viewBag]
2023-10-03 12:00:10 +00:00
[builderList]
modelClass = "TPS\Birzha\Models\Category"
scope = "scopeActiveAndParentFirstFour"
scopeValue = "{{ :scope }}"
displayColumn = "name"
noRecordsMessage = "No records found"
detailsPage = "-"
detailsUrlParameter = "id"
pageNumber = "{{ :page }}"
[session]
security = "all"
[builderList builderList2]
modelClass = "TPS\Birzha\Models\Category"
scope = "scopeActiveAndParentLastFour"
scopeValue = "{{ :scope }}"
displayColumn = "name"
noRecordsMessage = "No records found"
detailsPage = "-"
detailsUrlParameter = "id"
pageNumber = "{{ :page }}"
[builderList builderList3]
modelClass = "TPS\Birzha\Models\Category"
scope = "scopeActiveAndParent"
scopeValue = "{{ :scope }}"
displayColumn = "name"
noRecordsMessage = "No records found"
detailsPage = "-"
detailsUrlParameter = "id"
pageNumber = "{{ :page }}"
2023-07-23 05:57:06 +00:00
==
2023-10-03 12:00:10 +00:00
{% set firstFourCategories = builderList.records %}
{% set lastFourCategories = builderList2.records %}
{% set categories = builderList3.records %}
2023-10-12 20:59:00 +00:00
<header class="header_area" style="border-top: 10px solid #f37b1c;">
<!-- Top Header Area -->
<div class="container">
<ul class="top_header">
{% if user %}
<li>
2023-10-25 16:09:40 +00:00
<a href="{{ 'addProduct'|page }}">{{ 'header.HarytGosmak'|_ }}</a>
2023-10-12 20:59:00 +00:00
</li>
<li>
<a class="customA" data-request="onLogout" data-request-data="redirect: '/'" role="button">
2023-10-25 16:09:40 +00:00
{{ 'header.Cykmak'|_ }}
2023-10-12 20:59:00 +00:00
</a>
</li>
{% endif %}
{% if not user %}
2023-10-15 20:26:14 +00:00
<li>
<a href="{{ 'login'|page }}">
2023-10-25 16:09:40 +00:00
{{ 'header.HarytGosmak'|_ }}
2023-10-15 20:26:14 +00:00
</a>
</li>
2023-10-12 20:59:00 +00:00
<li>
<a href="{{ 'login'|page }}">
2023-10-25 16:09:40 +00:00
{{ 'header.IceriGirmek'|_ }}
2023-10-12 20:59:00 +00:00
</a>
</li>
{% endif %}
<div class="language-dropdown">
<div class="dropdown">
<a class="btn btn-sm dropdown-toggle" style="color: #999; padding: 0; text-transform: capitalize;" href="#" role="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{activeLocaleName}}
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu1">
2023-10-25 16:09:40 +00:00
2023-10-12 20:59:00 +00:00
{% for code, name in locales %}
{% if code != activeLocale %}
2023-10-25 16:09:40 +00:00
<a class="dropdown-item" href="#" data-request="onSwitchLocale" data-request-data="locale: '{{code}}'">
2023-10-12 20:59:00 +00:00
{{name }}
</a>
2023-10-03 12:00:10 +00:00
{% endif %}
2023-10-12 20:59:00 +00:00
{% endfor %}
</div>
</div>
</div>
2023-07-23 05:57:06 +00:00
2023-10-12 20:59:00 +00:00
</ul>
2023-07-23 05:57:06 +00:00
2023-10-12 20:59:00 +00:00
</div>
2023-07-23 05:57:06 +00:00
2023-10-12 20:59:00 +00:00
<!-- Main Menu -->
<div class="bigshop-main-menu" style="border-bottom: 1px solid #d5d5d5;">
<div class="container">
<div class="bigshop_box">
<!-- Nav Brand -->
<a href="{{ 'index'|page }}" class="nav-brand"><img src="{{ 'assets/img/logo/gurlushyk-logo2.png'|theme }}" alt="logo"></a>
<!-- Search -->
<div class="header_box-search-input">
<form action="{{ 'search'|page }}" method="GET">
2023-10-25 16:09:40 +00:00
<input class="searchGurl" type="search" name="name" placeholder="{{ 'header.Gozleg'|_ }}">
2023-10-12 20:59:00 +00:00
<button type="button">
<svg fill="#f27a1a" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M21.71,20.29,18,16.61A9,9,0,1,0,16.61,18l3.68,3.68a1,1,0,0,0,1.42,0A1,1,0,0,0,21.71,20.29ZM11,18a7,7,0,1,1,7-7A7,7,0,0,1,11,18Z"></path>
</svg>
</button>
2023-10-25 16:09:40 +00:00
<input type="submit" class="d-none" value="{{ 'header.Gozleg'|_ }}">
2023-10-12 20:59:00 +00:00
</form>
</div>
<!-- Hero Meta -->
<div class="hero_meta_area">
<!-- Wishlist -->
<div class="wishlist-area">
<a href="{{ 'wishlist'|page }}" class="wishlist-btn"><i class="icofont-heart"></i></a>
</div>
<!-- Cart -->
<!-- Cart -->
<div class="cart-area">
<a href="{{ 'checkout'|page }}">
<div class="cart--btn"><i class="icofont-cart"></i>
<span class="cart_quantity" id="cardQuantity">0</span>
2023-10-03 12:00:10 +00:00
</div>
2023-10-12 20:59:00 +00:00
</a>
</div>
2023-07-23 05:57:06 +00:00
2023-10-12 20:59:00 +00:00
<!-- Account -->
<div class="account-area">
<div class="user-thumbnail">
2023-10-15 20:26:14 +00:00
{% if user %}
<i class="icofont-user" aria-hidden="true"></i>
{% else %}
<a href="{{ 'login'|page }}"><i class="icofont-user" aria-hidden="true"></i></a>
{% endif %}
2023-07-23 05:57:06 +00:00
</div>
2023-10-12 20:59:00 +00:00
{% if user %}
<ul class="user-meta-dropdown">
2023-10-25 16:09:40 +00:00
<li class="user-title"><span>{{ 'profileDropdown.Salam'|_ }},</span> {{ user.name }}</li>
<li><a href="{{ 'my-offers'|page }}">{{ 'profileDropdown.Harytlarym'|_ }}</a></li>
<li><a href="{{ 'chat'|page }}">{{ 'profileDropdown.Hatlarym'|_ }}
2023-10-22 13:08:31 +00:00
{% if user.getUnreadMessagesCount() > 0 %}
<span class="badge badge-pill badge-primary" style="font-size: 10px;background: #f37b1c;">{{ user.getUnreadMessagesCount() }}</span></a></li>
{% endif %}
2023-10-25 16:09:40 +00:00
<li><a href="{{ 'my-orders'|page }}">{{ 'profileDropdown.Zakazlarym'|_ }}</a></li>
<li><a href="{{ 'vendor-settings'|page }}">{{ 'profileDropdown.DukanSazlamalary'|_ }}</a></li>
<li><a href="{{ 'my-comments'|page }}">{{ 'profileDropdown.Kammentarialar'|_ }}</a></li>
<li><a href="{{ 'vendor-sales'|page }}">{{ 'profileDropdown.GelenSargytlar'|_ }}</a></li>
2023-10-12 20:59:00 +00:00
</ul>
{% endif %}
2023-07-23 05:57:06 +00:00
</div>
</div>
2023-10-12 20:59:00 +00:00
2023-10-03 12:00:10 +00:00
</div>
2023-07-23 05:57:06 +00:00
2023-10-12 20:59:00 +00:00
<div class="classy-nav-container breakpoint-off">
<nav class="classy-navbar" id="bigshopNav">
2023-07-23 05:57:06 +00:00
2023-10-12 20:59:00 +00:00
<!-- Toggler -->
<div class="classy-navbar-toggler">
<span class="navbarToggler"><span></span><span></span><span></span></span>
</div>
2023-07-23 05:57:06 +00:00
2023-10-12 20:59:00 +00:00
<!-- Menu -->
<div class="classy-menu">
<!-- Close -->
<div class="classycloseIcon">
<div class="cross-wrap"><span class="top"></span><span class="bottom"></span></div>
2023-07-23 05:57:06 +00:00
</div>
2023-10-12 20:59:00 +00:00
<!-- Nav -->
<div class="classynav">
<ul>
{% for key, item in staticMenu.menuItems %}
{% if not item.viewBag.isHidden and item.items|length %}
{% if key != 0 %}
2023-10-22 13:08:31 +00:00
<li class="line" style="font-size: 12px;color: #b2b2b2;margin-left: 15px;margin-right: 15px;"> | </li>
2023-10-12 20:59:00 +00:00
{% endif %}
2023-10-15 20:26:14 +00:00
<li class="megamenu-item"><a href="{{item.url}}">{{ item.title }}</a>
2023-10-12 20:59:00 +00:00
<div class="megamenu">
2023-10-22 13:08:31 +00:00
<a href="{{item.url}}" class="customParentLink" style="{% if key == 0 %}padding-left: 0px;{% endif %}">{{ item.title }}</a>
2023-10-12 20:59:00 +00:00
<ul class="single-mega cn-col-4">
{% for item in item.items if item.viewBag.cssClass == 1 %}
<li><a href="{{ item.url }}">- {{ item.title }}</a></li>
{% endfor %}
</ul>
<ul class="single-mega cn-col-4">
{% for item in item.items if item.viewBag.cssClass == 2 %}
<li><a href="{{ item.url }}">- {{ item.title }}</a></li>
{% endfor %}
</ul>
<ul class="single-mega cn-col-4">
{% for item in item.items if item.viewBag.cssClass == 3 %}
<li><a href="{{ item.url }}">- {{ item.title }}</a></li>
{% endfor %}
</ul>
<ul class="single-mega cn-col-4">
{% for item in item.items if item.viewBag.cssClass == 4 %}
<li><a href="{{ item.url }}">- {{ item.title }}</a></li>
{% endfor %}
</ul>
2023-10-03 12:00:10 +00:00
</div>
2023-10-12 20:59:00 +00:00
</li>
{% elseif not item.viewBag.isHidden %}
{% if key != 0 %}
2023-10-22 13:08:31 +00:00
<li class="line" style="font-size: 12px;color: #b2b2b2;margin-left: 15px;margin-right: 15px;"> | </li>
2023-10-12 20:59:00 +00:00
{% endif %}
<li><a href="{{ item.url }}" style="{% if key == 0 %}padding-left: 0px;{% endif %}">{{item.title}}</a></li>
{% endif %}
{% endfor %}
</ul>
2023-10-03 12:00:10 +00:00
</div>
2023-10-22 13:08:31 +00:00
<form action="{{ 'search'|page }}" method="GET" class="header_box-search-input burger">
2023-10-25 16:09:40 +00:00
<input type="search" name="name" placeholder="{{ 'header.Gozleg'|_ }}">
<input type="submit" class="d-none" value="{{ 'header.Gozleg'|_ }}">
2023-10-12 20:59:00 +00:00
<button type="button">
<svg fill=" #f27a1a" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M21.71,20.29,18,16.61A9,9,0,1,0,16.61,18l3.68,3.68a1,1,0,0,0,1.42,0A1,1,0,0,0,21.71,20.29ZM11,18a7,7,0,1,1,7-7A7,7,0,0,1,11,18Z"></path>
</svg>
</button>
</form>
</div>
2023-07-23 05:57:06 +00:00
2023-10-12 20:59:00 +00:00
</nav>
2023-07-23 05:57:06 +00:00
</div>
</div>
2023-10-12 20:59:00 +00:00
</div>
</header>