mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
31 lines
2.6 KiB
Django/Jinja
31 lines
2.6 KiB
Django/Jinja
<ul class="sidenav sidenav-fixed" id="sidenav">
|
|
<li>
|
|
<div class="user-view">
|
|
<div class="background primary-color"></div>
|
|
<span class="white-text name">{{ current_user.username }}</span>
|
|
<span class="white-text email">{{ current_user.email }}</span>
|
|
</div>
|
|
</li>
|
|
<li><a href="{{ url_for('main.index') }}">nopaque</a></li>
|
|
<li><a href="{{ url_for('main.news') }}"><i class="material-icons left">email</i>News</a></li>
|
|
<li><a href="#"><i class="material-icons">linear_scale</i>Workflow</a></li>
|
|
<li><a href="{{ url_for('main.dashboard') }}"><i class="material-icons">dashboard</i>Dashboard</a></li>
|
|
<li><a href="{{ url_for('main.dashboard', _anchor='corpora') }}" style="padding-left: 47px;"><i class="nopaque-icons">I</i>My Corpora</a></li>
|
|
<li><a href="{{ url_for('main.dashboard', _anchor='jobs') }}" style="padding-left: 47px;"><i class="nopaque-icons">J</i>My Jobs</a></li>
|
|
<li><div class="divider"></div></li>
|
|
<li><a class="subheader">Processes & Services</a></li>
|
|
<li class="service-color service-color-border border-darken" data-service="file-setup" style="border-left: 10px solid; margin-top: 5px;"><a href="{{ url_for('services.service', service='file-setup') }}"><i class="nopaque-icons service-icon" data-service="file-setup"></i>File setup</a></li>
|
|
<li class="service-color service-color-border border-darken" data-service="ocr" style="border-left: 10px solid; margin-top: 5px;"><a href="{{ url_for('services.service', service='ocr') }}"><i class="nopaque-icons service-icon" data-service="ocr"></i>OCR</a></li>
|
|
<li class="service-color service-color-border border-darken" data-service="nlp" style="border-left: 10px solid; margin-top: 5px;"><a href="{{ url_for('services.service', service='nlp') }}"><i class="nopaque-icons service-icon" data-service="nlp"></i>NLP</a></li>
|
|
<li class="service-color service-color-border border-darken" data-service="corpus-analysis" style="border-left: 10px solid; margin-top: 5px;"><a href="{{ url_for('services.service', service='corpus_analysis') }}"><i class="nopaque-icons service-icon" data-service="corpus-analysis"></i>Corpus analysis</a></li>
|
|
<li><div class="divider"></div></li>
|
|
<li><a class="subheader">Account</a></li>
|
|
<li><a href="{{ url_for('settings.index') }}"><i class="material-icons">settings</i>Settings</a></li>
|
|
<li><a href="{{ url_for('auth.logout') }}">Log out</a></li>
|
|
{% if current_user.is_administrator() %}
|
|
<li><div class="divider"></div></li>
|
|
<li><a class="subheader">Administration</a></li>
|
|
<li><a href="{{ url_for('admin.index') }}"><i class="material-icons">build</i>Administration</a></li>
|
|
{% endif %}
|
|
</ul>
|