Fix THREE.js import

pull/875/head
Piero Toffanin 2020-06-04 14:06:09 -04:00
rodzic 06c4dbd7c0
commit 2a05802f70
3 zmienionych plików z 46 dodań i 40 usunięć

Wyświetl plik

@ -1,12 +1,7 @@
{% extends "app/logged_in_base.html" %}
{% load i18n %}
{% block content %}
{% load render_bundle from webpack_loader %}
{% render_bundle 'ModelView' attrs='async' %}
<h3><i class="fa fa-cube"></i> {{title}}</h3>
{% block headers-before-bundle %}
<link rel="stylesheet" type="text/css" href="/static/app/js/vendor/potree/build/potree/potree.css">
<link rel="stylesheet" type="text/css" href="/static/app/js/vendor/potree/libs/jquery-ui/jquery-ui.min.css">
<link rel="stylesheet" type="text/css" href="/static/app/js/vendor/potree/libs/openlayers3/ol.css">
@ -26,6 +21,13 @@
<script src="/static/app/js/vendor/potree/libs/jstree/jstree.js"></script>
<script src="/static/app/js/vendor/potree/build/potree/potree.js"></script>
<script src="/static/app/js/vendor/potree/libs/plasio/js/laslaz.js"></script>
{% endblock %}
{% block content %}
{% load render_bundle from webpack_loader %}
{% render_bundle 'ModelView' attrs='async' %}
<h3><i class="fa fa-cube"></i> {{title}}</h3>
<div data-modelview class="full-height"
{% for key, value in params %}

Wyświetl plik

@ -21,6 +21,8 @@
<script src="{% static 'app/js/vendor/jquery-1.11.2.min.js' %}"></script>
<script src="{% static 'app/js/vendor/system.js' %}"></script>
{% block headers-before-bundle %}{% endblock %}
{% load render_bundle from webpack_loader %}
{% render_bundle 'main' %}

Wyświetl plik

@ -1,11 +1,6 @@
{% extends "app/public/base.html" %}
{% block content %}
{% load render_bundle from webpack_loader %}
{% render_bundle 'ModelView' attrs='async' %}
<h3><i class="fa fa-cube"></i> {{title}}</h3>
{% block headers-before-bundle %}
<link rel="stylesheet" type="text/css" href="/static/app/js/vendor/potree/build/potree/potree.css">
<link rel="stylesheet" type="text/css" href="/static/app/js/vendor/potree/libs/jquery-ui/jquery-ui.min.css">
<link rel="stylesheet" type="text/css" href="/static/app/js/vendor/potree/libs/openlayers3/ol.css">
@ -25,6 +20,13 @@
<script src="/static/app/js/vendor/potree/libs/jstree/jstree.js"></script>
<script src="/static/app/js/vendor/potree/build/potree/potree.js"></script>
<script src="/static/app/js/vendor/potree/libs/plasio/js/laslaz.js"></script>
{% endblock %}
{% block content %}
{% load render_bundle from webpack_loader %}
{% render_bundle 'ModelView' attrs='async' %}
<h3><i class="fa fa-cube"></i> {{title}}</h3>
<div data-modelview class="full-height"
{% for key, value in params %}