2020-01-10 20:15:43 +10:00
|
|
|
<nav id="navbarMenu" class="navbar-expand-lg navbar navbar-light bg-light navbarMenuWrapper col-sm-12">
|
|
|
|
<div class="col-sm-8 offset-md-2 collapse navbar-collapse" id="navbarMenu">
|
2019-12-26 13:23:21 +10:00
|
|
|
<ul class="navbar-nav mr-auto">
|
|
|
|
<li class="nav-item {{#unless searchTerm}}active{{/unless}}"><a class="nav-link" href="/">Home</a></li>
|
|
|
|
{{#each menu.items}}
|
|
|
|
<li class="nav-item"
|
|
|
|
{{#menuMatch this.title @root.searchTerm}}{{/menuMatch}}
|
|
|
|
{{#menuMatch this.title @root.title}}{{/menuMatch}}>
|
|
|
|
<a class="nav-link" href="{{this.link}}">{{this.title}}</a>
|
2018-02-12 05:47:26 +10:00
|
|
|
</li>
|
2019-12-26 13:23:21 +10:00
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
<form class="form-inline ml-auto">
|
2020-01-10 20:15:43 +10:00
|
|
|
<div class="input-group">
|
|
|
|
<input class="form-control" name="frm_search" id="frm_search" type="search" placeholder="{{ @root.__ "Search shop" }}" aria-label="Search">
|
|
|
|
<div class="input-group-append">
|
|
|
|
<button class="btn btn-outline-success" id="btn_search" type="submit">{{ @root.__ "Search" }}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-12-26 13:23:21 +10:00
|
|
|
</form>
|
2018-02-12 05:47:26 +10:00
|
|
|
</div>
|
|
|
|
</nav>
|