mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2025-06-30 11:51:08 +02:00
Drop old templates and old search
This commit is contained in:
@ -1,27 +1,9 @@
|
||||
{% extends "admin/base_site.html" %}
|
||||
{% extends "base_form.html" %}
|
||||
{% comment %}
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
{% endcomment %}
|
||||
|
||||
{% load i18n static %}
|
||||
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'index' %}">{% trans 'Home' %}</a>
|
||||
{% if title %} › {{ title }}{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block extrahead %}{{ block.super }}
|
||||
{# Load Django Admin widgets #}
|
||||
<script type="text/javascript" src="{% url 'admin:jsi18n' %}"></script>
|
||||
<script type="text/javascript" src="{% static 'admin/js/core.js' %}"></script>
|
||||
{{ form.media }}
|
||||
{% endblock %}
|
||||
|
||||
{% block extrastyle %}{{ block.super }}
|
||||
<link rel="stylesheet" type="text/css" href="{% static "admin/css/forms.css" %}">
|
||||
{% endblock %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<form method="post" onsubmit="window.onbeforeunload=null">{% csrf_token %}
|
||||
@ -54,9 +36,9 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
<div>
|
||||
<label>Mot de passe</label>
|
||||
<div class="readonly">
|
||||
<a class="button" href="{% url 'users:password' %}">
|
||||
Changer le mot de passe
|
||||
</a>
|
||||
{% if user.has_usable_password %}
|
||||
<a class="button" href="{% url 'password_change' %}">{% trans 'Change password' %}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -67,6 +49,4 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
<input class="default" type="submit" value="{% trans 'Create or edit' %}">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user