2021-05-28 13:51:23 +00:00
|
|
|
<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>
|
2022-02-08 11:26:20 +00:00
|
|
|
<li><a href="{{ url_for('main.dashboard', _anchor='corpora') }}" style="padding-left: 47px;"><i class="nopaque-icon">I</i>My Corpora</a></li>
|
|
|
|
<li><a href="{{ url_for('main.dashboard', _anchor='jobs') }}" style="padding-left: 47px;"><i class="nopaque-icon">J</i>My Jobs</a></li>
|
2021-05-28 13:51:23 +00:00
|
|
|
<li><div class="divider"></div></li>
|
|
|
|
<li><a class="subheader">Processes & Services</a></li>
|
2022-02-08 11:26:20 +00:00
|
|
|
<li class="nopaque-service-color nopaque-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-icon nopaque-service-icon" data-service="file-setup"></i>File setup</a></li>
|
|
|
|
<li class="nopaque-service-color nopaque-service-color-border border-darken" data-service="tesseract-ocr" style="border-left: 10px solid; margin-top: 5px;"><a href="{{ url_for('services.service', service='tesseract-ocr') }}"><i class="nopaque-icon nopaque-service-icon" data-service="tesseract-ocr"></i>OCR</a></li>
|
|
|
|
<li class="nopaque-service-color nopaque-service-color-border border-darken" data-service="spacy-nlp" style="border-left: 10px solid; margin-top: 5px;"><a href="{{ url_for('services.service', service='spacy-nlp') }}"><i class="nopaque-icon nopaque-service-icon" data-service="spacy-nlp"></i>NLP</a></li>
|
|
|
|
<li class="nopaque-service-color nopaque-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-icon nopaque-service-icon" data-service="corpus-analysis"></i>Corpus analysis</a></li>
|
2021-05-28 13:51:23 +00:00
|
|
|
<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>
|
2021-12-03 13:56:56 +00:00
|
|
|
{% if current_user.can(Permission.ADMINISTRATE) or current_user.can(Permission.USE_API) %}
|
2021-05-28 13:51:23 +00:00
|
|
|
<li><div class="divider"></div></li>
|
2021-12-03 13:56:56 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if current_user.can(Permission.ADMINISTRATE) %}
|
2021-11-15 13:54:08 +00:00
|
|
|
<li><a href="{{ url_for('admin.index') }}"><i class="material-icons">admin_panel_settings</i>Administration</a></li>
|
2021-12-03 13:07:03 +00:00
|
|
|
{% endif %}
|
2022-02-03 11:39:16 +00:00
|
|
|
{% if current_user.can(Permission.CONTRIBUTE) %}
|
|
|
|
<li><a href="{{ url_for('contribute.index') }}"><i class="material-icons">new_label</i>Contribute</a></li>
|
|
|
|
{% endif %}
|
2021-12-03 13:07:03 +00:00
|
|
|
{% if current_user.can(Permission.USE_API) %}
|
2021-11-15 13:54:08 +00:00
|
|
|
<li><a href="{{ url_for('api.doc') }}"><i class="material-icons">api</i>API</a></li>
|
2021-05-28 13:51:23 +00:00
|
|
|
{% endif %}
|
|
|
|
</ul>
|