Commit 48eeebec authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: correctly displays right panel in view /viewLog

parent a85d892f
...@@ -434,6 +434,10 @@ padding: 10px;height: 80px;padding-bottom:15px;} ...@@ -434,6 +434,10 @@ padding: 10px;height: 80px;padding-bottom:15px;}
.gradient{background-color:#f4f4f4;background:-moz-linear-gradient(#f4f4f4,#ececec);background:-webkit-linear-gradient(#f4f4f4,#ececec);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4',endColorstr='#ececec')";background:linear-gradient(#f4f4f4,#ececec);} .gradient{background-color:#f4f4f4;background:-moz-linear-gradient(#f4f4f4,#ececec);background:-webkit-linear-gradient(#f4f4f4,#ececec);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4',endColorstr='#ececec')";background:linear-gradient(#f4f4f4,#ececec);}
#slapstate {
display: none;
}
.log_content{ .log_content{
border: solid 1px #519ADA; border: solid 1px #519ADA;
padding: 2px; padding: 2px;
......
...@@ -100,6 +100,11 @@ function getRunningState() { ...@@ -100,6 +100,11 @@ function getRunningState() {
} else if (data.software.state) { } else if (data.software.state) {
processType = "Software"; processType = "Software";
} }
//show accurate right panel
if (running) {
$("#slapstate").show();
$("#openloglist").hide();
}
writeLogs(data); writeLogs(data);
setRunningState(data); setRunningState(data);
if(data.result) { if(data.result) {
......
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