diff options
author | Aeva Ntsc <aeva.ntsc@gmail.com> | 2012-10-16 01:55:04 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-12-03 14:40:48 -0600 |
commit | ee3f876867b2b195ae1d648234301938bbf5cf6f (patch) | |
tree | fc065712eb752bdc1b2b21985be78aaa94bcdcb8 | |
parent | de69f43aab86ac0005b9e1abc51b37c3035f3d63 (diff) | |
download | mediagoblin-ee3f876867b2b195ae1d648234301938bbf5cf6f.tar.lz mediagoblin-ee3f876867b2b195ae1d648234301938bbf5cf6f.tar.xz mediagoblin-ee3f876867b2b195ae1d648234301938bbf5cf6f.zip |
tweaking the template
-rw-r--r-- | mediagoblin/templates/mediagoblin/media_displays/stl.html | 7 |
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", |