aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAeva Ntsc <aeva.ntsc@gmail.com>2012-10-16 01:55:04 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2012-12-03 14:40:48 -0600
commitee3f876867b2b195ae1d648234301938bbf5cf6f (patch)
treefc065712eb752bdc1b2b21985be78aaa94bcdcb8
parentde69f43aab86ac0005b9e1abc51b37c3035f3d63 (diff)
downloadmediagoblin-ee3f876867b2b195ae1d648234301938bbf5cf6f.tar.lz
mediagoblin-ee3f876867b2b195ae1d648234301938bbf5cf6f.tar.xz
mediagoblin-ee3f876867b2b195ae1d648234301938bbf5cf6f.zip
tweaking the template
-rw-r--r--mediagoblin/templates/mediagoblin/media_displays/stl.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/mediagoblin/templates/mediagoblin/media_displays/stl.html b/mediagoblin/templates/mediagoblin/media_displays/stl.html
index ceabbf04..6cc19b14 100644
--- a/mediagoblin/templates/mediagoblin/media_displays/stl.html
+++ b/mediagoblin/templates/mediagoblin/media_displays/stl.html
@@ -37,15 +37,20 @@
#top_view, #side_view, #front_view, #thingy_view {
display: none;
}
+.media_image {
+ cursor: inherit!important;
+}
+
</style>
+{% if media.media_data.file_type == "stl" %}
<script src="{{ request.staticdirect('/js/thingiview.js/Three.js') }}"></script>
<script src="{{ request.staticdirect('/js/thingiview.js/plane.js') }}"></script>
<script src="{{ request.staticdirect('/js/thingiview.js/thingiview.js') }}"></script>
+{% endif %}
<script type="text/javascript">
-
window.show = function (view_id) {
ids = [
"perspective",