mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Rename manual modal template
This commit is contained in:
parent
685db81c85
commit
f2bbcdc441
@ -8,7 +8,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col s12 m4">
|
<div class="col s12 m4">
|
||||||
<h2>{{ user.username }}</h2>
|
|
||||||
<p id="description">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,</p>
|
<p id="description">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,</p>
|
||||||
<a class="waves-effect waves-light btn" href="{{ url_for('.users') }}"><i class="material-icons left">arrow_back</i>Back to Users</a>
|
<a class="waves-effect waves-light btn" href="{{ url_for('.users') }}"><i class="material-icons left">arrow_back</i>Back to Users</a>
|
||||||
</div>
|
</div>
|
||||||
@ -26,7 +25,19 @@
|
|||||||
<li>Confirmed status: {{ user.confirmed }}</li>
|
<li>Confirmed status: {{ user.confirmed }}</li>
|
||||||
<li>Last seen: {{ user.last_seen }}</li>
|
<li>Last seen: {{ user.last_seen }}</li>
|
||||||
<li>Permissions as Int: {{ user.role.permissions }}</li>
|
<li>Permissions as Int: {{ user.role.permissions }}</li>
|
||||||
<li>Role name: {{ user.role.name }}</li>
|
<li>Role: {{ user.role.name }}</li>
|
||||||
|
<li>Permissions:
|
||||||
|
<ul style="margin-left: 25px;">
|
||||||
|
{% for permission in ['ADMINISTRATE', 'CONTRIBUTE', 'USE_API'] %}
|
||||||
|
<li>
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" {{ 'checked' if user.can(permission) }}>
|
||||||
|
<span>{{ permission|capitalize }}</span>
|
||||||
|
</label>
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-action right-align">
|
<div class="card-action right-align">
|
||||||
@ -53,6 +64,28 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="col s12">
|
||||||
|
<h2>Contributions</h2>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col s12 l6">
|
||||||
|
<h3>SpaCy NLP Pipeline Models</h3>
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-content">
|
||||||
|
<div class="spacy-nlp-pipeline-model-list" data-user-id="{{ user.hashid }}"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col s12 l6">
|
||||||
|
<h3>Tesseract OCR Pipeline Models</h3>
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-content">
|
||||||
|
<div class="tesseract-ocr-pipeline-model-list" data-user-id="{{ user.hashid }}"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock page_content %}
|
{% endblock page_content %}
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
{% block page_content %}{% endblock page_content %}
|
{% block page_content %}{% endblock page_content %}
|
||||||
<div id="modals">
|
<div id="modals">
|
||||||
{% block modals %}
|
{% block modals %}
|
||||||
{% include "main/_manual_modal_contents.html.j2" %}
|
{% include "main/_manual_modal.html.j2" %}
|
||||||
{# {% if current_user.is_authenticated %}
|
{# {% if current_user.is_authenticated %}
|
||||||
{% include "_roadmap.html.j2" %}
|
{% include "_roadmap.html.j2" %}
|
||||||
{% endif %} #}
|
{% endif %} #}
|
||||||
|
Loading…
Reference in New Issue
Block a user