dev #17
@ -531,4 +531,9 @@ tbody tr:hover {
|
|||||||
}
|
}
|
||||||
.progress-fill.danger {
|
.progress-fill.danger {
|
||||||
background-color: #b71c1c;
|
background-color: #b71c1c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-help {
|
||||||
|
margin-top: 16px;
|
||||||
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
@ -10,4 +10,8 @@
|
|||||||
<button type="submit">Entrar</button>
|
<button type="submit">Entrar</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<p class="auth-help">
|
||||||
|
¿Olvidaste la contraseña? <a href="{% url 'password_help' %}">Más información</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@ -0,0 +1,17 @@
|
|||||||
|
{% extends "expenses/base_auth.html" %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
|
||||||
|
<h2>Recuperar contraseña</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Esta aplicación actualmente no envía correos de recuperación automáticos.
|
||||||
|
Si has olvidado tu contraseña, ponte en contacto con el administrados
|
||||||
|
para que te asigne una nueva.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<a href="{% url 'login' %}">Volver al inicio de sesión.</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
@ -1,5 +1,6 @@
|
|||||||
from . import views
|
from . import views
|
||||||
from django.urls import path
|
from django.urls import path
|
||||||
|
from django.views.generic import TemplateView
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('', views.home, name='home'),
|
path('', views.home, name='home'),
|
||||||
@ -32,4 +33,5 @@ urlpatterns = [
|
|||||||
path('goals/new/', views.goal_create, name='goal_create'),
|
path('goals/new/', views.goal_create, name='goal_create'),
|
||||||
path('goals/<int:pk>/edit/', views.goal_edit, name='goal_edit'),
|
path('goals/<int:pk>/edit/', views.goal_edit, name='goal_edit'),
|
||||||
path('goals/<int:pk>/delete/', views.goal_delete, name='goal_delete'),
|
path('goals/<int:pk>/delete/', views.goal_delete, name='goal_delete'),
|
||||||
|
path('password_help', TemplateView.as_view(template_name="registration/password_help.html"), name="password_help"),
|
||||||
]
|
]
|
||||||
Loading…
Reference in New Issue
Block a user