Commit 7ab7f822 authored by Ryan Herbert's avatar Ryan Herbert

index.html main.js fix vmi divs/panels

let vmi create the divs visu and visu2
parent 9d78a1f0
......@@ -334,7 +334,6 @@
<!-- VISU-CONTAINER -->
<div id="visu-container">
<div id="visu2"></div>
<div id="visu-separator" >...
<div class="visu2_menu_anchor devel-mode">
<div class="visu2_menu">
......@@ -352,7 +351,6 @@
</div>
</div>
</div>
<div id="visu" onclick=""></div>
</div>
</div>
......
......@@ -49,6 +49,18 @@ var db = new Database(m);
var notification = new Notification(m)
try {
var vmi = new VMI();
vmi.setupHTML();
var panel_instructions = {'mid-container': [{"left-container": ["info-row", "list-row", "data-row"]}, "visu-container", "bot-container"]};
vmi.setupPanels(panel_instructions);
vmi.addView("info", "info-row", "");
vmi.addView("list", "list-row", "");
vmi.addView("data", "data-row", "");
vmi.addView("visu", "visu-container", "");
vmi.addView("visu2", "visu-container", "");
vmi.setOverlays(["info-row", "list-row", "data-row", "visu-container", "bot-container"]);
/* Views
* Each view is rendered inside a <div> html element (whose id is given as the first paramter),
* and kept sync with the model given as the other parameter (here 'm').
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment