Fix some things in admin backend

This commit is contained in:
Patrick Jentsch 2023-04-05 13:59:31 +02:00
parent 719e6da9c8
commit 6abf119c0c
2 changed files with 21 additions and 1 deletions

View File

@ -6,6 +6,26 @@
<div class="col s12">
<h1 id="title">{{ title }}</h1>
</div>
<div class="col s12 l4">
<div class="card hoverable">
<a href="{{ url_for('.users') }}" style="position: absolute; width: 100%; height: 100%;"></a>
<div class="card-content">
<span class="card-title"><i class="material-icons left">group</i>Users</span>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, </p>
</div>
</div>
</div>
<div class="col s12 l4">
<div class="card hoverable">
<a href="{{ url_for('.corpora') }}" style="position: absolute; width: 100%; height: 100%;"></a>
<div class="card-content">
<span class="card-title"><i class="nopaque-icons left">I</i>Corpora</span>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, </p>
</div>
</div>
</div>
</div>
</div>
{% endblock page_content %}

View File

@ -17,7 +17,7 @@
<span class="chip white-text" id="user-confirmed-chip" style="background-color: #f44336;">unconfirmed</span>
{% endif %}
</p>
<p>{{ user.about_me }}</p>
<p>{{ user.about_me if user.about_me }}</p>
</div>
<div class="col s12 hide-on-med-and-down">&nbsp;</div>