1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-16 10:04:21 +02:00

feat(admin-plugin): remove profile template

This commit is contained in:
Awilum
2020-02-18 15:59:11 +03:00
parent f1d801ef9f
commit aa340c269a

View File

@@ -1,21 +0,0 @@
{% extends "plugins/admin/templates/partials/base.html" %}
{% block content %}
<div class="text-center flex justify-center items-center h-full">
<div>
<i class="icon icon--4xl">{{ icon('fas fa-user-circle') }}</i>
<div class="pt-4 pb-4 text-xl">
{{ tr('admin_username') }}:
{{ username }}
<br>
{{ tr('admin_role') }}:
{{ rolename }}<br>
</div>
<form id="logoutProcess" action="{{ path_for('admin.users.logoutProcess') }}" method="POST" style="display: none;">
{{ csrf() }}
</form>
<a class="button" href="javascript:;" onclick="event.preventDefault();
document.getElementById('logoutProcess').submit();">{{ tr('admin_logout') }}</a>
</div>
</div>
{% endblock %}