fixed more stuff

This commit is contained in:
Pünkösd Marcell 2020-11-28 02:56:38 +01:00
parent 404c2ec0dd
commit 30a4686092

View File

@ -25,15 +25,22 @@
<li class="nav-item active">
<a class="nav-link" href="{{ url_for('ProfileView:index') }}">Profile</a>
</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">
<a class="nav-link" href="{{ url_for_security('login') }}">Login</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="{{ url_for_security('register') }}">Register</a>
</li>
{% endif %}
</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">
<button class="btn btn-secondary my-2 my-sm-0" type="submit">Search</button>
</form>