summaryrefslogtreecommitdiff
path: root/static/website/templates/index.html
diff options
context:
space:
mode:
authorprashantsinalkar2019-07-15 18:05:56 +0530
committerprashantsinalkar2019-07-15 18:05:56 +0530
commit1eb42aaee7646186bd74ed9830c85ed84ad115b4 (patch)
tree6f05303fd68ba6da92d5a157acc03038d5a34ab9 /static/website/templates/index.html
parentb7039f4b7c8fa3b725b90e97e7a3a76839d710fb (diff)
downloadR_on_Cloud_Web_Interface-1eb42aaee7646186bd74ed9830c85ed84ad115b4.tar.gz
R_on_Cloud_Web_Interface-1eb42aaee7646186bd74ed9830c85ed84ad115b4.tar.bz2
R_on_Cloud_Web_Interface-1eb42aaee7646186bd74ed9830c85ed84ad115b4.zip
added file upload option
Diffstat (limited to 'static/website/templates/index.html')
-rw-r--r--static/website/templates/index.html27
1 files changed, 25 insertions, 2 deletions
diff --git a/static/website/templates/index.html b/static/website/templates/index.html
index 56989ab..d431a4c 100644
--- a/static/website/templates/index.html
+++ b/static/website/templates/index.html
@@ -215,6 +215,29 @@
<br>
<input type="hidden" id="session_id" name="session_id" value="{{ session_id }}">
<a id="execute" class="btn btn-dark text-white"><span id="execute-inner">Execute</span></a>
+ <!-- Trigger the modal with a button -->
+ <button id="uploaddataset" type="button" class="btn btn-dark text-white" data-toggle="modal" data-target="#uploaddatasetModal">Upload Dataset</button>
+ <button id="reset" type="button" class="btn btn-dark text-white" data-dismiss="modal">Reset</button>
+
+ <!-- Modal -->
+ <div class="modal fade" id="uploaddatasetModal" role="dialog">
+ <div class="modal-dialog">
+ <!-- Modal content-->
+ <div class="modal-content">
+ <div class="modal-header">
+ </div>
+ <div class="modal-body">
+<form>
+ <input type="file" id="fileSelect"/>
+ <button id="fileuploadsubmit" type="button" >Upload</button>
+</form>
+ </div>
+ <div class="modal-footer">
+ <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
+ </div>
+ </div>
+ </div>
+ </div>
</div>
</div>
@@ -571,14 +594,14 @@
</div>
</div>
<!-- Global site tag (gtag.js) - Google Analytics -->
- <script async src="https://www.googletagmanager.com/gtag/js?id=UA-82999923-4"></script>
+ <!-- <script async src="https://www.googletagmanager.com/gtag/js?id=UA-82999923-4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-82999923-4');
- </script>
+ </script> -->
<!-- -- diff wrapper ends---------------------------------- -->
<script src="{% static 'website/bootstrap-4.1.0/js/jquery.min.js' %}"></script>
<script src="{% static 'website/bootstrap-4.1.0/js/popper.min.js' %}"></script>