From 4b21cc701c61e39e4aac54e06c938fabb1e3f556 Mon Sep 17 00:00:00 2001 From: Audrey Roy Date: Sat, 18 May 2013 12:49:08 +0200 Subject: [PATCH] Breakout index/base templates --- djadmin2/templates/admin2/bootstrap/base.html | 19 +++++++++++++++++++ .../templates/admin2/bootstrap/index.html | 9 ++++----- 2 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 djadmin2/templates/admin2/bootstrap/base.html diff --git a/djadmin2/templates/admin2/bootstrap/base.html b/djadmin2/templates/admin2/bootstrap/base.html new file mode 100644 index 0000000..06daaf9 --- /dev/null +++ b/djadmin2/templates/admin2/bootstrap/base.html @@ -0,0 +1,19 @@ + + + + django-admin2 + + + + + +
+ {% block content %}{% endblock %} +
+ + + + {% block extrajs %}{% endblock %} + + + \ No newline at end of file diff --git a/djadmin2/templates/admin2/bootstrap/index.html b/djadmin2/templates/admin2/bootstrap/index.html index 2a524a3..402f1df 100644 --- a/djadmin2/templates/admin2/bootstrap/index.html +++ b/djadmin2/templates/admin2/bootstrap/index.html @@ -1,5 +1,6 @@ - - +{% extends "admin/base.html" %} + +{% block content %}

Index

@@ -7,6 +8,4 @@ {% endfor %}
{{ obj. }}
- - - \ No newline at end of file +{% endblock content %}