fixed more stuff
This commit is contained in:
parent
404c2ec0dd
commit
30a4686092
@ -25,15 +25,22 @@
|
|||||||
<li class="nav-item active">
|
<li class="nav-item active">
|
||||||
<a class="nav-link" href="{{ url_for('ProfileView:index') }}">Profile</a>
|
<a class="nav-link" href="{{ url_for('ProfileView:index') }}">Profile</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
<li class="nav-item active">
|
||||||
|
<a class="nav-link" href="{{ url_for('UploadView:index') }}">Upload</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item active">
|
||||||
|
<a class="nav-link" href="{{ url_for_security('logout') }}">Logout</a>
|
||||||
|
</li>
|
||||||
|
{% else %}
|
||||||
<li class="nav-item active">
|
<li class="nav-item active">
|
||||||
<a class="nav-link" href="{{ url_for_security('login') }}">Login</a>
|
<a class="nav-link" href="{{ url_for_security('login') }}">Login</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item active">
|
<li class="nav-item active">
|
||||||
<a class="nav-link" href="{{ url_for_security('register') }}">Register</a>
|
<a class="nav-link" href="{{ url_for_security('register') }}">Register</a>
|
||||||
</li>
|
</li>
|
||||||
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
<form class="form-inline my-2 my-lg-0" action="{{url_for('IndexView:index')}}" method="get">
|
<form class="form-inline my-2 my-lg-0" action="{{ url_for('IndexView:index') }}" method="get">
|
||||||
<input class="form-control mr-sm-2" name="search" type="text" placeholder="Search">
|
<input class="form-control mr-sm-2" name="search" 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>
|
||||||
|
Loading…
Reference in New Issue
Block a user