<!DOCTYPE html>
<html>

<head>

    <!-- <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1"> -->
    <!-- <link rel="stylesheet" href="/static/css/bootstrap.min.css">
    <script src="/static/js/jquery.min.js"></script>
    <script src="/static/js/popper.min.js"></script>
    <script src="/static/js/bootstrap.min.js"></script> -->

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Creative - Bootstrap 3 Responsive Admin Template">
    <meta name="author" content="GeeksLabs">
    <meta name="keyword" content="Creative, Dashboard, Admin, Template, Theme, Bootstrap, Responsive, Retina, Minimal">
    <link rel="shortcut icon" href="/static/img/favicon.png">

    <title>医药知识图谱</title>

    <!-- Bootstrap CSS -->
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <!-- bootstrap theme -->
    <link href="/static/css/bootstrap-theme.css" rel="stylesheet">
    <!--external css-->
    <!-- font icon -->
    <link href="/static/css/elegant-icons-style.css" rel="stylesheet" />
    <link href="/static/css/font-awesome.min.css" rel="stylesheet" />
    <!-- full calendar css-->
    <!-- <link href="/static/assets/fullcalendar/fullcalendar/bootstrap-fullcalendar.css" rel="stylesheet" />
    <link href="/static/assets/fullcalendar/fullcalendar/fullcalendar.css" rel="stylesheet" /> -->
    <!-- easy pie chart-->
    <!-- <link href="/static/assets/jquery-easy-pie-chart/jquery.easy-pie-chart.css" rel="stylesheet" type="text/css" media="screen" /> -->
    <!-- owl carousel -->
    <!-- <link rel="stylesheet" href="/static/css/owl.carousel.css" type="text/css">
    <link href="/static/css/jquery-jvectormap-1.2.2.css" rel="stylesheet"> -->
    <!-- Custom styles -->
    <!-- <link rel="stylesheet" href="/static/css/fullcalendar.css"> -->
    <!-- <link href="/static/css/widgets.css" rel="stylesheet"> -->
    <link href="/static/css/style.css" rel="stylesheet">
    <!-- <link href="/static/css/style-responsive.css" rel="stylesheet" /> -->
    <!-- <link href="/static/css/xcharts.min.css" rel=" stylesheet"> -->
    <link href="/static/css/jquery-ui-1.10.4.min.css" rel="stylesheet">
    <link href="/static/css/tagcloud.css" rel="stylesheet">
    <link href="/static/css/tree_style.css" rel="stylesheet">
    <!--Footable CSS-->
    <link href="/static/css/footable.bootstrap.min.css" rel="stylesheet">



    <!-- HTML5 shim and Respond.js IE8 support of HTML5 -->
    <!--[if lt IE 9]>
      <script src="js/html5shiv.js"></script>
      <script src="js/respond.min.js"></script>
      <script src="js/lte-ie7.js"></script>
    <![endif]-->

</head>

