diff --git a/scheduleManagement/templates/account/login.html b/scheduleManagement/templates/account/login.html index 22e9398..ca636e1 100644 --- a/scheduleManagement/templates/account/login.html +++ b/scheduleManagement/templates/account/login.html @@ -1,27 +1,21 @@ +{% load socialaccount %} + - Sign In + {% block title %} Sign In {% endblock %} - Sign In - -

Sign in

- -

Still don't have an account, then please sign up

- - {% url 'account_login' as login_url %} - -
- {% csrf_token %} - {{ form.as_p }} - -
- - {% load socialaccount %} - - Login with google + {% block content %} +

Sign in

+ +

Still don't have an account, then please sign up

+ + {% include "partials/form_component.html" with value="Login" %} + + Login with google + {% endblock %} diff --git a/scheduleManagement/templates/account/logout.html b/scheduleManagement/templates/account/logout.html index c142f08..12f3149 100644 --- a/scheduleManagement/templates/account/logout.html +++ b/scheduleManagement/templates/account/logout.html @@ -1,17 +1,10 @@ - - - - - - Logout - - +{% extends 'account/login.html' %} + +{% block title %} Logout {% endblock %} + +{% block content %}

Logout

Are you sure that you want to logout of {{ user.username }}

-
- {% csrf_token %} - {{ form.as_p }} - -
- - \ No newline at end of file + + {% include "partials/form_component.html" with value="Continue" %} +{% endblock %} diff --git a/scheduleManagement/templates/confirm-delete.html b/scheduleManagement/templates/confirm-delete.html index 24ce0bc..b4ba792 100644 --- a/scheduleManagement/templates/confirm-delete.html +++ b/scheduleManagement/templates/confirm-delete.html @@ -7,5 +7,5 @@

{{ object_type | capfirst }} | Delete

Are you sure you want to delete {{ object }}?

- {% include 'partials/form_component.html' with value="Yes, i'm sure" delete=true %} + {% include "partials/form_component.html" with value="Yes, i'm sure" delete=true %} {% endblock %} diff --git a/scheduleManagement/templates/socialaccount/login.html b/scheduleManagement/templates/socialaccount/login.html index b317d74..675efbd 100644 --- a/scheduleManagement/templates/socialaccount/login.html +++ b/scheduleManagement/templates/socialaccount/login.html @@ -1,17 +1,10 @@ - - - - - - Sign in via google - - +{% extends 'account/login.html' %} + +{% block title %} Sign in via google {% endblock %} + +{% block content %}

Sign via google

-

You area about to sign with a third-party environment

-
- {% csrf_token %} - {{ form.as_p }} - -
- - \ No newline at end of file +

You are about to sign with a third-party environment

+ + {% include "partials/form_component.html" with value="Continue" %} +{% endblock %}