Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development

This commit is contained in:
Patrick Jentsch
2019-07-10 14:37:37 +02:00
9 changed files with 47 additions and 14 deletions

View File

@ -1,9 +1,7 @@
{% extends "base.html.j2" %}
{% block title %}Opaque - Forbidden{% endblock %}
{% block page_content %}
<div class="page-header">
<h1>Forbidden</h1>
<p>This site is forbidden for you.</p>
</div>
{% endblock %}

View File

@ -1,9 +1,7 @@
{% extends "base.html.j2" %}
{% block title %}Opaque - Page Not Found{% endblock %}
{% block page_content %}
<div class="page-header">
<h1>Not Found</h1>
<p>Site has not been found.</p>
</div>
{% endblock %}

View File

@ -1,9 +1,7 @@
{% extends "base.html.j2" %}
{% block title %}Opaque - Internal Server Error{% endblock %}
{% block page_content %}
<div class="page-header">
<h1>Internal Server Error</h1>
<p>Internal Server Error. We are Sorry!</p>
</div>
{% endblock %}

View File

@ -60,6 +60,9 @@
</li>
<li><a href="{{ url_for('main.index') }}"><i class="material-icons">opacity</i>Opaque</a></li>
<li><a href="{{ url_for('auth.settings') }}"><i class="material-icons">settings</i>Settings</a></li>
{% if current_user.is_administrator() %} <!-- Shows only for admins -->
<li><a href="{{ url_for('main.for_admins_only') }}"><i class="material-icons">build</i>Administration</a></li>
{% endif %}
</ul>
</header>

View File

@ -1,11 +1,11 @@
{% extends "base.html.j2" %}
{% block page_content %}
<h1>Administration tools</h1>
<div class="col s12">
<div class="card large">
<div class="card-content">
<span class="card-title">User list</span>
{{ table }}
</div>
</div>
</div>