layout.hbs 3.04 KB
<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>{{title}}</title>

    <link href="/css/style.default.css" rel="stylesheet">
    <link rel="stylesheet" href="/css/codemirror/codemirror.css" />
    <link rel="stylesheet" href="/css/codemirror/theme/ambiance.css">
    <link href="/css/morris.css" rel="stylesheet">
    <link href="/css/select2.css" rel="stylesheet" />
    <link href="/css/jquery.gritter.css" rel="stylesheet" />
    <link href="/css/style.datatables.css" rel="stylesheet">
    <link href="/css/dataTables.responsive.css" rel="stylesheet">
    <link href="/css/custom.css" rel="stylesheet">
    <link href="/css/uploadfile.css" rel="stylesheet">
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
        <script src="js/html5shiv.js"></script>
        <script src="js/respond.min.js"></script>
        <![endif]-->
    <script src="/js/jquery-1.11.1.min.js"></script>
</head>

<body>

    {{>common/header}}

    <section>
        <div class="mainwrapper">
            {{>common/menu}}
            <!-- leftpanel -->
            
            <div id="pjax-container" class="mainpanel">
                {{{body}}}
            </div>
            <!-- mainpanel -->
        </div>
        <!-- mainwrapper -->
    </section>


    <script src="/js/jquery.pjax.js"></script>
    <script src="/js/jquery-migrate-1.2.1.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <script src="/js/modernizr.min.js"></script>
    <script src="/js/pace.min.js"></script>
    <script src="/js/retina.min.js"></script>
    <script src="/js/jquery.cookies.js"></script>
    <script src="/js/jquery.form.min.js"></script>
    <script src="/js/jquery.uploadfile.min.js"></script>
    <script src="/js/flot/jquery.flot.min.js"></script>
    <script src="/js/flot/jquery.flot.resize.min.js"></script>
    <script src="/js/flot/jquery.flot.spline.min.js"></script>
    <script src="/js/jquery.sparkline.min.js"></script>
    <script src="/js/morris.min.js"></script>
    <script src="/js/raphael-2.1.0.min.js"></script>
    <script src="/js/bootstrap-wizard.min.js"></script>
    <script src="/js/jquery.dataTables.min.js"></script>
    <script src="/js/dataTables.bootstrap.js"></script>
    <script src="/js/dataTables.responsive.js"></script>
    <script src="/js/select2.min.js"></script>
    <script src="/js/jquery.gritter.min.js"></script>
    <script src="/assets/layer/layer.js"></script>
    <script src="/assets/layer/layer.util.js"></script>
    <script src="/js/socket.io-1.4.5.js"></script>
    <script src="/js/codemirror/codemirror.js"></script>
    <script src="/js/custom.js"></script>
    <script src="/js/bootstrap-modal.js"></script>

    <script>
        $(function(){
            // $('.nav-menu').pjax('a', '#pjax-container', {push: false});
            $.pjax.disable();
        });
    </script>
</body>

</html>