diff options
author | Jayaram R Pai | 2014-08-21 19:46:18 +0530 |
---|---|---|
committer | Jayaram R Pai | 2014-08-21 19:46:18 +0530 |
commit | 6349505c1b9cb638d562bd06a75a26109b106f0d (patch) | |
tree | aeed4f0c7a3b985ea735ec3c424f8504cea70eac /static/website/templates | |
parent | 1ced43baf6c586f6af51b13eeb72f24dc5906be2 (diff) | |
download | scilab-on-cloud-6349505c1b9cb638d562bd06a75a26109b106f0d.tar.gz scilab-on-cloud-6349505c1b9cb638d562bd06a75a26109b106f0d.tar.bz2 scilab-on-cloud-6349505c1b9cb638d562bd06a75a26109b106f0d.zip |
added lightbox to display plot
Diffstat (limited to 'static/website/templates')
-rw-r--r-- | static/website/templates/ajax-execute.html | 4 | ||||
-rw-r--r-- | static/website/templates/index.html | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/static/website/templates/ajax-execute.html b/static/website/templates/ajax-execute.html new file mode 100644 index 0000000..cb7ac66 --- /dev/null +++ b/static/website/templates/ajax-execute.html @@ -0,0 +1,4 @@ +<div> + <span id="output">{{ output }}</span> + <span id="plot">{% if plot_path %}<img src="{{ plot_path }}" style="width:400px;">{% endif %}</span> +</div> diff --git a/static/website/templates/index.html b/static/website/templates/index.html index 8caa608..bc06ea3 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -89,7 +89,7 @@ <textarea id="result"></textarea> </div> <!-- /#output --> <a id="bug" class="button">Report bug / Give Feedback</a> - + <div id="credits"> <small> Disclaimer: Scilab is a trademark of Inria @@ -103,12 +103,16 @@ </div> <!-- /#content-inner --> </div> <!-- /#content-wrapper --> + <div id="lightbox-me-wrapper"> + <div id="lightbox-me"></div> + </div> <!-- /#lightbox-me-wrapper --> <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> - <script src="{% static 'website/js/cloud.js'%}"></script> <script src="{% static 'website/js/codemirror.js'%}"></script> <script src="{% static 'website/js/javascript.js'%}"></script> <script src="{% static 'website/js/fullscreen.js'%}"></script> <script src="{% static 'website/js/placeholder.js'%}"></script> + <script src="{% static 'website/js/lightbox_me.js'%}"></script> + <script src="{% static 'website/js/cloud.js'%}"></script> <script> var editor = CodeMirror.fromTextArea(document.getElementById("code"), { lineNumbers: true, |