tweaking the template
authorAeva Ntsc <aeva.ntsc@gmail.com>
Tue, 16 Oct 2012 06:55:04 +0000 (01:55 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 3 Dec 2012 20:40:48 +0000 (14:40 -0600)
mediagoblin/templates/mediagoblin/media_displays/stl.html

index ceabbf049c590811bc7b5a29050b000603dba92c..6cc19b1420bca9a725ffa81f475f0d3abbd12645 100644 (file)
 #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",