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:
@@ -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'})
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user