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,16 +26,18 @@
<li><a href="{{ url_for('auth.register') }}"><i class="material-icons">chevron_right</i>Register</a></li> <li><a href="{{ url_for('auth.register') }}"><i class="material-icons">chevron_right</i>Register</a></li>
{% endif %} {% endif %}
</ul> </ul>
<nav> <div class="navbar-fixed">
<div class="nav-wrapper"> <nav>
<a href="{{ url_for('main.index') }}" class="brand-logo"><i class="material-icons">opacity</i>Opaque</a> <div class="nav-wrapper">
<a href="#" data-target="slide-out" class="sidenav-trigger"><i class="material-icons">menu</i></a> <a href="{{ url_for('main.index') }}" class="brand-logo"><i class="material-icons">opacity</i>Opaque</a>
<ul class="right hide-on-med-and-down"> <a href="#" data-target="slide-out" class="sidenav-trigger"><i class="material-icons">menu</i></a>
<li><a id="nav-notifications" class="dropdown-trigger" href="#!" data-target="nav-notifications-dropdown"><i class="material-icons">notifications</i></a></li> <ul class="right hide-on-med-and-down">
<li><a id="nav-account" class="dropdown-trigger" href="#!" data-target="nav-account-dropdown"><i class="material-icons">account_circle</i></a></li> <li><a id="nav-notifications" class="dropdown-trigger" href="#!" data-target="nav-notifications-dropdown"><i class="material-icons">notifications</i></a></li>
</ul> <li><a id="nav-account" class="dropdown-trigger" href="#!" data-target="nav-account-dropdown"><i class="material-icons">account_circle</i></a></li>
</div> </ul>
</nav> </div>
</nav>
</div>
<ul id="slide-out" class="sidenav sidenav-fixed"> <ul id="slide-out" class="sidenav sidenav-fixed">
<li> <li>
@ -60,6 +62,19 @@
</li> </li>
<li><a href="{{ url_for('main.index') }}"><i class="material-icons">opacity</i>Portal</a></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><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 %} {% if current_user.is_authenticated %}
<li><div class="divider"></div></li> <li><div class="divider"></div></li>
<li><a class="subheader">Account</a></li> <li><a class="subheader">Account</a></li>