diff --git a/inicial/static/css_criarconta_2.css b/inicial/static/css_criarconta_2.css index d4c326c2..5fd5637c 100644 --- a/inicial/static/css_criarconta_2.css +++ b/inicial/static/css_criarconta_2.css @@ -3,7 +3,7 @@ } body{ - background-image:url('bg_criarconta.jpg'); + background-image:url("{% static 'img/bg_criarconta.jpg' %}"); background-size:cover; } diff --git a/inicial/urls.py b/inicial/urls.py index 0340ec84..b65e4565 100644 --- a/inicial/urls.py +++ b/inicial/urls.py @@ -11,4 +11,6 @@ path("duvidas_frequentes", duvidas_frequentes, name='duvidas_frequentes'), path("cadastro", cadastro, name='cadastro'), path("login", loginsite, name='login'), + path("login/senha", esqueci_senha, name="esqueci_senha"), + path("login/confirmacao", confirma_email, name="confirma_email") ] diff --git a/inicial/views.py b/inicial/views.py index 0de1e690..085cfa7d 100644 --- a/inicial/views.py +++ b/inicial/views.py @@ -85,13 +85,13 @@ def avaliar_hospital(request, hospital_cnes): return render(request, "inicial/avaliarhospital.html", context) def sobre_nos(request): - return render(request, ('inicial/SobreNos.html')) + return render(request, 'inicial/SobreNos.html') def duvidas_frequentes(request): - return render(request, ('inicial/duvidas_frequentes.html')) + return render(request, 'inicial/duvidas_frequentes.html') def cadastro(request): - return render(request, ('inicial/criar_conta_2.html')) + return render(request, 'inicial/criar_conta_2.html') def loginsite(request): @@ -108,4 +108,10 @@ def loginsite(request): else: return redirect('login') - return render(request, ('inicial/FazerLogin.html')) \ No newline at end of file + return render(request, 'inicial/FazerLogin.html') + +def esqueci_senha(request): + return render(request, 'inicial/esqueciSenha.html') + +def confirma_email(request): + return render(request, 'inicial/ConfirmaEmail.html') \ No newline at end of file diff --git a/setup/__pycache__/settings.cpython-311.pyc b/setup/__pycache__/settings.cpython-311.pyc index d5cf9e27..e8124791 100644 Binary files a/setup/__pycache__/settings.cpython-311.pyc and b/setup/__pycache__/settings.cpython-311.pyc differ diff --git a/setup/settings.py b/setup/settings.py index dd9d4364..1cd77716 100644 --- a/setup/settings.py +++ b/setup/settings.py @@ -124,7 +124,7 @@ # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/4.2/howto/static-files/ -STATIC_URL = 'static/' +STATIC_URL = '/static/' # Default primary key field type # https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field diff --git a/templates/inicial/ConfirmaEmail.html b/templates/inicial/ConfirmaEmail.html index 17f95e48..aa68bcc3 100644 --- a/templates/inicial/ConfirmaEmail.html +++ b/templates/inicial/ConfirmaEmail.html @@ -1,15 +1,17 @@ +{% load static %} + - modal - + MedConnect +