From a9a5f5cbf5bbe922b9af22913bb686510004a2a1 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Wed, 5 Feb 2014 16:26:58 +0530 Subject: [PATCH] [pjax] PushState API + Ajax, Event Date Format as DD, d MM, yy hh:mm tt --- webnotes/templates/base.html | 15 ++- .../templates/generators/website_group.html | 9 ++ webnotes/templates/includes/login.js | 29 ++--- webnotes/templates/includes/sidebar.html | 2 +- webnotes/website/css/website.css | 122 +++++++++++++++++- webnotes/website/js/website.js | 97 ++++++++++++++ webnotes/website/js/website_group.js | 30 ++++- webnotes/webutils.py | 3 + 8 files changed, 274 insertions(+), 33 deletions(-) diff --git a/webnotes/templates/base.html b/webnotes/templates/base.html index 1a74f77e31..ae39c365b1 100644 --- a/webnotes/templates/base.html +++ b/webnotes/templates/base.html @@ -49,27 +49,32 @@ {%- block navbar -%}{% include "templates/includes/navbar.html" %}{%- endblock -%} +
-
+
{%- block content -%}{{ content }}{%- endblock -%}
-
+
{%- block sidebar -%}{%- if sidebar is defined -%}{{ sidebar }}{%- endif -%}{%- endblock -%}
-
+
{%- if footer is defined -%}{{ footer }}{%- endif -%}
-