finish env template

This commit is contained in:
2020-08-10 23:00:44 +08:00
parent f0418bc0ed
commit 6fb9235b1b
8 changed files with 105 additions and 38 deletions

View File

@ -0,0 +1,17 @@
table.envOutput {
border: 1px solid black;
}
table.envOutput tr:nth-child(odd) {
background:gray;
}
table.envOutput tr:nth-child(2n) {
background:white;
}
table.envOutput tr:nth-child(1) td {
background: blue;
color: white;
border: 1px solid black;
}

View File

@ -0,0 +1,3 @@
function doQuery(fieldIndex, queryTag) {
;
}

View File

@ -117,35 +117,3 @@ function queryInfo(obj) {
}
});
}
function sidePanelSwitcher(target) {
// 0->property; 1->display; 2->tools
//disable all
$("#sidepanel-properties").hide();
$("#sidepanel-display").hide();
$("#sidepanel-tools").hide();
$(".tabitem").each(function () {
$(this).removeClass("tabitem-activated").addClass("tabitem-deactivated");
});
switch (target) {
case 0:
$("#sidepanel-properties").show();
$(".tabitem1").each(function () {
$(this).removeClass("tabitem-deactivated").addClass("tabitem-activated");
});
break;
case 1:
$("#sidepanel-display").show();
$(".tabitem2").each(function () {
$(this).removeClass("tabitem-deactivated").addClass("tabitem-activated");
});
break;
case 2:
$("#sidepanel-tools").show();
$(".tabitem3").each(function () {
$(this).removeClass("tabitem-deactivated").addClass("tabitem-activated");
});
break;
}
}