<!DOCTYPE html>
<html lang=zh-cn>
<head>
    <meta charset=utf-8>
    <title>建筑造价后台</title>
    <meta name=description content="纵横变更令审批系统">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name=copyright content="smartcost.com.cn">
    <link rel="stylesheet" href="/lib/font-awesome/font-awesome.min.css">
    <link rel="stylesheet" href="/web/users/css/bootstrap.min.css">
    <link rel="stylesheet" href="/web/users/css/style.css">
    <link rel="stylesheet" href="/web/users/css/custom.css">
    <link rel="stylesheet" href="/lib/spreadjs/sheets/css/gc.spread.sheets.sc.css" type="text/css">
    <script src="/lib/jquery/jquery.min.js"></script>
    <script src="/web/users/js/lib/bootstrap.min.js"></script>
    <script src="/web/users/js/global.js"></script>
    <script src="/web/users/js/lib/jquery.validate.js"></script>
    <script src="/web/users/js/lib/validate.extend.js"></script>
    <script src="/web/users/js/lib/messages_zh.js"></script>
    <script src="/web/users/js/lib/bootstrap-paginator.js"></script>
    <script src="/lib/lodash/lodash.js"></script>
    <script type="text/javascript" src="/public/web/common_ajax.js"></script>
    <script type="text/javascript" src="/public/web/PerfectLoad.js"></script>
    <script type="text/javascript" src="/node_modules/moment/min/moment.min.js"></script>
    <!-- spreadJs -->
    <script src = "/lib/spreadjs/sheets/gc.spread.sheets.all.11.1.2.min.js"></script>
    <script>GC.Spread.Sheets.LicenseKey =  '<%- LicenseKey %>';</script>
</head>
<body>
<div class="header">
    <h1 class="logo"><a>建筑造价后台</a></h1>
    <div class="header-box">
        <div class="header-nav"></div>
        <div class="header-user pull-right">
            <div class="avatar btn-group">
                <a class="dropdown-toggle" data-toggle="dropdown">
                    <span class="pic"><img src="/img/avatar.png"></span>
                    <span><%= manager.username %></span>
                    <span class="caret"></span>
                </a>
                <ul class="dropdown-menu dropdown-menu-right">
                    <li><a href="#">账号设置（CLD）</a></li>
                    <li><a href="/login/logout">退出登录</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>
<div class="main">
    <div class="main-nav">
        <div class="nav-top">
            <ul class="nav nav-pills nav-stacked bg-nav">
                <% for(let tmp in menu) {%>
                <li <% if (controller === menu[tmp].name) {%>class="active"<% } %>>
                    <a href="<%= menu[tmp].url %>">
                        <i class="<%= menu[tmp].iconClass %>" aria-hidden="true"></i> <%= menu[tmp].title %>
                    </a>
                </li>
                <% } %>
            </ul>
        </div>
    </div>
    <div class="main-panel">
        <%- body %>
    </div>
</div>
</body>
