From 1590f50a4736cc02352aff2bcc103ba30692cade Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Wed, 9 Oct 2024 07:52:01 +0000 Subject: [PATCH] =?UTF-8?q?Cambio=20de=20contrase=C3=B1a=20listo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JugarAlPadel/K8S/Makefile.local | 2 +- .../registration/password_change_done.html | 40 +++---- .../registration/password_change_form.html | 102 ++++++++---------- 3 files changed, 65 insertions(+), 79 deletions(-) diff --git a/JugarAlPadel/K8S/Makefile.local b/JugarAlPadel/K8S/Makefile.local index 60fe2ef..f2b7d8b 100644 --- a/JugarAlPadel/K8S/Makefile.local +++ b/JugarAlPadel/K8S/Makefile.local @@ -2,7 +2,7 @@ export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':') export REGISTRY=localhost:5000 #export REGISTRY=registry.reymota.es -export IMG_VERSION = 0.21 +export IMG_VERSION = 0.28 export IMG_NGINX_VERSION = 2.4 # limpia todo diff --git a/JugarAlPadel/gestion_reservas/templates/registration/password_change_done.html b/JugarAlPadel/gestion_reservas/templates/registration/password_change_done.html index 784ab37..0ec0315 100644 --- a/JugarAlPadel/gestion_reservas/templates/registration/password_change_done.html +++ b/JugarAlPadel/gestion_reservas/templates/registration/password_change_done.html @@ -1,20 +1,22 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} -{% block userlinks %} - {% url 'django-admindocs-docroot' as docsroot %}{% if docsroot %}{% translate 'Documentation' %} / {% endif %}{% translate 'Change password' %} / -
- {% csrf_token %} - -
- {% include "admin/color_theme_toggle.html" %} -{% endblock %} -{% block breadcrumbs %} - -{% endblock %} +{% load i18n static %} -{% block content %} -

{% translate 'Your password was changed.' %}

-{% endblock %} +{% include "_head.html" %} + + +
+
+
+
+ {% include "_branding.html" %} +

Cambio de contraseña

+

{% translate 'Your password was changed.' %}

+
+ +
+
+
+ \ No newline at end of file diff --git a/JugarAlPadel/gestion_reservas/templates/registration/password_change_form.html b/JugarAlPadel/gestion_reservas/templates/registration/password_change_form.html index c6a9484..7a37676 100644 --- a/JugarAlPadel/gestion_reservas/templates/registration/password_change_form.html +++ b/JugarAlPadel/gestion_reservas/templates/registration/password_change_form.html @@ -10,66 +10,50 @@ {% include "_branding.html" %}

Cambio de contraseña

- {% if form.errors and not form.non_field_errors %} -

- {% blocktranslate count counter=form.errors.items|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktranslate %} -

- {% endif %} - - -
{% csrf_token %} -

{% translate 'Please enter your old password, for security’s sake, and then enter your new password twice so we can verify you typed it in correctly.' %}

- - -
- {{ form.old_password.errors }} - {{ form.old_password.label_tag }} -
- -
- {{ form.old_password }} -
- -
- {{ form.new_password.errors }} - {{ form.new_password.label_tag }} -
- -
- {{ form.new_password }} -
-
- {{ form.new_password1.errors }} - {{ form.new_password1.label_tag }} -
-
- {{ form.new_password1 }} - {% if form.new_password1.help_text %} -
{{ form.new_password1.help_text|safe }}
- {% endif %} -
- -
- {{ form.new_password2.errors }} - {{ form.new_password2.label_tag }} - {{ form.new_password2 }}
- - -
- {% if form.new_password2.help_text %} -
{{ form.new_password2.help_text|safe }}
- {% endif %} + {% csrf_token %} +

{% translate 'Please enter your old password, for security’s sake, and then enter your new password twice so we can verify you typed it in correctly.' %}

+ + +
+ {{ form.old_password.label_tag }} + {{ form.old_password }} +
+ +
+ {{ form.new_password.label_tag }} + {{ form.new_password }} +
+ +
+ {{ form.new_password1.label_tag }} + + {{ form.new_password1 }} + +

Su contraseña no puede asemejarse cualquier información personal.

+

Su contraseña debe contener al menos 8 caracteres.

+

Su contraseña no puede ser una clave utilizada comúnmente.

+

Su contraseña no puede ser completamente numérica.

+ +
+ +
+ {{ form.new_password2.label_tag }} + {{ form.new_password2 }}
+
+ +
+ {% if form.new_password2.help_text %} +

{{ form.new_password2.help_text|safe }}

+ {% endif %} +
+ +
+ +
+
+ - -
-
- - - - - - - +