diff options
author | Prashant S | 2019-07-08 17:41:58 +0530 |
---|---|---|
committer | GitHub | 2019-07-08 17:41:58 +0530 |
commit | 2b9b960c698cd541300fbfa96dc2cec515852adc (patch) | |
tree | dcd5c68e36aa15a4611f935f0e1301abfa6a0043 /static/website/templates/ajax-books.html | |
parent | 459d1aec769f62570af51a3a53ebe0bce4a6754c (diff) | |
parent | 83b6d468ecde055954d861a9ae7067d4e9439e34 (diff) | |
download | R_on_Cloud_Web_Interface-2b9b960c698cd541300fbfa96dc2cec515852adc.tar.gz R_on_Cloud_Web_Interface-2b9b960c698cd541300fbfa96dc2cec515852adc.tar.bz2 R_on_Cloud_Web_Interface-2b9b960c698cd541300fbfa96dc2cec515852adc.zip |
Merge pull request #1 from prashantsinalkar/master
Created web interface to connect with R api
Diffstat (limited to 'static/website/templates/ajax-books.html')
-rw-r--r-- | static/website/templates/ajax-books.html | 11 |
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> |