expressCart/views/themes/Cloth/front-menu.hbs

25 lines
1.2 KiB
Handlebars
Raw Normal View History

2018-02-12 05:47:26 +10:00
<nav class="navbar navbar-default navbarMenuWrapper">
<div class="container-fluid">
<div class="col-md-8 col-md-offset-2 navbarMenu">
<ul class="nav navbar-nav">
<li {{#unless searchTerm}}class="navActive"{{/unless}}><a href="/">Home</a></li>
{{#each menu.items}}
<li
2018-02-17 23:30:28 +10:00
{{#menuMatch this.title @root.searchTerm}}{{/menuMatch}}
{{#menuMatch this.title @root.title}}{{/menuMatch}}>
2018-02-12 05:47:26 +10:00
<a href="{{this.link}}">{{this.title}}</a>
</li>
{{/each}}
<li class="pull-right col-md-4 searchBarWrapper">
<div class="search-bar-input input-group searchMenuLocation-{{config.menuLocation}} searchProPerRow-{{config.productsPerRow}}">
<input type="text" name="frm_search" id="frm_search" class="form-control" placeholder="Search the shop">
<span class="input-group-btn">
<button class="btn btn-primary" id="btn_search" type="submit">{{ @root.__ "Search" }}</button>
2018-02-12 05:47:26 +10:00
</span>
</div>
</li>
</ul>
</div>
</div>
</nav>