sjy-ecos/views/origin.html

61 lines
1.6 KiB
HTML

<%- 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">
<% if (page_cont == 'inc') { %>
<% if (inc_tag == 'land_use') { %>
<%- include('inc/land_use.html') %>
<% } %>
<% if (inc_tag == 'meteorological') { %>
<%- include('inc/meteorological.html') %>
<% } %>
<% if (inc_tag == 'soil_and_water_conservation') { %>
<%- include('inc/soil_and_water_conservation.html') %>
<% } %>
<% 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') %>
<% } %>
<% if (inc_tag == 'wetland') { %>
<%- include('inc/wetland.html') %>
<% } %>
<% if (inc_tag == 'forage_yield') { %>
<%- include('inc/forage_yield.html') %>
<% } %>
<% if (inc_tag == 'env_quality_monitoring') { %>
<%- include('inc/env_quality_monitoring.html') %>
<% } %>
<% if (inc_tag == 'ecology') { %>
<%- include('inc/ecology.html') %>
<% } %>
<% } else { %>
<%- page_cont ? page_cont : '' %>
<% } %>
</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') %>