add the opentip html template (oops)
authorSeth Woodworth <seth@sethish.com>
Wed, 28 Aug 2013 21:22:49 +0000 (17:22 -0400)
committerSeth Woodworth <seth@sethish.com>
Wed, 28 Aug 2013 21:22:49 +0000 (17:22 -0400)
karmaworld/templates/partial/opentip.html [new file with mode: 0644]

diff --git a/karmaworld/templates/partial/opentip.html b/karmaworld/templates/partial/opentip.html
new file mode 100644 (file)
index 0000000..31f99e4
--- /dev/null
@@ -0,0 +1,25 @@
+{% comment %}
+Integrate opentip seamlessly into any page, just use:
+
+`{% include 'partial/opentip/html' %}`
+anywhere in another template and then apply something like this:
+
+
+    <i
+      data-ot="Upload directly to this course"
+      data-ot-target="true"
+      data-ot-tip-joint="top center"
+      data-ot-target-joint="bottom center"
+      data-ot-background="white"
+      data-ot-border-color="black"
+      class="icon-upload opentip"></i>
+
+to create a Font Awesome with a rollover opentip
+
+{% endcomment %}
+
+
+{% block opentip %}
+  <script src="{{ STATIC_URL }}js/opentip-jquery-excanvas.min.js"></script>
+  <link rel="stylesheet" href="{{ STATIC_URL }}css/vendor/opentip.css"> <!-- opentip -->
+{% endblock %}