2016-12-23 10:16:12 +00:00
|
|
|
<%- include('comm/header.html') %>
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-3 col-xs-12">
|
|
|
|
<div id="tree"></div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-9 col-xs-12">
|
2016-12-26 04:00:57 +00:00
|
|
|
<% if (page_cont == 'inc') { %>
|
2017-01-09 08:41:53 +00:00
|
|
|
<%- include('inc/' + inc_tag) %>
|
2016-12-26 04:00:57 +00:00
|
|
|
<% } %>
|
2016-12-23 10:16:12 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(function () {
|
|
|
|
var $tree = $('#tree').treeview({
|
|
|
|
levels: 666,
|
|
|
|
data: json_tree_origin,
|
|
|
|
showBorder: false,
|
2018-01-28 18:12:59 +00:00
|
|
|
enableLinks: true,
|
|
|
|
selectedBackColor: "#1DA57A"
|
2016-12-23 10:16:12 +00:00
|
|
|
});
|
2017-01-12 07:33:58 +00:00
|
|
|
$('.navbar-nav li a').each(function () {
|
|
|
|
if ($(this).attr('href') == '/origin') {
|
2018-01-28 18:12:59 +00:00
|
|
|
$(this).addClass('active');
|
2017-01-12 07:57:35 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
$('.treeview ul.list-group li a').each(function () {
|
|
|
|
if ($($(this))[0].href == String(window.location)) {
|
|
|
|
$(this).parent().css("color", "#fff");
|
2018-01-28 18:12:59 +00:00
|
|
|
$(this).parent().css("background-color", "#1DA57A");
|
2017-01-12 07:33:58 +00:00
|
|
|
}
|
|
|
|
});
|
2017-01-12 11:20:56 +00:00
|
|
|
$(window).on('resize', function () {
|
|
|
|
$('.bt_table').bootstrapTable('resetView');
|
|
|
|
});
|
2016-12-23 10:16:12 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<%- include('comm/footer.html') %>
|