summaryrefslogtreecommitdiff
path: root/static/website/templates/ajax-examples.html
diff options
context:
space:
mode:
authorPrashant S2019-07-08 17:41:58 +0530
committerGitHub2019-07-08 17:41:58 +0530
commit2b9b960c698cd541300fbfa96dc2cec515852adc (patch)
treedcd5c68e36aa15a4611f935f0e1301abfa6a0043 /static/website/templates/ajax-examples.html
parent459d1aec769f62570af51a3a53ebe0bce4a6754c (diff)
parent83b6d468ecde055954d861a9ae7067d4e9439e34 (diff)
downloadR_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.html14
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>