diff options
Diffstat (limited to 'static/website/templates/ajax-chapters.html')
-rw-r--r-- | static/website/templates/ajax-chapters.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/static/website/templates/ajax-chapters.html b/static/website/templates/ajax-chapters.html new file mode 100644 index 0000000..a3fda7b --- /dev/null +++ b/static/website/templates/ajax-chapters.html @@ -0,0 +1,11 @@ + + <label>Chapter: </label> + <select id="chapters"> + <option value="">Select Chapter</option> + {% for chapter in chapters %} {% if chapter_id == chapter.id %} + <option value="{{ chapter.id }}" selected>{{ chapter.number }} - {{ chapter.name }}</option> + {% else %} + <option value="{{ chapter.id }}">{{ chapter.number }} - {{ chapter.name }}</option> + {% endif %} {% endfor %} + </select> +<a href="#" class="extra-link" id="download-chapter">Download Chapter</a> |