A lot of cleaning

Avoid main.js of 500 lines, and factor what can be factored between
interactive, replay and tutorial
This commit is contained in:
Thomas FORGIONE
2015-07-08 18:28:45 +02:00
parent 6ef5a7c8fe
commit 619d16c66b
7 changed files with 270 additions and 400 deletions

View File

@@ -26,8 +26,6 @@ block content
nav.navbar.navbar-default.navbar-fixed-bottom
.container
block fullscreen
button#full.btn.btn-primary.navbar-btn(style={'margin-right': '10px', 'margin-bottom': '10px'}) Fullscreen
button#reset.btn.btn-primary.navbar-btn(style={'margin-right': '10px', 'margin-bottom':'10px'}) Reset camera
button#undo.btn.btn-default.navbar-btn(style={'margin-right': '10px', 'margin-bottom': '10px'})

View File

@@ -7,6 +7,7 @@ block extrajs
script Recommendation = L3D.ArrowRecommendation;
script var params = params || {}; params.get = params.get || {}; params.get.id = #{id};
script initMainScene = #{initjs}
script(src="/static/js/l3dp.min.js")
script(src="/static/js/replay.min.js")
block extrahead