From 9d5022533bfa5a6883417b81bee54619a40c3604 Mon Sep 17 00:00:00 2001 From: Lucas Kanashiro Date: Wed, 20 May 2015 09:38:10 -0300 Subject: [PATCH] Remove header and footer html to another file --- colab/templates/base.html | 117 +++++---------------------------------------------------------------------------------------------------------------- colab/templates/footer.html | 19 +++++++++++++++++++ colab/templates/header.html | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 124 insertions(+), 112 deletions(-) create mode 100644 colab/templates/footer.html create mode 100644 colab/templates/header.html diff --git a/colab/templates/base.html b/colab/templates/base.html index ed218f1..1690b9c 100644 --- a/colab/templates/base.html +++ b/colab/templates/base.html @@ -70,102 +70,8 @@ {% endblock %} {% block navbar %} - + + {% include "header.html" %} {% endblock %} @@ -196,22 +102,9 @@
 
{% block footer %} - + + {% include "footer.html" %} + {% endblock %} {% if not is_mobile %} diff --git a/colab/templates/footer.html b/colab/templates/footer.html new file mode 100644 index 0000000..d6e710d --- /dev/null +++ b/colab/templates/footer.html @@ -0,0 +1,19 @@ +{% load i18n browserid conversejs gravatar proxy %} +{% load static from staticfiles %} + + diff --git a/colab/templates/header.html b/colab/templates/header.html new file mode 100644 index 0000000..02cf273 --- /dev/null +++ b/colab/templates/header.html @@ -0,0 +1,100 @@ +{% load i18n browserid conversejs gravatar proxy %} +{% load static from staticfiles %} + + + -- libgit2 0.21.2