Commit 74ded6b1 authored by Ryan Herbert's avatar Ryan Herbert

reoragnise panels for vmi

remove the info-row, list-row and data-row divs and place their
corresponding content directly into left-container.
parent 4e290fcc
......@@ -176,6 +176,7 @@ ul{
#left-container {
display: flex;
flex-flow: column;
position: relative;
width : @width_left_container;
overflow-y : none;
-khtml-user-select: auto;
......@@ -201,15 +202,11 @@ line {
/* left-container - info */
#info-row{
flex: 0 1 auto;
}
#info{
flex: 0 0 auto;
font-size: 13px;
padding:3px;
background : @background;
display : table-cell;
}
.info_line {
......@@ -523,15 +520,11 @@ line {
border-color : @border;
}
#list-row, #info-row, #data-row{
position: relative;
}
#list-row{
#list{
flex: 1 1 auto;
}
#data-row{
#data{
flex: 0 0 auto;
height : 0.1px;
}
......
......@@ -321,9 +321,6 @@
<!-- LEFT-CONTAINER -->
<div id="left-container">
<div id="info-row"><div id="info"> </div></div>
<div id="list-row"><div id="list"> </div></div>
<div id="data-row"><div id="data"> </div></div>
</div>
<!-- fin left-container -->
......
......@@ -51,12 +51,12 @@ var notification = new Notification(m)
try {
var vmi = new VMI();
vmi.setupDrawer();
var panel_instructions = {'mid-container': [{"left-container": ["info-row", "list-row", "data-row"]}, "visu-container", "bot-container"]};
vmi.setupPanels(panel_instructions);
var panel_instructions = [{'mid-container': ["left-container", "visu-container"]},"bot-container"];
vmi.setupPanels(panel_instructions, document.body);
vmi.addView("info", "info-row", "");
vmi.addView("list", "list-row", "");
vmi.addView("data", "data-row", "");
vmi.addView("info", "left-container", "");
vmi.addView("list", "left-container", "");
vmi.addView("data", "left-container", "");
vmi.addView("visu", "visu-container", "");
vmi.addView("visu2", "visu-container", "");
vmi.setOverlays(["info-row", "list-row", "data-row", "visu-container", "bot-container"]);
......
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