summaryrefslogtreecommitdiff
path: root/website/templates/ajax-chapters.html
diff options
context:
space:
mode:
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>