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:
@@ -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 %}
|
Reference in New Issue
Block a user