|
|
@ -14,7 +14,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<div class="bs-component"> |
|
|
|
<div class="bs-component"> |
|
|
|
<nav class="navbar navbar-expand-lg navbar-dark bg-primary"> |
|
|
|
<nav class="navbar navbar-expand-lg navbar-dark bg-primary"> |
|
|
|
<a class="navbar-brand" href="#">Navbar</a> |
|
|
|
<a class="navbar-brand" href="{{ url_for('index') }}">Biscd</a> |
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor02" aria-controls="navbarColor02" aria-expanded="false" aria-label="Toggle navigation"> |
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor02" aria-controls="navbarColor02" aria-expanded="false" aria-label="Toggle navigation"> |
|
|
|
<span class="navbar-toggler-icon"></span> |
|
|
|
<span class="navbar-toggler-icon"></span> |
|
|
|
</button> |
|
|
|
</button> |
|
|
@ -23,9 +23,9 @@ |
|
|
|
<ul class="navbar-nav mr-auto"> |
|
|
|
<ul class="navbar-nav mr-auto"> |
|
|
|
<li class="nav-item active"> |
|
|
|
<li class="nav-item active"> |
|
|
|
<a class="nav-link" href="{{ url_for('index') }}">Home |
|
|
|
<a class="nav-link" href="{{ url_for('index') }}">Home |
|
|
|
<span class="sr-only">(current)</span> |
|
|
|
|
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
|
|
|
|
<!-- |
|
|
|
<li class="nav-item dropdown"> |
|
|
|
<li class="nav-item dropdown"> |
|
|
|
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a> |
|
|
|
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a> |
|
|
|
<div class="dropdown-menu"> |
|
|
|
<div class="dropdown-menu"> |
|
|
@ -36,11 +36,29 @@ |
|
|
|
<a class="dropdown-item" href="#">Separated link</a> |
|
|
|
<a class="dropdown-item" href="#">Separated link</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
|
|
|
|
--> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
|
|
|
|
<ul class="navbar-nav pr-3"> |
|
|
|
|
|
|
|
{% if current_user.is_anonymous %} |
|
|
|
|
|
|
|
<li class="nav-item"> |
|
|
|
|
|
|
|
<a class="nav-link" href="{{ url_for('login') }}">Login</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li class="nav-item"> |
|
|
|
|
|
|
|
<a class="nav-link" href="{{ url_for('register') }}">Register</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
{% else %} |
|
|
|
|
|
|
|
<li class="nav-item"> |
|
|
|
|
|
|
|
<a class="nav-link" href="{{ url_for('logout') }}">Logout</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
<!-- |
|
|
|
<form class="form-inline my-2 my-lg-0"> |
|
|
|
<form class="form-inline my-2 my-lg-0"> |
|
|
|
<input class="form-control mr-sm-2" type="text" placeholder="Search"> |
|
|
|
<input class="form-control mr-sm-2" type="text" placeholder="Search"> |
|
|
|
<button class="btn btn-secondary my-2 my-sm-0" type="submit">Search</button> |
|
|
|
<button class="btn btn-secondary my-2 my-sm-0" type="submit">Search</button> |
|
|
|
</form> |
|
|
|
</form> |
|
|
|
|
|
|
|
--> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</nav> |
|
|
|
</nav> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|