<!DOCTYPE html>
<html lang="en">
<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="">
    <link rel="shortcut icon" href="__CDN__/admin/images/favicon.ico" type="image/png">
    <title>{:block name=title}{:C('SITE_TITLE')}{:/block}</title>
    {:block name=header_css}
        <link href="__CDN__/admin/css/style.default.css" rel="stylesheet">
        <link href="__CDN__/admin/css/jquery.gritter.css" rel="stylesheet">
    {:/block}
    {:block name=header_js}
        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
        <script src="__CDN__/admin/js/html5shiv.js"></script>
        <script src="__CDN__/admin/js/respond.min.js"></script>
        <![endif]-->
    {:/block}
</head>

<body id="{:block name="page_id"}{:/block}">

<!-- Preloader -->
<div id="preloader">
    <div id="status"><i class="fa fa-spinner fa-spin"></i></div>
</div>
<section>
<div class="leftpanel">
    <div class="logopanel">
        <h1><span>[</span>智达轻应用<span>]</span></h1>
    </div><!-- logopanel -->

    <div class="leftpanelinner">
        <!-- This is only visible to small devices -->
        <div class="visible-xs hidden-sm hidden-md hidden-lg">
            <div class="media userlogged">
                <div class="media-body">
                    <h4>{:$smarty.session.sso_auth_user.name}</h4>
                </div>
            </div>

            <h5 class="sidebartitle actitle">帐号</h5>
            <!--
            <ul class="nav nav-pills nav-stacked nav-bracket mb30">
                {:*<li><a href="{:U("User/Login/change_pass")}"><i class="fa fa-gear"></i> 修改密码</a></li>*}
                {:*<li><a href="{:U("User/Login/logout")}"><i class="glyphicon glyphicon-log-out"></i> 退出</a></li>*}
            </ul>
            -->
        </div>

        <h5 class="sidebartitle">&nbsp;</h5>
        <ul class="nav nav-pills nav-stacked nav-bracket">
            {:foreach from=$menu item=menu_node}
                <li {:if $menu_node.active}class="active"{:/if}>
                    <a href="{:$menu_node.href}">
                        <i class="fa {:$menu_node.css_class}"></i> <span>{:$menu_node.title|escape}</span>
                    </a>
                    {:if $menu_node.children}
                        <ul class="children">
                            {:foreach from=$menu_node.children item=child_node}
                            <li  {:if $child_node.active}class="active"{:/if}>
                                <a href="{:$child_node.href}">
                                    <i class="fa {:$child_node.css_class}"></i> <span>{:$child_node.title|escape}</span>
                                </a>
                            </li>
                            {:/foreach}
                        </ul>
                    {:/if}
                </li>
            {:/foreach}
        </ul>
    </div><!-- leftpanelinner -->
</div><!-- leftpanel -->

<div class="mainpanel">

<div class="headerbar">

    <a class="menutoggle"><i class="fa fa-bars"></i></a>
    <div class="header-right">
        <ul class="headermenu">
            <li class="mr30">
                <div class="btn-group">
                    <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                        {:$smarty.session.sso_auth_user.name}
                        {:*<span class="caret"></span>*}
                    </button>
                    <!--
                    <ul class="dropdown-menu dropdown-menu-usermenu pull-right">
                        {:*<li><a href="{:url controller="Base@user://WechatAccount/change_pass"}"><i class="fa fa-gear"></i> 修改密码</a></li>*}
                        {:*<li><a href="{:url controller="User/Index/logout"}"><i class="glyphicon glyphicon-log-out"></i> 退出</a></li>*}
                    </ul>
                    -->
                </div>
            </li>
        </ul>
    </div><!-- header-right -->

</div><!-- headerbar -->

<div class="pageheader" style="display: none;">
    <h2>
        {:block name=content_title}<i class="fa fa-home"></i>控制面板{:/block}
    </h2>
    <div class="breadcrumb-wrapper">
        <span class="label">当前页面：</span>
        <ol class="breadcrumb">
            {:block name=content_breadcrumb}{:/block}
        </ol>
    </div>
</div>

<div class="contentpanel" id="js-content-body">
{:block name="content_body"}{:/block}
</div><!-- contentpanel -->
</div><!-- mainpanel -->
</section>

{:block name="body_js"}

<script src="__CDN__/admin/js/jquery-1.10.2.min.js"></script>
<script src="__CDN__/admin/js/jquery-migrate-1.2.1.min.js"></script>
<script src="__CDN__/admin/js/jquery-ui-1.10.3.min.js"></script>
<script src="__CDN__/admin/js/bootstrap.min.js"></script>
<script src="__CDN__/admin/js/modernizr.min.js"></script>
<script src="__CDN__/admin/js/jquery.datatables.min.js"></script>
<script src="__CDN__/admin/js/jquery.cookies.js"></script>
<script src="__CDN__/admin/js/toggles.min.js"></script>
<script src="__CDN__/admin/js/custom.js"></script>
<script src="__CDN__/admin/js/bootbox.js"></script>
<script src="__CDN__/admin/js/jquery.gritter.min.js"></script>
{:/block}
</body>
</html>
