* update ei tab

This commit is contained in:
tix 2017-02-07 14:40:44 +08:00
parent 43bd4d3a29
commit f2b8ff2382
1 changed files with 16 additions and 7 deletions

View File

@ -5,7 +5,16 @@
<div id="tree"></div> <div id="tree"></div>
</div> </div>
<div class="col-md-9 col-xs-12"> <div class="col-md-9 col-xs-12">
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" href="#home">评估结果</a></li>
<li><a data-toggle="tab" href="#menu1">技术规范</a></li>
<li><a data-toggle="tab" href="#menu2">数据源</a></li>
</ul>
<div class="tab-content">
<div id="home" class="tab-pane fade in active"><h4>评估结果</h4></div>
<div id="menu1" class="tab-pane fade"><h4>技术规范</h4></div>
<div id="menu2" class="tab-pane fade"><h4>数据源</h4></div>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -22,12 +31,12 @@
$(this).parent().addClass('active'); $(this).parent().addClass('active');
} }
}); });
/* $('.treeview ul.list-group li a').each(function () { /* $('.treeview ul.list-group li a').each(function () {
if ($($(this))[0].href == String(window.location)) { if ($($(this))[0].href == String(window.location)) {
$(this).parent().css("color", "#fff"); $(this).parent().css("color", "#fff");
$(this).parent().css("background-color", "#428bca"); $(this).parent().css("background-color", "#428bca");
} }
})*/ })*/
}); });
</script> </script>
<%- include('comm/footer.html') %> <%- include('comm/footer.html') %>