summaryrefslogtreecommitdiff
path: root/website/templates/ajax-chapters.html
diff options
context:
space:
mode:
authorJayaram R Pai2014-09-15 14:39:01 +0530
committerJayaram R Pai2014-09-15 14:39:01 +0530
commit5f2e6accc9a0b790cccf1eba972123817ec7552a (patch)
treeb01ead8397b358d437dcdd3e1ef3b84163335a69 /website/templates/ajax-chapters.html
parent674e4c3dc687d9ae4c2db742e9bc9f1a9887b082 (diff)
downloadscilab-on-cloud-5f2e6accc9a0b790cccf1eba972123817ec7552a.tar.gz
scilab-on-cloud-5f2e6accc9a0b790cccf1eba972123817ec7552a.tar.bz2
scilab-on-cloud-5f2e6accc9a0b790cccf1eba972123817ec7552a.zip
added tornado server config file
Diffstat (limited to 'website/templates/ajax-chapters.html')
-rw-r--r--website/templates/ajax-chapters.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/website/templates/ajax-chapters.html b/website/templates/ajax-chapters.html
new file mode 100644
index 0000000..5f39ba5
--- /dev/null
+++ b/website/templates/ajax-chapters.html
@@ -0,0 +1,10 @@
+{% if chapters %}
+<label>Chapter: </label>
+<select id="chapters">
+ <option value="">Select Chapter</option>
+{% for chapter in chapters %}
+ <option value="{{ chapter.id }}">{{ chapter.number }} - {{ chapter.name }}</option>
+{% endfor %}
+</select>
+{% endif %}
+<a href="#" class="extra-link" id="download-chapter">Download Chapter</a>