From 3bfc82068b068defee470910a850757e4c12df3b Mon Sep 17 00:00:00 2001 From: José Padilla Date: Fri, 31 Oct 2014 11:38:27 -0400 Subject: Update tabbing and cleanup theme templates --- docs_theme/404.html | 211 ++++++++++++++++++++++------------------- docs_theme/base.html | 259 +++++++++++++++++++++++++++------------------------ docs_theme/nav.html | 51 +++++----- 3 files changed, 274 insertions(+), 247 deletions(-) (limited to 'docs_theme') diff --git a/docs_theme/404.html b/docs_theme/404.html index 864247e7..44993e37 100644 --- a/docs_theme/404.html +++ b/docs_theme/404.html @@ -1,50 +1,54 @@ - - - Django REST framework - 404 - Page not found - - - - - - - - - - - - - - - - - - + + + + + Django REST framework - 404 - Page not found + + + + + + + + + + + + + + + + + + +
- - - + + -
-
+ + + + + + + + -
- +
+ + - - - - - - + + + + - // Dynamically force sidenav to no higher than browser window - $('.side-nav').css('max-height', window.innerHeight - 130); - - $(function(){ - $(window).resize(function(){ - $('.side-nav').css('max-height', window.innerHeight - 130); - }); - }); - - + diff --git a/docs_theme/base.html b/docs_theme/base.html index 67290df6..544e2188 100644 --- a/docs_theme/base.html +++ b/docs_theme/base.html @@ -1,56 +1,62 @@ - - - {{ page_title }} - - - - - - - - - - - - - - - - - - - {# TODO: This is a bit of a hack. We don't want to refer to the file specifically. #} - + + + + + {{ page_title }} + + + + + + + + + + + + + + + + + + + +{# TODO: This is a bit of a hack. We don't want to refer to the file specifically. #} + +
@@ -59,32 +65,34 @@ a.fusion-poweredby {
- - + +
@@ -98,18 +106,16 @@ a.fusion-poweredby {
@@ -127,42 +133,51 @@ a.fusion-poweredby { {% endif %} {{ content }} -
-
-
-
- -
-
+ + + + + + + + +
+ + - - - - - - - + + + + + - // Dynamically force sidenav to no higher than browser window - $('.side-nav').css('max-height', window.innerHeight - 130); - - $(function(){ - $(window).resize(function(){ - $('.side-nav').css('max-height', window.innerHeight - 130); - }); - }); - - + diff --git a/docs_theme/nav.html b/docs_theme/nav.html index a7a72d68..87e197b3 100644 --- a/docs_theme/nav.html +++ b/docs_theme/nav.html @@ -1,11 +1,10 @@ - -- cgit v1.2.3