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

24 lines
1.0 KiB
Handlebars
Raw Normal View History

2018-02-14 06:22:33 +10:00
<nav class="navbarMenuWrapper">
<div class="nav-wrapper">
<div class="col m8 offset-m2 navbarMenu">
<ul>
<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-14 06:22:33 +10:00
<a href="{{this.link}}">{{this.title}}</a>
</li>
{{/each}}
<div class="pull-right hide-on-small-only">
<li>
<input type="text" name="frm_search" id="frm_search" class="input-field" placeholder="Search the shop">
</li>
<li>
<button class="btn waves-effect waves-light blue darken-3" id="btn_search" type="submit">Search</button>
</li>
</div>
</ul>
</div>
</div>
</nav>