From 8d127da80ee900234d29ca180a5b92ead5736dae Mon Sep 17 00:00:00 2001 From: Zambom Date: Wed, 21 Dec 2016 16:49:19 -0200 Subject: [PATCH] Adding profile and fixing some html --- amadeus/templates/base.html | 202 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------- amadeus/urls.py | 2 +- amadeus/views.py | 2 +- courses/templates/courses/home.html | 53 ----------------------------------------------------- users/forms.py | 33 ++++++++++++++++++++++++++++++++- users/models.py | 2 +- users/templates/users/edit_profile.html | 59 +++++++++++------------------------------------------------ users/templates/users/profile.html | 145 ++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------- users/urls.py | 2 ++ users/views.py | 88 ++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------ 10 files changed, 237 insertions(+), 351 deletions(-) diff --git a/amadeus/templates/base.html b/amadeus/templates/base.html index f088b90..421240f 100644 --- a/amadeus/templates/base.html +++ b/amadeus/templates/base.html @@ -1,16 +1,16 @@ {% load static i18n %} -{% load static i18n permission_tags %} +{% load static i18n permission_tags django_bootstrap_breadcrumbs %} {% get_current_language as LANGUAGE_CODE %} {{ title }} | Amadeus - - - + + + @@ -35,7 +35,7 @@ - {% with "js/vendor/locales/bootstrap-datepicker."|add:LANGUAGE_CODE|add:".js" as locale_datepicker %} + {% with "js/locales/bootstrap-datepicker."|add:LANGUAGE_CODE|add:".js" as locale_datepicker %} {% endwith %} @@ -45,12 +45,13 @@ - + - - {% block style %} + + + {% block style %} {% endblock %} {% block javascript %} {% endblock %} @@ -61,91 +62,114 @@ - {% block nav %} -