diff --git a/amadeus/static/js/main.js b/amadeus/static/js/main.js index 596ef3c..5e03f4b 100755 --- a/amadeus/static/js/main.js +++ b/amadeus/static/js/main.js @@ -1,5 +1,11 @@ $(function () { var locale = $("body").data('lang'); + + if (!$("#sidebar-menu-div").children().length > 0) { + //$("#sidebar-menu-div").remove(); + $("#page_content").switchClass('col-md-11', 'col-md-12', 0); + $("#page_content").switchClass('col-lg-11', 'col-lg-12', 0); + } $('.datetime-picker').datetimepicker({ locale: locale diff --git a/amadeus/templates/base.html b/amadeus/templates/base.html index c9ba92c..fedb2eb 100644 --- a/amadeus/templates/base.html +++ b/amadeus/templates/base.html @@ -256,7 +256,7 @@ {% endblock %} -
+
{% block breadcrumbs %} {% breadcrumb 'Home' 'home' %} {% endblock %} diff --git a/users/templates/users/forgot_password.html b/users/templates/users/forgot_password.html index a032d95..f676b03 100644 --- a/users/templates/users/forgot_password.html +++ b/users/templates/users/forgot_password.html @@ -14,46 +14,46 @@ {% block content %}
-
- -
+
+ +
-
- {% if messages %} - {% for message in messages %} - - {% endfor %} - {% endif %} +
+ {% if messages %} + {% for message in messages %} + + {% endfor %} + {% endif %} -
-
-
-
-

{% trans 'Forgot Password' %}

-

{% trans 'Enter your email below (the one used to access the platform) to recover your password' %}

-
-
- -
- {% csrf_token %} - {% for field in form %} -
-
- {% render_field field class='form-control' %} +
+
+
+
+

{% trans 'Forgot Password' %}

+

{% trans 'Enter your email below (the one used to access the platform) to recover your password' %}

+
+
+ + + {% csrf_token %} + {% for field in form %} +
+
+ {% render_field field class='form-control' %} - {{ field.help_text }} + {{ field.help_text }} - {% if field.errors %} + {% if field.errors %} {% endif %} -
-
- {% endfor %} - -
-
-
- -
- -
-
-
-
-
-
+
+
+ {% endfor %} + +
+
+
+ +
+ +
+
+
+
+
+
{% endblock %} {% block bottommenu %} diff --git a/users/templates/users/login.html b/users/templates/users/login.html index 3a0fb9d..5b53532 100644 --- a/users/templates/users/login.html +++ b/users/templates/users/login.html @@ -20,7 +20,7 @@
-
+
{% if messages %} {% for message in messages %} {% endblock %} {% block bottommenu %} diff --git a/users/templates/users/register.html b/users/templates/users/register.html index 7a4c395..7cfe926 100644 --- a/users/templates/users/register.html +++ b/users/templates/users/register.html @@ -15,13 +15,13 @@ {% block content %}
-
+
-
+
{% if messages %} {% for message in messages %}