From 7d83685d2c04161e58416e3ad4834c4537086407 Mon Sep 17 00:00:00 2001 From: Shane Frischkorn Date: Sat, 14 Sep 2013 21:26:54 +1000 Subject: [PATCH] Added a base template --- .../templates/three_d_viewer/base.html | 39 +++++++++++++++++++ .../templates/three_d_viewer/home.html | 32 +-------------- 2 files changed, 40 insertions(+), 31 deletions(-) create mode 100644 three_d_viewer/templates/three_d_viewer/base.html diff --git a/three_d_viewer/templates/three_d_viewer/base.html b/three_d_viewer/templates/three_d_viewer/base.html new file mode 100644 index 0000000..8b428cf --- /dev/null +++ b/three_d_viewer/templates/three_d_viewer/base.html @@ -0,0 +1,39 @@ +{% load static %} +{% load dajaxice_templatetags %} + + + + {% block title %}3D Sample Viewer{% endblock %} + + + + + + + +
+ + +
+
+ {% block sidebar %} +
+ {% include "three_d_viewer/sampletree.html" %} +
+ {% endblock %} +
+ +
+ {% block content %} +

Put some intro text sort of stuff here

+ {% endblock %} +
+
+
+ \ No newline at end of file diff --git a/three_d_viewer/templates/three_d_viewer/home.html b/three_d_viewer/templates/three_d_viewer/home.html index d893d36..b7b7f1f 100644 --- a/three_d_viewer/templates/three_d_viewer/home.html +++ b/three_d_viewer/templates/three_d_viewer/home.html @@ -1,31 +1 @@ -{% load static %} -{% load dajaxice_templatetags %} - - - - 3D Sample Viewer - - - - - - -
- - -
-
-
- {% include "three_d_viewer/sampletree.html" %} -
-
-
-

Put some intro text sort of stuff here -

-
- \ No newline at end of file +{% extends "three_d_viewer/base.html" %}