2020-12-26 10:46:23 +00:00
|
|
|
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
|
|
|
|
<a class="navbar-brand" href="#">{{ config('app.name') }}</a>
|
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault"
|
|
|
|
aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<div class="collapse navbar-collapse" id="navbarsExampleDefault">
|
|
|
|
<ul class="navbar-nav mr-auto">
|
2020-12-27 09:37:21 +00:00
|
|
|
<li class="nav-item {{ Request::is('/') ? 'active' : '' }}">
|
2020-12-26 10:46:23 +00:00
|
|
|
<a class="nav-link" href="/">Home <span class="sr-only">(current)</span></a>
|
|
|
|
</li>
|
2020-12-27 09:37:21 +00:00
|
|
|
<li class="nav-item {{ Request::segment(1) == 'locations' ? 'active' : '' }}">
|
2020-12-27 00:34:07 +00:00
|
|
|
<a class="nav-link" href="{{ route('locations.index') }}">Locations</a>
|
|
|
|
</li>
|
2020-12-27 09:37:21 +00:00
|
|
|
<li class="nav-item {{ Request::segment(1) == 'add' ? 'active' : '' }}">
|
2020-12-27 00:34:07 +00:00
|
|
|
<a class="nav-link" href="{{ route('add') }}">Add</a>
|
2020-12-26 10:46:23 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<form class="form-inline my-2 my-lg-0" action="{{ route('search') }}">
|
|
|
|
<input name="query" class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search" />
|
|
|
|
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</nav>
|