{% if messages %} {% for message in messages %} - {% endfor %} {% endif %} @@ -76,4 +86,4 @@ {% endblock %} {% block customJS %} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/templates/appointment/set_password.html b/templates/appointment/set_password.html index a92731ae..cfdc4564 100644 --- a/templates/appointment/set_password.html +++ b/templates/appointment/set_password.html @@ -83,22 +83,21 @@ {% block body %}

{% trans 'Reset Your Password' %}

- + {% if messages %}
    {% for message in messages %} - {{ message }} +
  • {{ message }}
  • {% endfor %}
{% endif %} - - +
{% csrf_token %} {{ form.as_p }}
-{% endblock %} -{% block customJS %} - -{% endblock %} \ No newline at end of file + {% endblock %} + {% block customJS %} + + {% endblock %} diff --git a/templates/appointment/thank_you.html b/templates/appointment/thank_you.html index 335760b8..314343b3 100644 --- a/templates/appointment/thank_you.html +++ b/templates/appointment/thank_you.html @@ -37,12 +37,18 @@ {% block body %}

{{ page_title }}

-

- {{ page_message }} -

+

{{ page_message }}

{% if messages %} {% for message in messages %} - {% endfor %} {% endif %} diff --git a/templates/auth_base.html b/templates/auth_base.html index 9bdba65d..15f6c912 100644 --- a/templates/auth_base.html +++ b/templates/auth_base.html @@ -1,91 +1,100 @@ -{% load static %} {% load i18n %} +{% load static %} +{% load i18n %} {% get_current_language as LANGUAGE_CODE %} - - - - {% block title %}{% trans 'HAIKAL' %}{% endblock %} - - - - - - - + + + {% block title %} + {% trans 'HAIKAL' %} + {% endblock %} + + + + + - + - - - - - - - - - - - + + + + + - - + + - + {% if LANGUAGE_CODE == 'en' %} - - + + {% else %} - - + + {% endif %} - - {% include 'messages.html' %}
-
- - {% block content %} - - {% endblock %} - - + {% block content %}{% endblock %}
- - -
- - - - - {% block customJS %}{% endblock customJS %} - - - - - - + + + + + {% block customJS %} + {% endblock customJS %} + + + @@ -102,5 +111,4 @@ - - \ No newline at end of file + diff --git a/templates/base.html b/templates/base.html index 913fe6c8..a487fd54 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,8 +1,12 @@ -{% load i18n static%} +{% load i18n static %} {% get_current_language as LANGUAGE_CODE %} @@ -10,22 +14,30 @@ - + - {% block title %} - - {% endblock %} - {% block description %} - {% endblock %} + {% block title %}{% endblock %} + {% block description %}{% endblock %} - - - - + + + + - + - {% comment %} {% endcomment %} @@ -33,68 +45,68 @@ {% comment %} {% endcomment %} - + {% comment %} {% endcomment %} - + {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% if LANGUAGE_CODE == 'ar' %} - - + + {% else %} - - + + {% endif %} {% comment %} {% endcomment %} - - {% block customCSS %} - - {% endblock %} + {% block customCSS %}{% endblock %} - {% include "toast-alert.html" %}
{% if request.user.is_authenticated %} {% include 'header.html' %} {% endif %} -
- {% include "plans/expiration_messages.html" %} {% block period_navigation %} - {% endblock period_navigation %} - {% block content %} - - {% endblock content%} + {% endblock content %} {% block body %} - {% endblock body%} - - + {% endblock body %} {% include 'footer.html' %}
{% comment %} {% endcomment %} {% comment %} {% endcomment %} - - - - + + + - {% comment %} {% endcomment %} - {% comment %} {% endcomment %} @@ -104,15 +116,14 @@ {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% comment %} - + {% endcomment %} - {% comment %} {% endcomment %} {% comment %} {% endcomment %} + {% comment %} {% endcomment %} - - {% block customJS %} - {% endblock %} - + {% block customJS %}{% endblock %} - \ No newline at end of file + diff --git a/templates/bill/bill_create.html b/templates/bill/bill_create.html index 5d8d7f64..84f9f528 100644 --- a/templates/bill/bill_create.html +++ b/templates/bill/bill_create.html @@ -10,7 +10,6 @@ {% block content %} -
@@ -60,9 +59,6 @@
- -
- -
+