summaryrefslogtreecommitdiff
path: root/webapp/templates
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2019-09-29 16:23:32 +0200
committerjaseg <code@jaseg.net>2019-09-29 16:23:32 +0200
commit04b34f73c1e0023ce4abdb9f1c9f0d9175247624 (patch)
tree9369f5d6c6eafbf9a8fbe82343af2e858a1af9cc /webapp/templates
parente7ec6efd7f6a9f26b276c01500bdf941259e8a0a (diff)
downloadpogojig-04b34f73c1e0023ce4abdb9f1c9f0d9175247624.tar.gz
pogojig-04b34f73c1e0023ce4abdb9f1c9f0d9175247624.tar.bz2
pogojig-04b34f73c1e0023ce4abdb9f1c9f0d9175247624.zip
Fix jigerator file output
Diffstat (limited to 'webapp/templates')
-rw-r--r--webapp/templates/jigerator.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/webapp/templates/jigerator.html b/webapp/templates/jigerator.html
index e89228b..66dc9c0 100644
--- a/webapp/templates/jigerator.html
+++ b/webapp/templates/jigerator.html
@@ -103,11 +103,12 @@
<div class="render_output">
{% if has_renders %}
+ <a href="{{url_for('render_download', file='sources.zip')}}" class="btn green render">Download renders</a>
+ {#
<div class="preview-images">
- <a href="{{url_for('render_download', file='sources.zip')}}" class="render">Download renders</a>
-
- <div id="stl-target" class="madeleine"></div>
+ <div id="stl-target" class="madeleine"></div>
</div>
+ #}
{% elif 'render_job' in session and not has_renders %}
<div class="loading-message">
<div class="lds-ring"><div></div><div></div><div></div><div></div></div>
@@ -132,6 +133,7 @@
<div class="copyright">&#169; 2019 jaseg</div>
</div>
</div>
+ {#
{% if has_renders %}
<!-- STL viewer -->
<link href="static/Madeleine.js/src/css/Madeleine.css" rel="stylesheet">
@@ -144,10 +146,11 @@
var madeleine = new Madeleine({
target: 'stl-target', // target div id
data: '{{url_for('render_download', file='jig.stl')}}', // data path
- path: '.' // path to source directory from current html file
+ path: 'static/Madeleine.js/src' // path to source directory from current html file
});
};
</script>
{% endif %}
+ #}
</body>
</html>