mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 10:54:18 +00:00
Add model section to template and add API link to sidenav
This commit is contained in:
parent
70d541690f
commit
c1436c2a5d
@ -25,6 +25,7 @@
|
|||||||
{% if current_user.is_administrator() %}
|
{% if current_user.is_administrator() %}
|
||||||
<li><div class="divider"></div></li>
|
<li><div class="divider"></div></li>
|
||||||
<li><a class="subheader">Administration</a></li>
|
<li><a class="subheader">Administration</a></li>
|
||||||
<li><a href="{{ url_for('admin.index') }}"><i class="material-icons">build</i>Administration</a></li>
|
<li><a href="{{ url_for('admin.index') }}"><i class="material-icons">admin_panel_settings</i>Administration</a></li>
|
||||||
|
<li><a href="{{ url_for('api.doc') }}"><i class="material-icons">api</i>API</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -32,11 +32,13 @@
|
|||||||
{% block main_attribs %} class="background-color"{% endblock main_attribs %}
|
{% block main_attribs %} class="background-color"{% endblock main_attribs %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
{% block page_content %}{% endblock page_content %}
|
{% block page_content %}{% endblock page_content %}
|
||||||
|
{% block modals %}
|
||||||
<div id="modals">
|
<div id="modals">
|
||||||
{% if current_user.is_authenticated %}
|
{% if current_user.is_authenticated %}
|
||||||
{% include "_roadmap.html.j2" %}
|
{% include "_roadmap.html.j2" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
{% endblock modals %}
|
||||||
{% endblock main %}
|
{% endblock main %}
|
||||||
|
|
||||||
{% block footer_attribs %} class="page-footer primary-variant-color"{% endblock footer_attribs %}
|
{% block footer_attribs %} class="page-footer primary-variant-color"{% endblock footer_attribs %}
|
||||||
|
Loading…
Reference in New Issue
Block a user