summaryrefslogtreecommitdiff
path: root/static/website/templates
diff options
context:
space:
mode:
Diffstat (limited to 'static/website/templates')
-rw-r--r--static/website/templates/ajax-execute.html4
-rw-r--r--static/website/templates/index.html8
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,