tweaking the template
This commit is contained in:
parent
de69f43aab
commit
ee3f876867
@ -37,15 +37,20 @@
|
|||||||
#top_view, #side_view, #front_view, #thingy_view {
|
#top_view, #side_view, #front_view, #thingy_view {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
.media_image {
|
||||||
|
cursor: inherit!important;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</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/Three.js') }}"></script>
|
||||||
<script src="{{ request.staticdirect('/js/thingiview.js/plane.js') }}"></script>
|
<script src="{{ request.staticdirect('/js/thingiview.js/plane.js') }}"></script>
|
||||||
<script src="{{ request.staticdirect('/js/thingiview.js/thingiview.js') }}"></script>
|
<script src="{{ request.staticdirect('/js/thingiview.js/thingiview.js') }}"></script>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
window.show = function (view_id) {
|
window.show = function (view_id) {
|
||||||
ids = [
|
ids = [
|
||||||
"perspective",
|
"perspective",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user