diff options
Diffstat (limited to 'webapp/templates')
-rw-r--r-- | webapp/templates/jigerator.html | 11 |
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">© 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> |