<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="user-scalable=no">
    <script language="javascript" type="text/javascript" src="/view/js/jquery-3.6.0.min.js"></script>
    <link rel="stylesheet" href="/view/css/dashboard_style.css">
    <link rel="stylesheet" href="/view/css/fontawesome-free-6.1.1-web/css/all.css">
    <title>控制台</title>
</head>
<body onload="onLoad();">
    <div class="navbar">
        <header>控制台</header>
        <ul>
            {{range $value := .Menus }}
            <li><a href="{{$value.Link}}" class="menuItem" id="{{$value.Index}}"><i class="{{$value.Icon}}"></i>{{$value.Name}}</a></li>
            {{end}}
        </ul>
        <ul class="logout">
            <li><a href="{{.Logout.Link}}"><i class="{{.Logout.Icon}}"></i>{{.Logout.Name}}</a></li>
        </ul>
    </div>
    <!-- 右侧内容 -->
    <div class="content">
        <iframe id="content" frameborder="0" scrolling="yes" style="width:100%;height:100%" src="{{.Src}}" id="aa"></iframe>
    </div>
    <script language="javascript" type="text/javascript" src="/view/js/jquery-3.6.0.min.js"></script>
    <script language="javascript" type="text/javascript" src="/view/js/manage.js"></script>
</body>
</html>