From c1f67b9bbde6c6098e31d4bb44d13b9e7600373a Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Mon, 24 Mar 2014 18:44:06 +0530 Subject: adding js to validate content --- tbc/templates/tbc/upload-content.html | 54 +++++++++++++++++++++++++++++++---- 1 file changed, 49 insertions(+), 5 deletions(-) diff --git a/tbc/templates/tbc/upload-content.html b/tbc/templates/tbc/upload-content.html index bb0b26c..80aa815 100644 --- a/tbc/templates/tbc/upload-content.html +++ b/tbc/templates/tbc/upload-content.html @@ -1,21 +1,65 @@ {% extends 'base.html' %} + +{% block script %} + +{% endblock %} + {% block content %}

Upload chapters as individual IPython notebooks

{% csrf_token %} {% for i in no_notebooks %} - - + + {% endfor %}

Upload screenshots of Plots/Graphs/Charts(if any) "that you have plotted" and not from the textbook itself from any cahpter. If there are no plots/graphs/charts, then upload a screenshot of any chapter. Give proper captions for each of them. Only .png files are acceptable.

{% for i in no_images %} - - + + {% endfor %} -
+
{% endblock %} -- cgit