pflaenz.li/pflaenzli/pflaenzli/templates/user/detail.html

20 lines
712 B
HTML
Raw Normal View History

2023-02-19 21:37:53 +01:00
{% extends 'base.html' %}
2023-05-16 23:36:40 +02:00
{% load i18n %}
2023-02-19 21:37:53 +01:00
{% block title %}User{% endblock %}
{% block content %}
<h1 class="mb-4">
User details <span class="badge bg-secondary">{{ user.username }}</span>
</h1>
2023-05-16 23:36:40 +02:00
<div class="alert alert-warning">{% trans "Some functions do not work yet!" %}</div>
2023-02-19 21:37:53 +01:00
<div class="mb-5">
2023-05-16 23:36:40 +02:00
<h2>{% trans "Settings" %}</h2>
<a class="btn btn-pfl" href="{% url 'user_edit' %}">{% trans "Edit Account" %}</a>
2023-02-19 21:37:53 +01:00
</div>
<div class="mb-3">
2023-05-16 23:36:40 +02:00
<h2>{% trans "Delete Account" %}</h2>
2023-02-19 21:37:53 +01:00
<button class="btn btn-danger">
2023-05-16 23:36:40 +02:00
<i class="me-1 fa-solid fa-triangle-exclamation"></i>{% trans "Delete Account" %}
2023-02-19 21:37:53 +01:00
</button>
</div>
{% endblock %}