summaryrefslogtreecommitdiff
path: root/static/website/templates/ajax-books.html
diff options
context:
space:
mode:
authorprashantsinalkar2019-06-28 21:44:43 +0530
committerprashantsinalkar2019-06-28 21:44:43 +0530
commit1473227a75101f5b76d6b522da5737df2f5eb058 (patch)
treedab59c0b7970a0b059d4eeb84aafd54e14ed47e9 /static/website/templates/ajax-books.html
parent459d1aec769f62570af51a3a53ebe0bce4a6754c (diff)
downloadR_on_Cloud_Web_Interface-1473227a75101f5b76d6b522da5737df2f5eb058.tar.gz
R_on_Cloud_Web_Interface-1473227a75101f5b76d6b522da5737df2f5eb058.tar.bz2
R_on_Cloud_Web_Interface-1473227a75101f5b76d6b522da5737df2f5eb058.zip
added basic interface for development
Diffstat (limited to 'static/website/templates/ajax-books.html')
-rw-r--r--static/website/templates/ajax-books.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/static/website/templates/ajax-books.html b/static/website/templates/ajax-books.html
new file mode 100644
index 0000000..2c8dbb0
--- /dev/null
+++ b/static/website/templates/ajax-books.html
@@ -0,0 +1,11 @@
+
+ <label>Book: </label>
+ <select id="books">
+ <option value="">Select Book </option>
+ {% for book in books %} {% if book_id == book.id %}
+ <option value="{{ book.id }}" selected>{{ book.book }} (by {{ book.author }})</option>
+ {% else %}
+ <option value="{{ book.id }}">{{ book.book }} (by {{ book.author }})</option>
+ {% endif %} {% endfor %}
+ </select>
+<a href="#" class="extra-link" id="download-book">Download Book</a>