sjy-ecos/views/origin.html

61 lines
1.6 KiB
HTML
Raw Normal View History

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') { %>
<% if (inc_tag == 'land_use') { %>
<%- include('inc/land_use.html') %>
<% } %>
2016-12-26 04:22:48 +00:00
<% if (inc_tag == 'meteorological') { %>
<%- include('inc/meteorological.html') %>
<% } %>
2016-12-26 05:11:03 +00:00
<% if (inc_tag == 'soil_and_water_conservation') { %>
<%- include('inc/soil_and_water_conservation.html') %>
<% } %>
2016-12-26 07:41:30 +00:00
<% if (inc_tag == 'grass') { %>
<%- include('inc/grass.html') %>
<% } %>
<% if (inc_tag == 'soil_erosion') { %>
<%- include('inc/soil_erosion.html') %>
<% } %>
<% if (inc_tag == 'forest') { %>
<%- include('inc/forest.html') %>
<% } %>
<% if (inc_tag == 'water') { %>
<%- include('inc/water.html') %>
<% } %>
<% if (inc_tag == 'desertification') { %>
<%- include('inc/desertification.html') %>
<% } %>
2016-12-26 08:00:38 +00:00
<% if (inc_tag == 'wetland') { %>
<%- include('inc/wetland.html') %>
<% } %>
2016-12-26 08:04:56 +00:00
<% if (inc_tag == 'forage_yield') { %>
<%- include('inc/forage_yield.html') %>
<% } %>
2016-12-26 08:08:58 +00:00
<% if (inc_tag == 'env_quality_monitoring') { %>
<%- include('inc/env_quality_monitoring.html') %>
<% } %>
2016-12-26 09:39:53 +00:00
<% if (inc_tag == 'ecology') { %>
<%- include('inc/ecology.html') %>
<% } %>
2016-12-26 04:00:57 +00:00
<% } else { %>
<%- page_cont ? page_cont : '' %>
<% } %>
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,
enableLinks: true
});
});
</script>
<%- include('comm/footer.html') %>