fixed navbar and new navigation entries for serivces (nlp and ocr)

This commit is contained in:
Patrick Jentsch 2019-07-19 15:16:20 +02:00
parent 273cff64ea
commit 5c976199cd

View File

@ -26,6 +26,7 @@
<li><a href="{{ url_for('auth.register') }}"><i class="material-icons">chevron_right</i>Register</a></li>
{% endif %}
</ul>
<div class="navbar-fixed">
<nav>
<div class="nav-wrapper">
<a href="{{ url_for('main.index') }}" class="brand-logo"><i class="material-icons">opacity</i>Opaque</a>
@ -36,6 +37,7 @@
</ul>
</div>
</nav>
</div>
<ul id="slide-out" class="sidenav sidenav-fixed">
<li>
@ -60,6 +62,19 @@
</li>
<li><a href="{{ url_for('main.index') }}"><i class="material-icons">opacity</i>Portal</a></li>
<li><a href="{{ url_for('main.about') }}"><i class="material-icons">info</i>About</a></li>
<li class="no-padding">
<ul class="collapsible collapsible-accordion">
<li>
<a class="collapsible-header">Services<i class="material-icons">arrow_drop_down</i></a>
<div class="collapsible-body">
<ul>
<li><a href="#!"><i class="material-icons">format_textdirection_l_to_r</i>NLP</a></li>
<li><a href="{{ url_for('services.ocr') }}"><i class="material-icons">find_in_page</i>OCR</a></li>
</ul>
</div>
</li>
</ul>
</li>
{% if current_user.is_authenticated %}
<li><div class="divider"></div></li>
<li><a class="subheader">Account</a></li>