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-examples.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-examples.html')
-rw-r--r-- | static/website/templates/ajax-examples.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/static/website/templates/ajax-examples.html b/static/website/templates/ajax-examples.html new file mode 100644 index 0000000..a8ba090 --- /dev/null +++ b/static/website/templates/ajax-examples.html @@ -0,0 +1,14 @@ + + <label>Example: </label> + <select id="examples"> + <option value="0">Select Example</option> + <!-- <! modified option value > --> + + {% for example in examples %} {% if eid == example.id %} + <option value="{{ example.id }}" selected>{{ example.number }} - {{ example.caption }}</option> + {% else %} + <option value="{{ example.id }}">{{ example.number }} - {{ example.caption }}</option> + {% endif %} {% endfor %} + </select> + +<a href="#" class="extra-link" id="download-example">Download Example</a> |