From 4c685ed9bb20efbc969be7a1b29b3c24011e9549 Mon Sep 17 00:00:00 2001 From: Seth Woodworth Date: Mon, 21 Jan 2013 15:06:09 -0500 Subject: [PATCH] adding upload lightbox template and adding include to the course_detail page --- .../templates/courses/course_detail.html | 28 +++- karmaworld/templates/lightbox/upload.html | 150 ++++++++++++++++++ 2 files changed, 174 insertions(+), 4 deletions(-) create mode 100644 karmaworld/templates/lightbox/upload.html diff --git a/karmaworld/templates/courses/course_detail.html b/karmaworld/templates/courses/course_detail.html index 668585e..d9014cb 100644 --- a/karmaworld/templates/courses/course_detail.html +++ b/karmaworld/templates/courses/course_detail.html @@ -1,21 +1,31 @@ {% extends "base.html" %} {% load url from future %} + {% block pagescripts %} - + + {% endblock %} + {% block pagestyle %} {% endblock %} + +{% block lightboxen %} + {% include 'lightbox/upload.html' %} +{% endblock %} + + {% block title %} Share Notes for {{ course.name }} | {{ course.school.name }} {% endblock %} + {% block content %}
@@ -77,6 +87,16 @@ var course_name = "{{ course.name }}"; +
+
+
+
+ upload +
+
+
+
+
diff --git a/karmaworld/templates/lightbox/upload.html b/karmaworld/templates/lightbox/upload.html new file mode 100644 index 0000000..acdc66e --- /dev/null +++ b/karmaworld/templates/lightbox/upload.html @@ -0,0 +1,150 @@ +{% load url from future %} + + + -- 2.25.1