<body>
    <section id="container" class="">
        <header class="header dark-bg">
            <div class="toggle-nav">
                <div class="icon-reorder tooltips" data-original-title="隐藏/显示侧栏" data-placement="bottom">
                    <i class="fa fa-bars" aria-hidden="true"></i>
                </div>
            </div>

            <!--logo start-->
            <a href="/" class="logo"> 医药知识图谱 <span class="lite"></span></a>
            <!--logo end-->
        </header>
        <!--header end-->

        <!--sidebar start-->
        <aside>
            <div id="sidebar" class="nav-collapse ">
                <!-- sidebar menu start-->
                <ul class="sidebar-menu">
                    <li class="active">
                        <a class="" href="/">
                            <i class="icon_house_alt"></i>
                            <span>实体识别</span>
                        </a>
                    </li>

                    <li>
                        <a class="" href="/search_entity">
                            <i class="icon_genius"></i>
                            <span>医药实体查询</span>
                        </a>
                    </li>

                     <li>
                        <a class="" href="/search_relation">
                            <i class=" social_googledrive"></i>
                            <span>医药关系查询</span>
                        </a>
                    </li>

                    <li>
                        <a class="" href="/qa">
                            <i class="icon_chat_alt"></i>
                            <span>医药知识图谱问答</span>
                        </a>
                    </li>

                </ul>
                <!-- sidebar menu end-->
            </div>
        </aside>
        <!--sidebar end-->
        <!--main content start-->
        <section id="main-content">
            <section class="wrapper">

                {% block mainbody %}
                <p>original page</p>
                {% endblock %}

            </section>
        </section>
    </section>

    <!-- javascripts -->
    <script src="/static/js/jquery-1.8.3.min.js"></script>
    <script src="/static/js/jquery-ui-1.10.4.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery-ui-1.9.2.custom.min.js"></script>

    <script src="/static/js/popper.min.js"></script>
    <!-- bootstrap -->
    <script src="/static/js/bootstrap.min.js"></script>
    <!-- nice scroll -->
    <script src="/static/js/jquery.scrollTo.min.js"></script>
    <script src="/static/js/jquery.nicescroll.js" type="text/javascript"></script>
    <!-- charts scripts -->
    <script src="/static/assets/jquery-knob/js/jquery.knob.js"></script>
    <!-- <script src="/static/js/jquery.sparkline.js" type="text/javascript"></script> -->
    <!-- <script src="/static/assets/jquery-easy-pie-chart/jquery.easy-pie-chart.js"></script> -->
    <script src="/static/js/owl.carousel.js"></script>
    <!-- jQuery full calendar -->
    <!-- <script src="/static/js/fullcalendar.min.js"></script> -->
    <!-- Full Google Calendar - Calendar -->
    <!-- <script src="/static/assets/fullcalendar/fullcalendar/fullcalendar.js"></script> -->
    <!--script for this page only-->
    <!-- <script src="/static/js/calendar-custom.js"></script> -->
    <!-- <script src="/static/js/jquery.rateit.min.js"></script> -->
    <!-- custom select -->
    <script src="/static/js/jquery.customSelect.min.js"></script>
    <!-- <script src="/static/assets/chart-master/Chart.js"></script> -->


    <!-- custom script for this page-->
    <!-- <script src="/static/js/sparkline-chart.js"></script> -->
    <!-- <script src="/static/js/easy-pie-chart.js"></script> -->
    <script src="/static/js/jquery-jvectormap-1.2.2.min.js"></script>
    <script src="/static/js/jquery-jvectormap-world-mill-en.js"></script>
    <!-- <script src="/static/js/xcharts.min.js"></script> -->
    <!-- <script src="/static/js/jquery.autosize.min.js"></script> -->
    <!-- <script src="/static/js/jquery.placeholder.min.js"></script> -->
    <script src="/static/js/gdp-data.js"></script>
    <!-- <script src="/static/js/morris.min.js"></script> -->
    <!-- <script src="/static/js/sparklines.js"></script> -->
    <!-- <script src="/static/js/charts.js"></script> -->
    <!-- <script src="/static/js/jquery.slimscroll.min.js"></script> -->

    <!-- bootstrap-wysiwyg -->
    <!-- <script src="/static/js/jquery.hotkeys.js"></script>
    <script src="/static/js/bootstrap-wysiwyg.js"></script>
    <script src="/static/js/bootstrap-wysiwyg-custom.js"></script> -->

    <script src="/static/js/gritter.js" type="text/javascript"></script>
     <!-- <script src="/static/js/form-component.js"></script> -->
    <!--custome script for all page-->
    <script src="/static/js/scripts.js"></script>
    <script src="/static/js/tagcloud.min.js"></script>

    <!--Footable-->
    <script src="/static/js/footable.min.js"> </script>

    <!-- 词云脚本 -->
    <script>
        //knob
        $(function() {
            $(".knob").knob({
                'draw': function() {
                    $(this.i).val(this.cv + '%')
                }
            })
        });

        //carousel
        $(document).ready(function() {

            $("#owl-slider").owlCarousel({
                navigation: true,
                slideSpeed: 300,
                paginationSpeed: 400,
                singleItem: true

            });
        });

        //custom select box

        $(function() {
            $('select.styled').customSelect();
        });

        /* ---------- Map ---------- */
        $(function() {
            $('#map').vectorMap({
                map: 'world_mill_en',
                series: {
                    regions: [{
                        values: gdpData,
                        scale: ['#000', '#000'],
                        normalizeFunction: 'polynomial'
                    }]
                },
                backgroundColor: '#eef3f7',
                onLabelShow: function(e, el, code) {
                    el.html(el.html() + ' (GDP - ' + gdpData[code] + ')');
                }
            });
        });

        tagcloud({ //开启词云
            //参数名: 默认值
            selector: ".tagcloud", //元素选择器
            fontsize: 15, //基本字体大小
            radius: 55, //滚动半径
            mspeed: "slow", //滚动最大速度
            ispeed: "slow", //滚动初速度
            direction: 135, //初始滚动方向
            keep: true //鼠标移出组件后是否继续随鼠标滚动
        });
    </script>

    <!-- 分类树脚本 -->
    <script>
        $(function() {
            $('.tree li:has(ul)').addClass('parent_li').find(' > span').attr('title', 'Collapse this branch');
            $('.tree li.parent_li > span').on('click', function(e) {
                var children = $(this).parent('li.parent_li').find(' > ul > li');
                if (children.is(":visible")) {
                    children.hide('fast');
                    $(this).attr('title', 'Expand this branch').find(' > i').addClass('fa-plus-square').removeClass('fa-minus-square');
                } else {
                    children.show('fast');
                    $(this).attr('title', 'Collapse this branch').find(' > i').addClass('fa-minus-square').removeClass('fa-plus-square');
                }
                e.stopPropagation();
            });
        });
    </script>

    <!--百度统计js start-->
    <script>
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?4b9ba24d3558dc47262908cf3de1b385";
      var s = document.getElementsByTagName("script")[0]; 
      s.parentNode.insertBefore(hm, s);
    })();
    </script>
    <!--百度统计js end-->



</body>

</html>
